Default tags always generate a diff #1486
Labels
impact/reliability
Something that feels unreliable or flaky
kind/bug
Some behavior is incorrect or out of spec
resolution/fixed
This issue was fixed
What happened?
I added a couple default tags as enabled by #1369.
Unfortunately, these default tags generate a diff on every preview/apply as it apparently expects the tags to be ordered.
Example
https://github.com/fitz-vivodyne/pulumi-native-tagging-issue.
Every time you run
pulumi preview
you get a diff due to tag orderingOutput of
pulumi about
CLI
Version 3.108.1
Go Version go1.22.0
Go Compiler gc
Plugins
NAME VERSION
aws-native unknown
yaml unknown
Host
OS darwin
Version 14.3
Arch arm64
This project is written in yaml
Current Stack: organization/pulumi-native-aws-tagging-issue/dev
TYPE URN
pulumi:pulumi:Stack urn:pulumi:dev::pulumi-native-aws-tagging-issue::pulumi:pulumi:Stack::pulumi-native-aws-tagging-issue-dev
pulumi:providers:aws-native urn:pulumi:dev::pulumi-native-aws-tagging-issue::pulumi:providers:aws-native::default
aws-native:s3:Bucket urn:pulumi:dev::pulumi-native-aws-tagging-issue::aws-native:s3:Bucket::bucket
Found no pending operations associated with dev
Backend
Name ip-192-168-50-8.ec2.internal
URL s3://fitz-tissue-viewer-testing?region=us-east-2
User fitz
Organizations
Token type personal
No dependencies found
Pulumi locates its logs in /var/folders/cq/yr41qnrs4rg9363y3yp4f1f40000gn/T/ by default
Additional context
If you disable default tags and tag an item manually it works fine, only fails if default tags are set at the provider level.
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered: