UNPKG

serverless-tag-resources

Version:

Datamart Solution: Tag all aws resources

41 lines (30 loc) 836 B
# 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