serverless-application-model icon indicating copy to clipboard operation
serverless-application-model copied to clipboard

[Feature Request] Tags for AWS::Serverless::SimpleTable

Open nathanjd opened this issue 9 years ago • 6 comments

DynamoDB tables currently support tags and while AWS::Serverless::SimpleTable is meant to be a subset of functionality, I think they should make the cut. It would help when creating resource groups.

Result of running cloudformation deploy:

Failed to create the changeset: Waiter ChangeSetCreateComplete failed: Waiter encountered a terminal failure state Status: FAILED. Reason: Transform AWS::Serverless-2016-10-31 failed with: Invalid Serverless Application Specification document. Number of errors found: 2. Resource with id [DeviceTraceApi] is invalid. property Tags not defined for resource of type AWS::Serverless::Api Resource with id [TracesTable] is invalid. property Tags not defined for resource of type AWS::Serverless::SimpleTable

Thank you.

nathanjd avatar May 18 '17 22:05 nathanjd

Sorry, but I cannot find out how to add the required "Feature Request" label.

nathanjd avatar May 18 '17 22:05 nathanjd

API Gateway resources do not support tagging at this moment: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-restapi.html

SAM will add this once the feature is supported by the resources.

vikrambhatt avatar May 18 '17 22:05 vikrambhatt

Ah whoops, thanks for pointing that out. I'll modify the request for just AWS::Serverless::SimpleTable.

nathanjd avatar May 19 '17 03:05 nathanjd

Yes, tags should be supported for DDB

sanathkr avatar Jun 28 '17 08:06 sanathkr

I just realized DDB also doesn't support tags - http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html

SAM can't do much here until they release support

sanathkr avatar Jun 29 '17 07:06 sanathkr

Closing this in favor of parent tracking issue #252

sanathkr avatar Jan 10 '18 20:01 sanathkr