From 9131d352f57ea7e2dfd7544d773ac1de82b837fb Mon Sep 17 00:00:00 2001 From: kt Date: Fri, 25 Oct 2019 10:34:09 -0700 Subject: [PATCH] pass 5 --- .../resource_arm_policy_set_definition_test.go | 1 + ..._private_dns_zone_virtual_network_link_test.go | 6 +++--- .../resource_arm_servicebus_subscription_test.go | 1 + azurerm/resource_arm_stream_analytics_job_test.go | 15 ++++++++------- 4 files changed, 13 insertions(+), 10 deletions(-) diff --git a/azurerm/resource_arm_policy_set_definition_test.go b/azurerm/resource_arm_policy_set_definition_test.go index 6695b5711660..9e0a31938c38 100644 --- a/azurerm/resource_arm_policy_set_definition_test.go +++ b/azurerm/resource_arm_policy_set_definition_test.go @@ -156,6 +156,7 @@ POLICY_DEFINITIONS func testAzureRMPolicySetDefinition_requiresImport(ri int) string { return fmt.Sprintf(` + %s resource "azurerm_policy_set_definition" "import" { diff --git a/azurerm/resource_arm_private_dns_zone_virtual_network_link_test.go b/azurerm/resource_arm_private_dns_zone_virtual_network_link_test.go index f828b69902aa..628cd01789cc 100644 --- a/azurerm/resource_arm_private_dns_zone_virtual_network_link_test.go +++ b/azurerm/resource_arm_private_dns_zone_virtual_network_link_test.go @@ -201,10 +201,10 @@ func testAccAzureRMPrivateDnsZoneVirtualNetworkLink_requiresImport(rInt int, loc %s resource "azurerm_private_dns_zone_virtual_network_link" "import" { - name = "${azurerm_private_dns_zone_virtual_network_link.test.name} + name = "${azurerm_private_dns_zone_virtual_network_link.test.name}" private_dns_zone_name = "${azurerm_private_dns_zone_virtual_network_link.test.private_dns_zone_name}" - virtual_network_id = "${azurerm_private_dns_zone_virtual_network_link.test.virtual_network_id}" - resource_group_name = "${azurerm_private_dns_zone_virtual_network_link.test.resource_group_name}" + virtual_network_id = "${azurerm_private_dns_zone_virtual_network_link.test.virtual_network_id}" + resource_group_name = "${azurerm_private_dns_zone_virtual_network_link.test.resource_group_name}" } `, template) } diff --git a/azurerm/resource_arm_servicebus_subscription_test.go b/azurerm/resource_arm_servicebus_subscription_test.go index bf86f4067053..a96e1d334f3a 100644 --- a/azurerm/resource_arm_servicebus_subscription_test.go +++ b/azurerm/resource_arm_servicebus_subscription_test.go @@ -287,6 +287,7 @@ func testAccAzureRMServiceBusSubscription_basic(rInt int, location string) strin func testAccAzureRMServiceBusSubscription_requiresImport(rInt int, location string) string { return fmt.Sprintf(` + %s resource "azurerm_servicebus_subscription" "import" { diff --git a/azurerm/resource_arm_stream_analytics_job_test.go b/azurerm/resource_arm_stream_analytics_job_test.go index effe169dfc7c..a18a80d4e1f3 100644 --- a/azurerm/resource_arm_stream_analytics_job_test.go +++ b/azurerm/resource_arm_stream_analytics_job_test.go @@ -183,21 +183,22 @@ resource "azurerm_resource_group" "test" { } resource "azurerm_stream_analytics_job" "test" { - name = "acctestjob-%d" - resource_group_name = "${azurerm_resource_group.test.name}" - location = "${azurerm_resource_group.test.location}" - streaming_units = 3 + name = "acctestjob-%d" + resource_group_name = "${azurerm_resource_group.test.name}" + location = "${azurerm_resource_group.test.location}" + streaming_units = 3 tags = { environment = "Test" - } - + } + transformation_query = <