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

[sdk/go] Ensure stackref getters localize secret-ness to the key retrieved #9842

Merged
merged 1 commit into from Jun 14, 2022

Conversation

AaronFriel
Copy link
Member

Fixes #9564

Copy link
Member

@iwahbe iwahbe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. LGTM

sdk/go/pulumi/stack_reference.go Outdated Show resolved Hide resolved
if secret {
ret = ToSecret(ret)
}
return Any(ret), nil
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is all conflict with #9855. 😄

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yours looked good, I tested the nonexistant key behavior, merged & then included tests in this PR :)

@AaronFriel AaronFriel force-pushed the friel/9564 branch 3 times, most recently from 1068499 to 4ff9424 Compare June 14, 2022 01:49
@AaronFriel AaronFriel merged commit 5cf461e into master Jun 14, 2022
@pulumi-bot pulumi-bot deleted the friel/9564 branch June 14, 2022 06:26
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.

Pulumi output with a single secret taints all other outputs when using Go SDK
2 participants