Skip to content

Commit

Permalink
r/relay_hybrid_connection: fixing the import test
Browse files Browse the repository at this point in the history
  • Loading branch information
tombuildsstuff committed Feb 13, 2020
1 parent 07f52be commit 602ff13
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -181,12 +181,12 @@ func testAccAzureRMRelayHybridConnection_requiresImport(data acceptance.TestData
return fmt.Sprintf(`
%s
resource "azurerm_relay_namespace" "import" {
name = "acctestrnhc-%d"
resource_group_name = "${azurerm_resource_group.test.name}"
relay_namespace_name = "${azurerm_relay_namespace.test.name}"
resource "azurerm_relay_hybrid_connection" "import" {
name = azurerm_relay_hybrid_connection.test.name
resource_group_name = azurerm_relay_hybrid_connection.test.resource_group_name
relay_namespace_name = azurerm_relay_hybrid_connection.test.relay_namespace_name
}
`, template, data.RandomInteger)
`, template)
}

func testCheckAzureRMRelayHybridConnectionExists(resourceName string) resource.TestCheckFunc {
Expand Down

0 comments on commit 602ff13

Please sign in to comment.