From: Justin Wind Date: Thu, 14 Sep 2017 21:37:52 +0000 (-0700) Subject: ignore amazon-linux ami release-candidate versions X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=71bc2f3e5e341f23c07d397e490a2ec88d35476f;p=awsible ignore amazon-linux ami release-candidate versions --- diff --git a/infrastructure/modules/management-stack/management.tf b/infrastructure/modules/management-stack/management.tf index 6efa19c..3f1dc76 100644 --- a/infrastructure/modules/management-stack/management.tf +++ b/infrastructure/modules/management-stack/management.tf @@ -87,6 +87,8 @@ data "aws_ami" "amazon_linux" { name = "root-device-type" values = ["ebs"] } + # hack filter to ignore .rc- release candidate amis + name_regex = "amzn-ami-hvm-[^r]*-gp2" } data "aws_region" "current" {