ianc769 opened a new pull request, #195: URL: https://github.com/apache/cloudstack-terraform-provider/pull/195
Adding `cloudstack_domain` as a data source: ```terraform data "cloudstack_domain" "foo" { filter { value = "name" name = "ROOT" } } output "domain_id" { value = data.cloudstack_domain.foo.id } output "domain_name" { value = data.cloudstack_domain.foo.name } output "network_domain" { value = data.cloudstack_domain.foo.network_domain } output "parent_domain_id" { value = data.cloudstack_domain.foo.parent_domain_id } ``` ``` data.cloudstack_domain.foo: Reading... data.cloudstack_domain.foo: Read complete after 0s [id=65c9befb-1a1c-11f0-85c0-460f7764ea25] Changes to Outputs: + domain_id = "65c9befb-1a1c-11f0-85c0-460f7764ea25" + domain_name = "ROOT" + network_domain = "" + parent_domain_id = "" You can apply this plan to save these new output values to the Terraform state, without changing any real infrastructure. ``` <img width="398" height="244" alt="{7DB24F15-D08F-4039-91E1-08A4CE85F3A1}" src="https://github.com/user-attachments/assets/58bba9fd-e75f-4d78-a1b5-7c4b0f45f944" /> -- 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