-
Notifications
You must be signed in to change notification settings - Fork 457
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
Output command #227
Comments
Seconding in on this. |
I solved this by putting this in my
That way I can at least just run I can then read this json file from other scripts that helps complete provisioning beyond what I'm able to do with the terraform provider.
|
Ah, that's a nice workaround @matschaffer 💡 That reminds me of a similar thing I did for the dotenv config for a React frontend, however that does not make use of outputs but uses Terraform to write that file. |
You're thinking about an Aspect here? |
How about approaching this the same way that CDK does using |
Having that consistency sounds like a good idea to me. Could still add the |
Previously when there was no change we did not show the outputs Closes #227
Previously when there was no change we did not show the outputs Closes #227
Previously when there was no change we did not show the outputs Closes #227
Previously when there was no change we did not show the outputs Closes #227
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've found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Community Note
Description
When a stack has no changes, the
apply
is omitted and therefore no outputs are printed.Two things here:
cdktf deploy
should always print outputs regardless of changes being presentcdktf output
to explicitly retrieve outputs onlyThe text was updated successfully, but these errors were encountered: