Skip to content
This repository was archived by the owner on Nov 8, 2021. It is now read-only.

Commit c05f7e7

Browse files
committed
use proper exit status from previous command
1 parent e71f043 commit c05f7e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

showcase.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Mappings:
3838
RegionMap: RegionMapAmazonLinux2
3939
UserData: |
4040
/opt/aws/bin/cfn-init --verbose --stack=${STACKNAME} --region=${REGION} --resource=Instance
41-
/opt/aws/bin/cfn-signal --exit-code 0 --stack=${STACKNAME} --region=${REGION} --resource=Instance
41+
/opt/aws/bin/cfn-signal --exit-code $? --stack=${STACKNAME} --region=${REGION} --resource=Instance
4242
Ubuntu:
4343
RegionMap: RegionMapUbuntu
4444
UserData: |

0 commit comments

Comments
 (0)