open-duelyst / duelyst

Duelyst is a digital collectible card game and turn-based strategy hybrid, developed by Counterplay Games.
Creative Commons Zero v1.0 Universal
3.61k stars 555 forks source link

[P1] Invalid launch template in Terraform when not using custom AMI #283

Open willroberts opened 1 year ago

willroberts commented 1 year ago

Summary

We may have a bug in the ECS Terraform module where launch templates are created. When not using a custom AMI, terraform apply can fail with the following error:

ValidationError: You must use a valid fully-formed launch template. The request must contain the parameter ImageId

Impacted services

Steps to reproduce

  1. Configure a TF environment to use a standard ECS AMI instead of a custom AMI
  2. Run terraform apply