Ensure Serverless Framework Function should have associated tags
Risk Level: medium
Platform: AWS Serverless
Spectral Rule ID: SLFW006
REMEDIATION
Add tags inside the function or in the provider
service: example-service
frameworkVersion: '2'
provider:
name: aws
runtime: nodejs12.x
functions:
hello:
handler: handler.example
onError: arn:aws:sns:us-east-1:XXXXXX:example
+ tags:
+ foo: bar
OR
service: service
frameworkVersion: '2'
provider:
name: aws
runtime: nodejs12.x
+ stackTags:
+ foo: barRead more:
Updated 7 months ago