kiranchavala commented on issue #32:
URL: 
https://github.com/apache/cloudstack-terraform-provider/issues/32#issuecomment-1988100148

   Hi @kohrar 
   
   Could you please let me know the reason you want the network id in the  
terraform state file.
   
   If you want to use the obtained network id in some pipeline, you can achieve 
it via 
   
   1. terraform output
   
   https://developer.hashicorp.com/terraform/language/values/outputs
   
   
   ```
   output "networkid" {
   value = cloudstack_ipaddress.galaxy_public_ip.network_id
   }
   ```
   
   2. Datasource
   
   https://developer.hashicorp.com/terraform/language/data-sources
   
   
https://github.com/apache/cloudstack-terraform-provider/blob/main/cloudstack/data_source_cloudstack_ipaddress.go
   
   


-- 
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: dev-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to