AWS Prefixed Tag Key Error in Pulumi (aws-native/servicecatalogappregistry) #1712
Labels
awaiting-upstream
The issue cannot be resolved without action in another repository (may be owned by Pulumi).
impact/usability
Something that impacts users' ability to use the product easily and intuitively
kind/bug
Some behavior is incorrect or out of spec
What happened?
I believe I have encountered a bug while working with Pulumi's AWS-native provider, specifically in the
@pulumi/aws-native/servicecatalogappregistry
module.The bug
The bug manifests in the following scenario:
pulumi up
, everything works as expected. The application is created with the correct tags:If I subsequently modify a tag and apply the changes with pulumi up, I encounter the following error:
**updating failed** [diff: ~tags]; 1 error
aws: prefixed tag key names are not allowed for external use.
Example
The following code is used to create the application:
Output of
pulumi about
Additional context
Possible explanation
The AWS Application automatically gets a
aws:servicecatalog:applicationName: pulumi-test
tag on creationIt seems that when applying a tag update, Pulumi includes an AWS-managed tag key, such as aws:servicecatalog:applicationName: pulumi-test, in the request. This results in the error message:
aws: prefixed tag key names are not allowed for external use.
I am using a simple wrapper around the Application class to add custom tags to an AWS Application.
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: