Troubleshooting a CloudFormation stack failing due to a Property validation failure
Journey: 📊 Community Builder 📊
Subject matter: 💡 Troubleshooting 💡
Task: Troubleshooting a CloudFormation stack failing due to a Property validation failure
While working on an EKS with Fargate Game Build project linked here, at one point I was having problems with the design and execution of the build, so I switched tactics and attempted the same build using Cloud9. During the deployment of the Cloud9 infrastructure, I ran into an issue and thought I would share it.

Problem observed:
When running a YAML template using CloudFormation, it initiated a rollback and failed.
When I looked at why, it was citing the following error:
“Property validation failure: [The property {ImageId} is required]”
CloudFormation starting:

Error seen:

Current template:

Fix required:
After some investigations online, I identified that the ImageId that I could use for this project was: “amazonlinux-2023-x86_64”
I updated my templates as follows:
Template update:

Template update continued:

New YAML file:

CloudFormation running:

CloudFormation success:

If this post helps just one other person, it has served its purpose well!
