Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix minor bugs #9

Merged
merged 1 commit into from
Apr 23, 2024
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion .github/workflows/terraform-init.yml
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ jobs:
--subscription ${{ inputs.state_subscription_id }} \
--only-show-errors
else
echo "::error file=${{ github.action }}::Unable to find resource group ${resource_group_name}. It is required for terraform state and plan files." | tee -a $log_file
echo "::error file=${GITHUB_ACTION}::Unable to find resource group ${state_resource_group_name}. It is required for terraform state and plan files." | tee -a "$log_file"
exit 1
fi
fi
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/terraform-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -758,13 +758,13 @@ jobs:
echo "::error file=${{ github.action }}::Folder ${start_path}/logs does not exist."
exit 1
fi
tf_output_file="${start_path}/logs/terraform${i}_${$}_${command}.output"
tf_output_file="${start_path}/logs/terraform${i}_${command}.output"
if [ -f "${tf_output_file}" ]; then
echo 'The file ${tf_output_file} exist, removing old log file'
rm -f ${tf_output_file}
fi
touch $tf_output_file
tf_error_file="${start_path}/logs/terraform${i}_${$}_${command}.error"
tf_error_file="${start_path}/logs/terraform${i}_${command}.error"
if [ -f "${tf_error_file}" ]; then
echo 'The file ${tf_error_file} exist, removing old error file'
rm -f ${tf_error_file}
Expand Down
Loading