Package Exports
- serverless-tag-resources
- serverless-tag-resources/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (serverless-tag-resources) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
serverless-tag-resources
A serverless plugin to tag all resources on AWS
Features
- Tag all resources created by serverless
- Tag all resources specified on resources section
- Fix tags on dict based tag specification resources like AWS::SSM::Parameter
- Add Resource tag automatically, setting LogicalID as value
- Add Stage tag automatically
Instalation
npm i serverless-tag-resources
then add it in your plugins list:
plugins:
- serverless-tag-resources
Tags Configuration
Using the tags configuration makes it possible to add key / value tags on all AWS Resources.
This plugin use stackTags values from provider specification.
stackTags:
Component: ${self:service}
Scheduled: no
Scope: protected
Developer: ysaborit
Customer: Common
License
MIT