Mastering Development

creating Ec2 from existing ec2 instance from terraform

I am given a task to create the similar ec2 instance from existing ec2 instance from the infrastructure in AWS. Is there any way I can import all the setting from existing ec2 and create similar ec2 having the same attributes like vpc, security group, volume type, size and user data.

Leave an answer

Your email address will not be published. Required fields are marked *