skip to Main Content

How is the !Ref function used in an AWS CloudFormation template?

Im tying to follow AWS tutorial for creating lambda function using sam cli It created the following yaml file # This is the SAM template that represents the architecture of your serverless application # https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-template-basics.html # The AWSTemplateFormatVersion identifies the…

VIEW QUESTION

CloudFormation claims KMS policy statement principals are invalid

I have the following SAM template: AWSTemplateFormatVersion: '2010-09-09' Transform: AWS::Serverless-2016-10-31 Description: > test lambda Globals: Function: Timeout: 3 Tracing: Active Api: TracingEnabled: True Resources: NotesFunction: Type: AWS::Serverless::Function Properties: PackageType: Zip CodeUri: notes/ Handler: app.lambdaHandler Runtime: nodejs18.x Policies: - AmazonDynamoDBFullAccess Architectures:…

VIEW QUESTION
Back To Top
Search