Skip to content

Commit

Permalink
The stack name needs to be limited at 34
Browse files Browse the repository at this point in the history
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
  • Loading branch information
TobySaundersGDS committed Nov 15, 2024
1 parent 34a672e commit a90e05f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a90e05f

Please sign in to comment.