Tags not read when importing with defaultTags #1564
Labels
kind/bug
Some behavior is incorrect or out of spec
needs-triage
Needs attention from the triage team
What happened?
I set aws.Provider's defaultTags and then tried some imports. Some work, but some are failing as it claims that tags don't match in spite of tags being present.
For AWS Backup Plans, calling
aws backup get-backup-plan
does not return tags (doc). To get tags,aws backup list-tags
needs to be called (doc). Even though I've set the tags on a backup plan, it won't import because it claims the tags are missing. Using the above commands, I can get the tags so they are set. Could the underlying code be failing to perform the extra step to get tags when importing?I'm experiencing the same problem with Backup Vaults and Roles. For Vaults,
aws backup describe-backup-vault
(doc) doesn't return tags but againaws backup list-tags
does. For Roles,aws iam get-role
does return tags.Example
To keep this simple, I'll just provide the vault
Output of
pulumi about
Additional context
When removing defaultTags, I had to remove the tags to allow the import to proceed.
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: