A CloudFormation stack has included several AWSExam |Video upload date:  · Duration: PT1H46M27S  · Language: EN

Video for a CloudFormation stack has included several AWS resources including EC2 instances. Previously, it used a mapping table to manage AMI IDs for different

I know how you can get Azure Certified, Google Cloud Certified, GitHub Copilot Certified and AWS Certified. It's a cool certification exam simulator site called certificationexams.pro. Check it out. It'll help you get certified fast!

This is a dedicated watch page for a single video.

Answer

Full Certification Question

A CloudFormation stack has included several AWS resources including EC2 instances. Previously, it used a mapping table to manage AMI IDs for different regions and instance types. During the creation of the EC2 resource, the AMI ID is received from the function of "Fn::FindInMap" However, you have to correct the mapping table for this approach whenever there is a new AMI ID available. You are looking at other better approaches to fetch the updated AMIs automatically. A Lambda function is already deployed by you to get the latest AMI with the region and instance type as the input. What is the best way to use the Lambda function to achieve this requirement?