You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a lot of data sources in my configuration. Most of them aws_iam_policy_document. In terraform 1.2.6, when I do a plan or apply I get a ton of messages saying things like:
some_data_source: Reading...
some_data_source: Read complete after 0s [id=1234]
These messages are spammy, not very useful, and fill up my terminal. I'd like a way to suppress them.
Attempted Solutions
I've looked at the help for terraform plan and none of the options seem to have a way to do this.
Proposal
Add either a CLI option, or a configuration value (or both) to suppress these messages on plan and apply
The text was updated successfully, but these errors were encountered:
I think this is more-or-less the same underlying concern as we were discussing over in #27214, so I'm going to close this to consolidate the discussion over there.
As always, adding a new option will be a last resort for us in this case, because we prefer to find a better compromise for the single available behavior rather than complicating both the UI and the implementation with various different options that may interact in complicated ways. Right now my favored solution to that other issue is to have Terraform delay showing any mention of a read action unless it takes more than some arbitrary-but-considered deadline, which would in particular mean that local-compute-only data sources like aws_iam_policy_document should never breach the deadline and should therefore never be mentioned at all, without the need for any special options. However, that issue remains open because there are various different design proposals and tradeoffs in the discussion to consider before settling on how to move forward.
Sorry, I couldn't find that issue in my search for an existing issue, since it was about slightly different output. But that approach sounds fine to me.
crw
added
duplicate
issue closed because another issue already tracks this problem
and removed
new
new issue not yet triaged
labels
Aug 11, 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 have 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.
Current Terraform Version
Use-cases
I have a lot of data sources in my configuration. Most of them
aws_iam_policy_document
. In terraform 1.2.6, when I do a plan or apply I get a ton of messages saying things like:These messages are spammy, not very useful, and fill up my terminal. I'd like a way to suppress them.
Attempted Solutions
I've looked at the help for terraform plan and none of the options seem to have a way to do this.
Proposal
Add either a CLI option, or a configuration value (or both) to suppress these messages on plan and apply
The text was updated successfully, but these errors were encountered: