fixup tests
This commit is contained in:
parent
5c742572e4
commit
4b281ba051
|
@ -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"},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
|
@ -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}"
|
||||||
}
|
}
|
||||||
`
|
`
|
||||||
|
|
|
@ -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}"
|
||||||
}
|
}
|
||||||
`
|
`
|
||||||
|
|
Loading…
Reference in New Issue