serverless-plugin-resource-tagging
v1.2.0
Published
Add tags to AWS resources
Downloads
256,129
Maintainers
Readme
serverless-plugin-resource-tagging
Serverless stackTags will update the tags for all the resources that support tagging. But the issue is it will update once during create. If you update the tag values after deployment, it wont reflect in next deployment. We have to remove the stack and redeploy to get the new tags reflect. This plugin will solve that issue for AWS.
Note:
- This plugin is only for AWS.
- This plugin will support APIGateway stage tags even if stage is not configured in serverless.yml and clouformation created one.
Using this pluging
npm install serverless-plugin-resource-tagging
serverless.yml
provider:
name: XXX
stackTags:
Tag1: "Tag1 value"
Tag2: "Tag2 value"
plugins:
- serverless-plugin-resource-tagging
Suported AWS resources
AWS::Lambda::Function
AWS::SQS::Queue
AWS::Kinesis::Stream
AWS::DynamoDB::Table
AWS::S3::Bucket
AWS::ApiGateway::Stage
AWS::CloudFront::Distribution
AWS::Logs::LogGroup