Skip to content

Commit

Permalink
src/terragrunt_plan.sh: TEMP: Add ssh host key checking for github.com
Browse files Browse the repository at this point in the history
1. This is a temporary commit
  • Loading branch information
maniankara committed Feb 24, 2021
1 parent d4ab109 commit 37d3401
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/terragrunt_plan.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

function terragruntPlan {
# Gather the output of `terragrunt plan`.
echo "plan: info: Running ssh host registration for github"
ssh -T -oStrictHostKeyChecking=accept-new [email protected] || true
echo "plan: info: planning Terragrunt configuration in ${tfWorkingDir}"
planOutput=$(${tfBinary} plan -detailed-exitcode -input=false ${*} 2>&1)
planExitCode=${?}
Expand Down

0 comments on commit 37d3401

Please sign in to comment.