-
Notifications
You must be signed in to change notification settings - Fork 156
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
Fixes empty tag handling #2944
Fixes empty tag handling #2944
Conversation
6d4a839
to
1b96168
Compare
Does the PR have any schema changes?Does the PR have any schema changes?Looking good! No breaking changes found. Maintainer note: consult the runbook for dealing with any breaking changes. |
The test failures indicate that PF support is still required specially; and that this regressed on handling unknown and secrets in tags. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me. I have 2 quick questions then lets merge.
95c4614
to
f789c48
Compare
I'm deferring the automation suggestion in #2962 - it's very valuable and borderline critical but this fix has been late in coming and I do not want to block on that work. |
@iwahbe PTAL. This is passing again. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I think we will need to prioritize #2962, since this patch seems relatively conflict prone. That said, the fix itself looks good.
Yeah! |
Fixes #3064 There is an issue with users being unable to add tags to AWS Firehose delivery stream and select other resources. As part of the #2944 mitigation the provider needs to make sure that tags_all attributes, if present, are not Computed because pulumi-aws will set them before passing down to TF code. TestTagsAllNoLongerComputed was supposed to check this. Unfortunately the transformation missed that some resources define SchemaFunc instead of Schema, and so did the test. The test is made stricter here, and the underlying transformation is fixed.
Fixes #2895
Requires a bridge change, currently still pre-release: pulumi/pulumi-terraform-bridge@v3.63.2...1e955db
Due to confusing empty values with missing values at several layers of the stack, working with empty tag values was problematic before this change both in the Pulumi provider and in the upstream provider; this is now fixed by:
This is change is now passing an aggressive random-sampled state transition matrix for various combinations of provider-level and resource-level tags.