serverless-plugin-resource-tagging

1.2.0 • Public • Published

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

Package Sidebar

Install

npm i serverless-plugin-resource-tagging

Weekly Downloads

54,355

Version

1.2.0

License

MIT

Unpacked Size

5.96 kB

Total Files

3

Last publish

Collaborators

  • ilayanambi86