Socket
Socket
Sign inDemoInstall

@a-cloud-guru/serverless-import-tags

Package Overview
Dependencies
Maintainers
85
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@a-cloud-guru/serverless-import-tags

Facilitate importing tags defined outside the template, without having to overwrite `stackTags` field, for reusability


Version published
Weekly downloads
3
decreased by-72.73%
Maintainers
85
Weekly downloads
 
Created
Source

serverless-import-tags

Serverless stackTags will tag most resources in the template(*) , and supports importing from an external file. Nonetheless, it doesn't support importing from more than one file, therefore you can't specify global tags in tandem with stack tags and resource tags. . This plugin will solve that issue by merging the global tags file into the stackTags prior to the template being generated.

Notes:
  • (*) Except CW Logs and any other resource where AWS Cloudformation doesn't support tagging:(

Using this pluging

# Via yarn
$ yarn add @a-cloud-guru/serverless-import-tags

# Via npm
$ npm install @a-cloud-guru/serverless-import-tags

serverless.yml

custom:
  globalTags: ${file(./team_tags.yml)}

plugins:
  - @a-cloud-guru/serverless-import-tags

In order to support best practices in Tagging guidelines, you can reuse compliance tag lines from a single file. This yaml template especified with the custom parameter globalTags must be an array of Key:Value tags, e.g.:

"info:owner": an_awesome_guru
alliance: operations
cc_feature: ${opt:stage,self:provider.stage}-zone-labs
cc_company_usage: acg

Keywords

FAQs

Package last updated on 11 Feb 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc