diff --git a/apstra/data_source_datacenter_configlet_test.go b/apstra/data_source_datacenter_configlet_test.go index 12b88516..d52ff72f 100644 --- a/apstra/data_source_datacenter_configlet_test.go +++ b/apstra/data_source_datacenter_configlet_test.go @@ -11,18 +11,18 @@ import ( const ( dataSourceDatacenterConfigletTemplateByNameHCL = ` - data "apstra_datacenter_configlet" "test" { - blueprint_id = "%s" - name = "%s" - } - ` +data "apstra_datacenter_configlet" "test" { + blueprint_id = "%s" + name = "%s" +} +` dataSourceDatacenterConfigletTemplateByIdHCL = ` - data "apstra_datacenter_configlet" "test" { - blueprint_id = "%s" - id = "%s" - } - ` +data "apstra_datacenter_configlet" "test" { + blueprint_id = "%s" + id = "%s" +} +` ) func TestAccDataSourceDatacenterConfiglet(t *testing.T) { diff --git a/apstra/resource_datacenter_configlet_test.go b/apstra/resource_datacenter_configlet_test.go index 91d34146..cda358ed 100644 --- a/apstra/resource_datacenter_configlet_test.go +++ b/apstra/resource_datacenter_configlet_test.go @@ -11,26 +11,26 @@ import ( const ( resourceDatacenterConfigletTemplateByIdHCL = ` - resource "apstra_datacenter_configlet" "test" { - blueprint_id = "%s" - catalog_configlet_id = "%s" - condition = %q - } - ` +resource "apstra_datacenter_configlet" "test" { + blueprint_id = "%s" + catalog_configlet_id = "%s" + condition = %q +} +` resourceDatacenterConfigletTemplateByDataHCL = ` - data "apstra_configlet" "cat_cfg" { - name = "CatalogConfigletA" - } +data "apstra_configlet" "cat_cfg" { + name = "CatalogConfigletA" +} - resource "apstra_datacenter_configlet" "test" { - blueprint_id = "%s" - condition = %q - name = data.apstra_configlet.cat_cfg.name - generators = data.apstra_configlet.cat_cfg.generators - } - ` +resource "apstra_datacenter_configlet" "test" { + blueprint_id = "%s" + condition = %q + name = data.apstra_configlet.cat_cfg.name + generators = data.apstra_configlet.cat_cfg.generators +} +` - condition = "role in [\"spine\"]" + condition = `role in ["spine"]` ) func TestAccResourceDatacenterConfiglet(t *testing.T) {