From: Justin Wind Date: Thu, 5 Oct 2017 17:27:41 +0000 (-0700) Subject: ignore amazon-linux ami release-candidate versions X-Git-Url: http://git.squeep.com/?p=awsible;a=commitdiff_plain;h=965ff653dbc96eeddc3c25c777810b94a35665a0 ignore amazon-linux ami release-candidate versions --- diff --git a/infrastructure/modules/tf_aws_asg_stack/main.tf b/infrastructure/modules/tf_aws_asg_stack/main.tf index 6a50ea3..1b294b7 100644 --- a/infrastructure/modules/tf_aws_asg_stack/main.tf +++ b/infrastructure/modules/tf_aws_asg_stack/main.tf @@ -41,6 +41,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" {