Aws-cloudformation
01
Export Serverless Framework Environment Variables to a Local .env File
serverlessaws-lambdaaws-cloudformation
Bridging CloudFormation-generated runtime values - DynamoDB table names, API Gateway URLs, ARNs that do not exist until deployment - into a local .env file using the serverless-export-env plugin.
02
CloudFormation !Ref vs !GetAtt in serverless.yml
serverlessaws-cloudformation
The mental model behind CloudFormation !Ref and !GetAtt - !Ref returns a resource primary identifier, !GetAtt returns one of its named attributes. With practical examples for IAM permissions and Lambda environment variables in serverless.yml.