Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
rriveramdz committed Apr 21, 2020
1 parent 0dacfa8 commit 96674b4
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/terragrunt_apply.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function terragruntApply {

# Comment on the pull request if necessary.
if [ "$GITHUB_EVENT_NAME" == "pull_request" ] && [ "${tfComment}" == "1" ]; then
applyCommentWrapper="#### \`terragrunt apply\` ${applyCommentStatus}
applyCommentWrapper="#### \`${tfBinary} apply\` ${applyCommentStatus}
<details><summary>Show Output</summary>
\`\`\`
Expand Down
2 changes: 1 addition & 1 deletion src/terragrunt_destroy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function terragruntDestroy {

# Comment on the pull request if necessary.
if [ "$GITHUB_EVENT_NAME" == "pull_request" ] && [ "${tfComment}" == "1" ]; then
destroyCommentWrapper="#### \`terragrunt destroy\` ${destroyCommentStatus}
destroyCommentWrapper="#### \`${tfBinary} destroy\` ${destroyCommentStatus}
<details><summary>Show Output</summary>
\`\`\`
Expand Down
2 changes: 1 addition & 1 deletion src/terragrunt_fmt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ ${fmtFileDiff}

done

fmtCommentWrapper="#### \`terraform fmt\` Failed
fmtCommentWrapper="#### \`${tfBinary} fmt\` Failed
${fmtComment}
*Workflow: \`${GITHUB_WORKFLOW}\`, Action: \`${GITHUB_ACTION}\`, Working Directory: \`${tfWorkingDir}\`, Workspace: \`${tfWorkspace}\`*"
Expand Down
2 changes: 1 addition & 1 deletion src/terragrunt_import.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function terragruntImport {

# Comment on the pull request if necessary.
if [ "$GITHUB_EVENT_NAME" == "pull_request" ] && [ "${tfComment}" == "1" ] && [ "${importCommentStatus}" == "Failed" ]; then
importCommentWrapper="#### \`terragrunt import\` ${importCommentStatus}
importCommentWrapper="#### \`${tfBinary} import\` ${importCommentStatus}
<details><summary>Show Output</summary>
\`\`\`
Expand Down
2 changes: 1 addition & 1 deletion src/terragrunt_init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function terragruntInit {

# Comment on the pull request if necessary.
if [ "$GITHUB_EVENT_NAME" == "pull_request" ] && [ "${tfComment}" == "1" ]; then
initCommentWrapper="#### \`terragrunt init\` Failed
initCommentWrapper="#### \`${tfBinary} init\` Failed
\`\`\`
${initOutput}
Expand Down
2 changes: 1 addition & 1 deletion src/terragrunt_plan.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function terragruntPlan {

# Comment on the pull request if necessary.
if [ "$GITHUB_EVENT_NAME" == "pull_request" ] && [ "${tfComment}" == "1" ] && ([ "${planHasChanges}" == "true" ] || [ "${planCommentStatus}" == "Failed" ]); then
planCommentWrapper="#### \`terragrunt plan\` ${planCommentStatus}
planCommentWrapper="#### \`${tfBinary} plan\` ${planCommentStatus}
<details><summary>Show Output</summary>
\`\`\`
Expand Down
2 changes: 1 addition & 1 deletion src/terragrunt_taint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function terragruntTaint {

# Comment on the pull request if necessary.
if [ "$GITHUB_EVENT_NAME" == "pull_request" ] && [ "${tfComment}" == "1" ]; then
taintCommentWrapper="#### \`terraform taint\` ${taintCommentStatus}
taintCommentWrapper="#### \`${tfBinary} taint\` ${taintCommentStatus}
<details><summary>Show Output</summary>
\`\`\`
Expand Down
2 changes: 1 addition & 1 deletion src/terragrunt_validate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function terragruntValidate {

# Comment on the pull request if necessary.
if [ "$GITHUB_EVENT_NAME" == "pull_request" ] && [ "${tfComment}" == "1" ]; then
validateCommentWrapper="#### \`terragrunt validate\` Failed
validateCommentWrapper="#### \`${tfBinary} validate\` Failed
\`\`\`
${validateOutput}
Expand Down

0 comments on commit 96674b4

Please sign in to comment.