From 73eb57569b91e61ad0053d0ed198a72073cca2bb Mon Sep 17 00:00:00 2001 From: Mbulaheni Davhana Date: Thu, 12 Jun 2025 13:26:39 +0100 Subject: [PATCH] fix: CloudFormation syntax error There is an issue with the syntac at line 166 of the cloudformation template ./infra/infra.yaml. Remove colon from !Ref S3BucketRegion The template previously used `!Ref: S3BucketRegion`, which caused a validation error: "Encountered unsupported function: Fn::Ref" Changed to the correct syntax `!Ref S3BucketRegion` to resolve the issue. --- infra/infra.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infra/infra.yaml b/infra/infra.yaml index 518d29b..247e830 100644 --- a/infra/infra.yaml +++ b/infra/infra.yaml @@ -163,7 +163,7 @@ Resources: WEBPROXY_PORT: !Ref WebProxyPort S3_BUCKET_REGION: - !Ref: S3BucketRegion + !Ref S3BucketRegion Handler: index.handler KmsKeyArn: !GetAtt KMSKey.Arn Role: