aws-cloudformation / aws-cloudformation/cloudformation-cli
Metadata attribute tagging is not supported by CloudFormation
- Dominant language
- Python
- Stars
- 336
- Forks
- 172
- Avg merge
- 3d 5m
- Merged PRs (30d)
- 3
Description
Metadata attribute "taggable" is marked as deprecated inside resource definition schema.
https://github.com/aws-cloudformation/cloudformation-cli/blob/d8212e82e3ca84bec4861739766b355de3ef49ad/src/rpdk/core/data/schema/provider.definition.schema.v1.json#L120
Instead, we should use "tagging".
Example:
```
...
"tagging": {
"taggable": false
},
...
```
However, if I use this attribute, deployment with CloudFormation ends with an "Internal failure" after a long waiting period.
I have performed tests on several regions (included us-east-1), result is always the same.
The issue is reproducible with the example resource generated with `cfn init`.
Edit the json schema and add the following block under the "properties" one.
```
"properties": {
...
},
"tagging": {
"taggable": false
},
...
```
Submit the extension with `cfn submit` and try to deploy your resource with CloudFormation.
- **Expected result**: The stack has been successfully deployed .
- **Actual result**: Deployment gets stuck during a long time and ends up with an "Internal failure".
- **Version**: v0.2.22
- **Plugin**: cloudformation-cli-python-plugin (2.1.4)
Contributor guide
Assessment
This issue has not been assessed yet.