Skip to content
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

Add parameter to hide outputs on plan/apply; e.g. --suppressOutputs #36628

Open
JohnLBevan opened this issue Mar 4, 2025 · 1 comment
Open
Labels
enhancement new new issue not yet triaged

Comments

@JohnLBevan
Copy link

JohnLBevan commented Mar 4, 2025

Terraform Version

Terraform v1.11.0
on windows_amd64
+ provider registry.terraform.io/hashicorp/azuread v3.1.0
+ provider registry.terraform.io/hashicorp/azurerm v4.21.1

Use Cases

When running terraform plan / terraform apply a list of changes is displayed followed by a useful summary line showing how many resources are impacted, then by Changes to Outputs: which can be quite verbose for some modules. This makes the plan harder to read, and a lot of the time you don't care about those details. Having a flag to optionally supress this would thus improve the user experience.

Others have asked for similar; e.g. https://stackoverflow.com/questions/76631023/do-not-print-outputs-on-terraform-apply

Attempted Solutions

Not attempted

Proposal

Provide a parameter (e.g. suppressOutputs) which can be set when running plan/apply (e.g. terraform plan --suppressOutputs) to prevent the Changes to Outputs section from being displayed.

References

@JohnLBevan JohnLBevan added enhancement new new issue not yet triaged labels Mar 4, 2025
@crw
Copy link
Contributor

crw commented Mar 4, 2025

Thanks for this feature request! If you are viewing this issue and would like to indicate your interest, please use the 👍 reaction on the issue description to upvote this issue. We also welcome additional use case descriptions. Thanks again!

Similar to #29061, #27214.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement new new issue not yet triaged
Projects
None yet
Development

No branches or pull requests

2 participants