Skip to content

Commit

Permalink
Merge pull request #1145 from buildkite/pdp-1226-fix-path-to-cfn-sign…
Browse files Browse the repository at this point in the history
…al-in-install-scripts
  • Loading branch information
triarius authored Jun 27, 2023
2 parents a24c2c1 + 35caf88 commit 16ef5b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packer/linux/conf/bin/bk-install-elastic-stack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on_error() {
aws autoscaling set-instance-health --instance-id "$INSTANCE_ID" --health-status Unhealthy || true
fi

/opt/aws/bin/cfn-signal \
cfn-signal \
--region "$AWS_REGION" \
--stack "$BUILDKITE_STACK_NAME" \
--reason "Error on line $errorLine: $(tail -n 1 /var/log/elastic-stack.log)" \
Expand Down Expand Up @@ -248,7 +248,7 @@ docker run \
systemctl enable --now buildkite-agent

# let the stack know that this host has been initialized successfully
/opt/aws/bin/cfn-signal \
cfn-signal \
--region "$AWS_REGION" \
--stack "$BUILDKITE_STACK_NAME" \
--resource "AgentAutoScaleGroup" \
Expand Down

0 comments on commit 16ef5b4

Please sign in to comment.