From 2bd7a2fbc648c6e75556d6249facf88adc7ddc39 Mon Sep 17 00:00:00 2001 From: Yiming Luo <10097700+lym953@users.noreply.github.com> Date: Thu, 9 Jul 2026 17:29:32 -0400 Subject: [PATCH] Drop cloudformation:ValidateTemplate call from durable forwarder release.sh The GitLab runner role for this project has no cloudformation:ValidateTemplate permission, so the publish job failed with AccessDenied. None of the other release.sh scripts in this repo call the CloudFormation API to validate; template correctness is already covered by cfn-lint on every push (.github/workflows/lint.yml). Co-Authored-By: Claude Sonnet 5 --- aws_durable_function_event_forwarder/release.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/aws_durable_function_event_forwarder/release.sh b/aws_durable_function_event_forwarder/release.sh index c118bf5..799e06a 100755 --- a/aws_durable_function_event_forwarder/release.sh +++ b/aws_durable_function_event_forwarder/release.sh @@ -50,9 +50,6 @@ if aws s3api head-object --bucket "$BUCKET" --key "$VERSIONED_KEY" >/dev/null 2> exit 1 fi -echo "Validating ${TEMPLATE}..." -aws cloudformation validate-template --template-body "file://${TEMPLATE}" > /dev/null - echo "About to publish ${VERSION} to s3://${BUCKET}/${PREFIX}/ (${VERSION}.yaml + latest.yaml)" if [ "$AUTO_YES" = false ]; then read -p "Continue (y/n)?" CONT