Skip to content
This repository has been archived by the owner on Oct 11, 2021. It is now read-only.

Commit

Permalink
Change user data scripts to specify region
Browse files Browse the repository at this point in the history
Fixes #168
  • Loading branch information
villasv committed Apr 27, 2020
1 parent da7e33a commit de82e8b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/turbine-scheduler.template
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,11 @@ Resources:
Fn::Base64: !Sub |
#!/bin/bash -xe
/opt/aws/bin/cfn-init -v \
--region ${AWS::Region} \
--stack ${AWS::StackName} \
--resource LaunchConfiguration
/opt/aws/bin/cfn-signal -e $?
--region ${AWS::Region} \
--stack ${AWS::StackName} \
--resource LaunchConfiguration
Metadata:
Expand Down
2 changes: 2 additions & 0 deletions templates/turbine-webserver.template
Original file line number Diff line number Diff line change
Expand Up @@ -182,9 +182,11 @@ Resources:
Fn::Base64: !Sub |
#!/bin/bash -xe
/opt/aws/bin/cfn-init -v \
--region ${AWS::Region} \
--stack ${AWS::StackName} \
--resource LaunchConfiguration
/opt/aws/bin/cfn-signal -e $?
--region ${AWS::Region} \
--stack ${AWS::StackName} \
--resource LaunchConfiguration
Metadata:
Expand Down
2 changes: 2 additions & 0 deletions templates/turbine-workerset.template
Original file line number Diff line number Diff line change
Expand Up @@ -197,9 +197,11 @@ Resources:
Fn::Base64: !Sub |
#!/bin/bash -xe
/opt/aws/bin/cfn-init -v \
--region ${AWS::Region} \
--stack ${AWS::StackName} \
--resource LaunchConfiguration
/opt/aws/bin/cfn-signal -e $?
--region ${AWS::Region} \
--stack ${AWS::StackName} \
--resource LaunchConfiguration
Metadata:
Expand Down

0 comments on commit de82e8b

Please sign in to comment.