FormidableLabs / terraform-aws-serverless

Infrastructure support for Serverless framework apps, done the right way
https://registry.terraform.io/modules/FormidableLabs/serverless/aws
MIT License
144 stars 19 forks source link

SLS tagging CloudFormation issues #36

Open ryan-roemer opened 5 years ago

ryan-roemer commented 5 years ago

From https://github.com/FormidableLabs/terraform-aws-serverless/issues/33


2: my developer account wants the lambda tag permissions as well, though this only errors in cloudformation, not sls cli

image

the tags seem to be cloudformation specific, though I'm not sure how the STAGE tag gets there, since I only inject that into the environment (cf template confirms this)

image

perhaps the cd-lambdas group should have those tag permissions by default?

¯\_(ツ)_/¯

ryan-roemer commented 4 years ago
Failed to set tags on AWS::Lambda::Function. IAM permissions lambda:ListTags, lambda:TagResource and lambda:UntagResource are required to tag AWS::Lambda::Function resources and to propagate stack level tags.