From ed4b1056d877f074ff1aeb946eb39135dcdc9aab Mon Sep 17 00:00:00 2001 From: "fr4nc1sc0.r4m0n" Date: Wed, 7 Jan 2026 11:04:37 +0100 Subject: [PATCH 1/2] Ensure the arn table file is being generated in the github workspace --- .ci/create-arn-table.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.ci/create-arn-table.sh b/.ci/create-arn-table.sh index a03ead4c6..922c43357 100755 --- a/.ci/create-arn-table.sh +++ b/.ci/create-arn-table.sh @@ -7,7 +7,9 @@ set -o pipefail # AWS_FOLDER - that's the location of the publish-layer-version output for each region AWS_FOLDER=${AWS_FOLDER?:No aws folder provided} -ARN_FILE=".arn-file.md" +# Get the repository root directory (where .git is located) +REPO_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" +ARN_FILE="${REPO_ROOT}/.arn-file.md" { echo "
" @@ -28,3 +30,5 @@ done echo '
' echo '' } >> "${ARN_FILE}" + +echo "INFO: Created ARN table at ${ARN_FILE}" From 5a9beeacad7759a71855e6f5e1635251598f3cee Mon Sep 17 00:00:00 2001 From: "fr4nc1sc0.r4m0n" Date: Wed, 7 Jan 2026 13:25:01 +0100 Subject: [PATCH 2/2] Use realpath instead changing directory --- .ci/create-arn-table.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci/create-arn-table.sh b/.ci/create-arn-table.sh index 922c43357..470d03c50 100755 --- a/.ci/create-arn-table.sh +++ b/.ci/create-arn-table.sh @@ -8,7 +8,7 @@ set -o pipefail AWS_FOLDER=${AWS_FOLDER?:No aws folder provided} # Get the repository root directory (where .git is located) -REPO_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" +REPO_ROOT="$(realpath $(dirname "${BASH_SOURCE[0]}")/..)" ARN_FILE="${REPO_ROOT}/.arn-file.md" {