Damans227 commented on issue #32:
URL:
https://github.com/apache/cloudstack-terraform-provider/issues/32#issuecomment-1100736991
I think I can reproduce the issue. Following is the `terraform
configuration` and the `terraform.tfstate` respectively, for a public ip
address being created:
```
resource "cloudstack_ipaddress" "public_ip" {
vpc_id = "ce9042a1-c818-4a93-803e-f86b5d38048e"
network_id = "b9c953a0-8686-4240-b8a4-43849f7079ff"
}
```
```
{
"version": 4,
"terraform_version": "1.1.7",
"serial": 1,
"lineage": "03e88dc2-ac88-c672-421f-26098d9ba754",
"outputs": {},
"resources": [
{
"mode": "managed",
"type": "cloudstack_ipaddress",
"name": "public_ip",
"provider":
"provider[\"registry.terraform.io/cloudstack/cloudstack\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"id": "f245d0d3-46e3-4549-9ad9-dc1b0379c181",
"ip_address": "172.20.1.66",
"is_portable": false,
"is_source_nat": false,
"network_id": "", <-------------------------- network id is
empty
"project": "",
"tags": {},
"vpc_id": "ce9042a1-c818-4a93-803e-f86b5d38048e",
"zone": null
},
"sensitive_attributes": [],
"private": "bnVsbA=="
}
]
}
]
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]