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

[events] Retain Secret values. #9351

Merged
merged 4 commits into from Apr 6, 2022
Merged

Conversation

pgavlin
Copy link
Member

@pgavlin pgavlin commented Apr 5, 2022

Instead of replacing Secret values with the text [secret], retain
the Secret value and replace its element with the text [secret].
This allows downstream consumers (e.g. the CLI's diff renderer) to
understand that the contents of the value is secret if necessary.

Concretely, this fixes an issue in which differences in nested
properties of secret object values would not render correctly.

Instead of replacing `Secret` values with the text `[secret]`, retain
the `Secret` value and replace its element with the text `[secret]`.
This allows downstream consumers (e.g. the CLI's diff renderer) to
understand that the contents of the value is secret if necessary.
@pgavlin pgavlin requested review from Frassle and a team April 5, 2022 23:38
@pgavlin pgavlin merged commit 251a75b into master Apr 6, 2022
@pulumi-bot pulumi-bot deleted the pgavlin/event-filter-secret-values branch April 6, 2022 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants