AWS Cloudformation:cfn-hup无法启动

时间:2018-11-27 08:14:49

标签: amazon-web-services amazon-cloudformation

我在cfn实例中安装了Ubuntu 16.04个辅助脚本,如下所示:

sudo apt-get -y install python-setuptools
mkdir aws-cfn-bootstrap-latest
curl https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-latest.tar.gz | tar xz -C aws-cfn-bootstrap-latest --strip-components 1
sudo easy_install aws-cfn-bootstrap-latest

但是,执行cfn-hup失败的原因如下:

$ /usr/local/bin/cfn-hup 
Could not open /var/log/cfn-hup.log for logging.  Using stderr instead.
2018-11-27 10:11:40,602 [ERROR] Error: Could not find configuration at /etc/cfn

是否需要采取其他措施才能启用cfn-hup

0 个答案:

没有答案