Is it possible to create an AMI to Image on an EC2 instance from a Cloud Formation Template?
I have searched for all the resource types for AWS Cloud Formation but couldn't find one for AMI.
Is it possible to create an AMI to Image on an EC2 instance from a Cloud Formation Template?
I have searched for all the resource types for AWS Cloud Formation but couldn't find one for AMI.
No it is not possible.
Technical Speaking Bundling Image is a process and Not a resource
Creation of AMI would be achieved by a process called as AMI Bundling [ec2-bundle-image]. Apparently using CloudFormation you can set up the infra ( AWS Components and align them in to a VPC etc.)
Below list of the EC2 based resources you do with CloudFormation.