AWS:CloudFormation::Init must be in the Metadata for a resource
With the cfn-init script, it helps make complex EC2 configurations readable
The EC2 instance will query the CloudFormation service to get init data
Logs go to /var/log/cfn-init.log
CloudFormation service <—> Ec2 instance( Run cfn-init -> Retrieve init data to CloudFormation Service again)
Cat /var/log/cfn-init.log (= cat /var/log/cfn-init-cmd.log)
CloudFormation Service (wait condition) -> launch Ec2 -> run cfn-init script ->Retrieve data -> Signal from cfn-signal
arn만들어야 실행이되는거였네 ^^;;
나는 기본적으로 제공되는줄 알았다.. 아니였음..
arn:aws:iam::aws:policy/service-role/AmazonSSMAutomationRole
product -> portfolio -> add user, add product -> then Developer can make product at the product list