Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

missing cfn-signal for centos #21

Open
bollig opened this issue Jun 9, 2021 · 1 comment
Open

missing cfn-signal for centos #21

bollig opened this issue Jun 9, 2021 · 1 comment

Comments

@bollig
Copy link

bollig commented Jun 9, 2021

/opt/aws/bin/cfn-signal -e $? --stack ${AWS::StackName} --resource HeadNodeInstance --region ${AWS::Region}

Tried to run this with a centos image (to match on-prem cluster). Failed on cfn-signal.

@TexasDex
Copy link

I came across this issue as well. It's caused by the lack of cfn packages on CentOS, and can be solved by adding the following lines to your cloud init script:

          yum install -y https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-latest.amzn1.noarch.rpm
          ln -s /usr/local/lib/python2.7/site-packages/cfnbootstrap /usr/lib/python2.7/site-packages/cfnbootstrap

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants