Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions infrastructure/terraform/bin/terraform.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
##
# Set Script Version
##
readonly script_ver="1.8.1";
readonly script_ver="1.9.0";

##
# Standardised failure function
Expand Down Expand Up @@ -391,7 +391,7 @@ rm -rf ${component_path}/.terraform;

# Run global pre.sh
if [ -f "pre.sh" ]; then
PROJECT="${project}" REGION="${region}" COMPONENT="${component}" AWS_ACCOUNT_ID="${aws_account_id}" ENVIRONMENT="${environment}" ACTION="${action}" \
PROJECT="${project}" REGION="${region}" COMPONENT="${component}" GROUP="${group}" AWS_ACCOUNT_ID="${aws_account_id}" ENVIRONMENT="${environment}" ACTION="${action}" \
source pre.sh || error_and_die "Global pre script execution failed with exit code ${?}";
fi;

Expand Down Expand Up @@ -427,7 +427,7 @@ fi;

# Run pre.sh
if [ -f "pre.sh" ]; then
PROJECT="${project}" REGION="${region}" COMPONENT="${component}" AWS_ACCOUNT_ID="${aws_account_id}" ENVIRONMENT="${environment}" ACTION="${action}" \
PROJECT="${project}" REGION="${region}" COMPONENT="${component}" GROUP="${group}" AWS_ACCOUNT_ID="${aws_account_id}" ENVIRONMENT="${environment}" ACTION="${action}" \
source pre.sh || error_and_die "Component pre script execution failed with exit code ${?}";
fi;

Expand Down
Loading