Add output of the gcloud command in the terraform state
rjouhann opened this issue · 5 comments
TL;DR
Hello,
I was trying to use this module in order to use the output of the gcloud but this isn't possible.
I can see it showing in the execution logs but it is not saved in the state and cannot be retrieved it through terraform.
Using the example with gcloud version
, it would be great to access the gcloud output in terraform and capture the output in the state.
module.gcloud.null_resource.run_command[0] (local-exec): Google Cloud SDK 403.0.0
module.gcloud.null_resource.run_command[0] (local-exec): bq 2.0.77
module.gcloud.null_resource.run_command[0] (local-exec): bundled-python3-unix 3.9.12
module.gcloud.null_resource.run_command[0] (local-exec): core 2022.09.20
module.gcloud.null_resource.run_command[0] (local-exec): gcloud-crc32c 1.0.0
module.gcloud.null_resource.run_command[0] (local-exec): gsutil 5.13
module.gcloud.null_resource.run_command[0]: Creation complete after 1s [id=1223161320564946494]
Thanks & Regards,
Romain
Terraform Resources
No response
Detailed design
No response
Additional information
No response
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days
Hello, I am still interested in this enhancement.
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days
Still interested...
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days