mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-10-04 17:51:11 +00:00
fix dns import tests (#1470)
This commit is contained in:
parent
93689454f6
commit
63277caf39
@ -27,7 +27,7 @@ func TestAccDnsRecordSet_basic(t *testing.T) {
|
|||||||
},
|
},
|
||||||
resource.TestStep{
|
resource.TestStep{
|
||||||
ResourceName: "google_dns_record_set.foobar",
|
ResourceName: "google_dns_record_set.foobar",
|
||||||
ImportStateId: fmt.Sprintf("%s/test-record.hashicorptest.com./A", zoneName),
|
ImportStateId: fmt.Sprintf("%s/test-record.%s.hashicorptest.com./A", zoneName, zoneName),
|
||||||
ImportState: true,
|
ImportState: true,
|
||||||
ImportStateVerify: true,
|
ImportStateVerify: true,
|
||||||
},
|
},
|
||||||
@ -114,7 +114,7 @@ func TestAccDnsRecordSet_ns(t *testing.T) {
|
|||||||
},
|
},
|
||||||
resource.TestStep{
|
resource.TestStep{
|
||||||
ResourceName: "google_dns_record_set.foobar",
|
ResourceName: "google_dns_record_set.foobar",
|
||||||
ImportStateId: fmt.Sprintf("%s/hashicorptest.com./NS", zoneName),
|
ImportStateId: fmt.Sprintf("%s/%s.hashicorptest.com./NS", zoneName, zoneName),
|
||||||
ImportState: true,
|
ImportState: true,
|
||||||
ImportStateVerify: true,
|
ImportStateVerify: true,
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user