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

1.0.0 • Public • Published

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

Dependents (0)

Package Sidebar

Install

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

Weekly Downloads

55

Version

1.0.0

License

AGPL-3.0-or-later

Unpacked Size

6.82 kB

Total Files

5

Last publish

Collaborators

  • mayurps
  • harikka
  • vishnu-haridas
  • rakesh-dutta
  • raghu-ma
  • robert-babcock
  • tdenny
  • stephen-ps
  • facundo-munoz
  • nidhi-gupta
  • jhanski-tammeneni
  • madhuripatidar
  • akash_raju
  • karthikvaradharaj
  • surajsalunke
  • arpit_chaudhary
  • harshashastry
  • indu-joseph
  • gotoprudhvi
  • sachin-singla
  • sahana-prabhakar
  • yokesh-n
  • eric-roberts
  • xavier-vaughn
  • trevorjex-pluralsight
  • andylincoln-ps
  • andrewantolinops
  • tejaspn
  • nareshgurbani
  • chethana-shastry
  • kunal-shivnekar
  • paulchathaway
  • james-houston
  • luke-ferreira
  • unnati-verma
  • chris-hiestand
  • paulito411
  • ezequiel.gomez.dlabs
  • olivier-lacan
  • maverick-tudisco
  • carolinapowers
  • ktlpro
  • jaron-thatcher
  • stephwood
  • specman
  • josh-miller
  • jeff-wassouf
  • scott-travis
  • rbeytell
  • matt-shipman
  • fcotelops
  • yaroslav-n
  • lailah-weatherspoon-ps
  • clbmrls-ps
  • lfacg
  • brad-wood
  • gabriel-merida-pluralsight
  • charlenee
  • gabriel-holanda-ps
  • aspen-cassady
  • parrhesia
  • stephenwang-ps
  • shaimaa-morsi
  • patricio-martino-ps
  • tim-riley-ps
  • diego-bartolome
  • katie-moore
  • aahdee
  • michael-robison-acg
  • michael-shimmins
  • juseungp.acloudguru
  • william-forbes-ps
  • dcramirezo
  • raf-ruslianto-ps
  • drhuffman12
  • pspascual
  • byumark
  • francobottero
  • acloud-guru
  • davrosull
  • zaclang
  • timkinnane
  • levotch
  • jaepilkim
  • la-jamesh
  • jmagjr2010
  • kellycrowther
  • davisengeler
  • michaelsayer
  • patrickshiel
  • stevensunny
  • roberto-la
  • troy.nichols
  • gbarnett374
  • bradenpm
  • pn.acg
  • mikeglaz
  • simondlee
  • nsonha
  • keerthin
  • pleal
  • bpmwork2021
  • acg-jrtheurer