fixup tests

This commit is contained in:
Jake Champlin 2017-04-07 11:00:26 -04:00
parent 5c742572e4
commit 4b281ba051
No known key found for this signature in database
GPG Key ID: DC31F41958EF4AC2
3 changed files with 7 additions and 6 deletions

View File

@ -29,6 +29,7 @@ func TestAccOPCInstance_importBasic(t *testing.T) {
ImportState: true, ImportState: true,
ImportStateVerify: true, ImportStateVerify: true,
ImportStateIdPrefix: instanceName + "/", ImportStateIdPrefix: instanceName + "/",
ImportStateVerifyIgnore: []string{"instance_attributes"},
}, },
}, },
}) })

View File

@ -82,7 +82,7 @@ resource "opc_compute_ip_reservation" "test" {
} }
resource "opc_compute_ip_association" "test" { resource "opc_compute_ip_association" "test" {
vcable = "${opc_compute_instance.test.vcable_id}" vcable = "${opc_compute_instance.test.vcable}"
parent_pool = "ipreservation:${opc_compute_ip_reservation.test.name}" parent_pool = "ipreservation:${opc_compute_ip_reservation.test.name}"
} }
` `

View File

@ -122,7 +122,7 @@ resource "opc_compute_instance" "test" {
resource "opc_compute_security_association" "test" { resource "opc_compute_security_association" "test" {
name = "acc-test-sec-ass-%d" name = "acc-test-sec-ass-%d"
vcable = "${opc_compute_instance.test.vcable_id}" vcable = "${opc_compute_instance.test.vcable}"
seclist = "${opc_compute_security_list.test.name}" seclist = "${opc_compute_security_list.test.name}"
} }
` `