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 064e320 commit 05946ac
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 05946ac

Please sign in to comment.