question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave “+1” or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

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 present
  • introduce cdktf output to explicitly retrieve outputs only

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:4
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
skorfmanncommented, Jun 30, 2021

I have the feeling there might be a way to collect all outputs of a stack and write such an outputs.json file via Terraform 😄

You’re thinking about an Aspect here?

0reactions
github-actions[bot]commented, Nov 29, 2022

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

OUTPUT command - IBM
OUTPUT is a foreground-initiated-background (FIB) command. This command is generally used in conjunction with SUBMIT, STATUS, and CANCEL commands. The OUTPUT ...
Read more >
Learn the Command Line: Redirecting Input and Output ...
The >> shell command is used to redirect the standard output of the command on the left and append (add) it to the...
Read more >
How to redirect shell command output | Enable Sysadmin
Learn how to process the output of shell commands within a script and send it to files, devices, or other commands or scripts....
Read more >
BASH command output to the variable - Linux Hint
Single command output to a variable. Bash commands can be used without any option and argument for those commands where these parts are...
Read more >
Output text from a command to the screen and save it to a file ...
You can use the tee command to output text from a command both to the screen and to a file. The tee command...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found