Wednesday, February 16, 2022

[SOLVED] In CentOS7 - No package aws-cfn-bootstrap available

Issue

I'm trying to use AWS Cloud Formation template with cfn-signal in Cent OS 7. As per rel="nofollow noreferrer">documentation, it is mentioned to install using

yum install -y aws-cfn-bootstrap
or using RPM..

But, none of them helps and just getting the following error message..

No package aws-cfn-bootstrap available.


Solution

Great, found some useful information from forum.. Then, tried the following in CentOS 7 as a sudo user.

yum update -y
yum install -y epel-release
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
ls /opt/aws/bin/

Now, I'm able to notice it installed successfully at /opt/aws/bin/

enter image description here



Answered By - Santosh Kumar Arjunan
Answer Checked By - Gilberto Lyons (WPSolving Admin)