layer0 icon indicating copy to clipboard operation
layer0 copied to clipboard

update terraform EC2 AMI lookup to latest

Open diemonster opened this issue 6 years ago • 0 comments

As part of a Layer0 instance, we poll which AMIs are available for ECS services during l0-setup apply.

We are currently matching for specific service AMIs here: https://github.com/quintilesims/layer0/blob/500-system-tests-tlake/setup/module/api/core.tf#L167

We should instead use the latest ECS-optimized AMIs available, as we're building more bleeding-edge features. We should probably use a more general filter and the most_recent param ala here: https://www.terraform.io/docs/providers/aws/d/ami.html#description

diemonster avatar Apr 20 '18 23:04 diemonster