diff --git a/cloudstack/resource_cloudstack_ipaddress.go b/cloudstack/resource_cloudstack_ipaddress.go index 5a1ad08f..10a7c73a 100644 --- a/cloudstack/resource_cloudstack_ipaddress.go +++ b/cloudstack/resource_cloudstack_ipaddress.go @@ -45,7 +45,6 @@ func resourceCloudStackIPAddress() *schema.Resource { "network_id": { Type: schema.TypeString, Optional: true, - Computed: true, ForceNew: true, }, diff --git a/cloudstack/resource_cloudstack_ipaddress_test.go b/cloudstack/resource_cloudstack_ipaddress_test.go index 1f4b3fa5..98a32f6b 100644 --- a/cloudstack/resource_cloudstack_ipaddress_test.go +++ b/cloudstack/resource_cloudstack_ipaddress_test.go @@ -172,12 +172,12 @@ resource "cloudstack_vpc" "foo" { } resource "cloudstack_network" "foo" { - name = "terraform-network" - cidr = "10.1.1.0/24" - network_offering = "DefaultIsolatedNetworkOfferingWithSourceNatService" - source_nat_ip = true - zone = "Sandbox-simulator" - } + name = "terraform-network" + cidr = "10.1.1.0/24" + network_offering = "DefaultIsolatedNetworkOfferingWithSourceNatService" + source_nat_ip = true + zone = "Sandbox-simulator" +} resource "cloudstack_ipaddress" "foo" { vpc_id = "${cloudstack_vpc.foo.id}"