Closed colifran closed 1 year ago
CloudFormation allows tagging for DynamoDB tables (CfnTable), see documentation: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html#cfn-dynamodb-table-tags
The CloudFormation resources for GlobalTables don't support tags. There's no tags attribute in the documentation: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-globaltable.html
In my opinion, this is the reason why CfnGlobalTable
doesn't implement the ITaggable
interface.
PR #27649 closes this issue.
Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.
Describe the bug
The
GlobalTable
L1 does not work withTags
because it does not implement theITaggable
interface.Expected Behavior
Using
Tags.of(...).add(...)
should add tags to the resource and these should show up in the synthesized template.Current Behavior
Tags.of(...).add(...)
does not addTags
to theCfnGlobalTable
resource -Tags
are not rendered in the synthesized template.As an example, this code:
will produce the following template:
Reproduction Steps
This can be reproduced with this code snippet also referenced above:
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.93.0
Framework Version
No response
Node.js Version
v18.16.0
OS
Mac
Language
Typescript
Language Version
No response
Other information
No response