-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to output attributes of instances from terraform.tfstate? #3754
Comments
|
Perfect! That worked. Thanks! Is there a way to see which attributes can be 'outputed' and which can't? |
Nvm. Found it in provider documentation- https://www.terraform.io/docs/providers/google/r/google_service_account.html |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks! |
I'm executing a GCP module to create a service-account.
Once the account is created, a
terraform.tfstate
file is created containing all details of the account.As you can see above, in the module, I'm outputing the
account_id
input variable. Is there a way to output theattributes
viz.id
,name
etc. so that they can be accessed by another module? Theattributes
are computed after the resource is created.The text was updated successfully, but these errors were encountered: