Skip to content

Commit

Permalink
Use provided AMI id even if we don't build (nubisproject#704)
Browse files Browse the repository at this point in the history
  • Loading branch information
gozer authored and tinnightcap committed Aug 24, 2018
1 parent 2b39387 commit 1964223
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nubis/files/nubis-ci-deploy
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ environment = "${ENVIRONMENT}"
service_name = "${SERVICE_NAME}"
EOH

if [ "${SKIP_BUILD}" != "true" ]; then
if [ "${AMI}" != "" ]; then
echo "ami = \"${AMI}\"" >> ${TERRAFORM_TFVARS_FILE}
fi

Expand Down

0 comments on commit 1964223

Please sign in to comment.