From a90e05f581b6d726f918b0349d93cb645118e6e4 Mon Sep 17 00:00:00 2001 From: "tobias.saunders" Date: Fri, 15 Nov 2024 17:13:15 +0000 Subject: [PATCH] The stack name needs to be limited at 34 prefix is 20 chars, max Lambda function name length is 64 and the template appends the prefix, some of the branch name and the resource name to make the lambda function name, gives a max 30 chars function name --- .github/workflows/deploy-branch.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy-branch.yml b/.github/workflows/deploy-branch.yml index 135e47e..3737120 100644 --- a/.github/workflows/deploy-branch.yml +++ b/.github/workflows/deploy-branch.yml @@ -62,7 +62,7 @@ jobs: sam-deployment-bucket: ${{ vars.DEPLOYMENT_ARTIFACTS_BUCKET }} aws-role-arn: ${{ vars.DEPLOYMENT_ROLE_ARN }} stack-name-prefix: preview-kbv-hmrc-api - stack-name-length-limit: 24 + stack-name-length-limit: 34 cache-name: ipv-cri-hmrc-kbv-api-${{ needs.build.outputs.sha_short}} s3-prefix: preview pull-repository: true