Cloudformation-Facts(troubleshooting guide)

June Chung
Dec 10, 2020
  • In resource (EC2), you should provide securitygroupID, instead of actual securitygroup name → or will throw parameter group error
  • If you launch AMI with Windows, the administrator password will be the same + also you will not be able to retrieve a new windows password
  • AWS::CloudFormation::WaitCondition is to WAIT until the configuration stpes are done — before announcing the EC2 creation complete !
    Must use together with WaitConditionHandler
  • If you use custom AMI image, User data will not probably be execued, since it’s already started
  • Every command in the “init:config” section, will wait for 60 seconds to reboot if not specified “waitAfterCompletion: 0”

--

--