Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
morga471 committed May 13, 2025
1 parent e992d71 commit 3285c2b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions buildspecs/terragrunt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ env:
PROXY_CONFIG: ${PROXY_CONFIG}
REQUIRED_TOOLS: "terraform terragrunt"
TOOL_DEFINITIONS: ${TOOL_DEFINITIONS}
TOOLS_DIR: "/tmp/build-tools"
TOOLS_DIR: "$CODEBUILD_SRC_DIR/.tool_cache"
exported-variables:
- TERRAGRUNT_PATH

Expand Down Expand Up @@ -39,7 +39,6 @@ phases:
MANAGE_TOOLS_SCRIPT_S3_KEY="tools/scripts/manage_tools.sh"
LOCAL_SCRIPT_PATH="${TOOLS_DIR}/manage_tools.sh"
- |
if [ ! -f "$LOCAL_SCRIPT_PATH" ]; then
echo "Downloading Tools Script from S3 ${ARTIFACT_BUCKET}...."
aws s3 cp s3://${ARTIFACT_BUCKET}/$MANAGE_TOOLS_SCRIPT_S3_KEY $LOCAL_SCRIPT_PATH
Expand All @@ -52,8 +51,8 @@ phases:
- export PATH=$TOOLS_DIR/bin:$PATH
- aws sts get-caller-identity
- terraform --version
- terragrunt --version
- terraform --version

build:
commands:
Expand Down

0 comments on commit 3285c2b

Please sign in to comment.