mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-05-11 18:00:59 -04:00
Make the CloudStack provider more inline with the other provider
It turns out all other providers use `ip_address` where the CloudStack provider uses `ipaddress`. To make this more consistent this PR deprecates `ipaddress` and adds `ip_address` where needed…
This commit is contained in:
@@ -82,7 +82,7 @@ func TestAccCloudStackInstance_fixedIP(t *testing.T) {
|
||||
testAccCheckCloudStackInstanceExists(
|
||||
"cloudstack_instance.foobar", &instance),
|
||||
resource.TestCheckResourceAttr(
|
||||
"cloudstack_instance.foobar", "ipaddress", CLOUDSTACK_NETWORK_1_IPADDRESS1),
|
||||
"cloudstack_instance.foobar", "ip_address", CLOUDSTACK_NETWORK_1_IPADDRESS1),
|
||||
),
|
||||
},
|
||||
},
|
||||
@@ -267,7 +267,7 @@ resource "cloudstack_instance" "foobar" {
|
||||
display_name = "terraform-test"
|
||||
service_offering= "%s"
|
||||
network = "%s"
|
||||
ipaddress = "%s"
|
||||
ip_address = "%s"
|
||||
template = "%s"
|
||||
zone = "%s"
|
||||
expunge = true
|
||||
@@ -288,7 +288,7 @@ resource "cloudstack_instance" "foobar" {
|
||||
display_name = "terraform-test"
|
||||
service_offering= "%s"
|
||||
network = "%s"
|
||||
ipaddress = "%s"
|
||||
ip_address = "%s"
|
||||
template = "%s"
|
||||
zone = "%s"
|
||||
keypair = "${cloudstack_ssh_keypair.foo.name}"
|
||||
|
||||
Reference in New Issue
Block a user