projects
/
awsible
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ignore amazon-linux ami release-candidate versions
[awsible]
/
infrastructure
/
modules
/
tf_aws_asg_stack
/
main.tf
diff --git
a/infrastructure/modules/tf_aws_asg_stack/main.tf
b/infrastructure/modules/tf_aws_asg_stack/main.tf
index 6a50ea3444eca43e7734d45a8c79808568bc1ca4..1b294b7c208a3d657d1668e66cf35cdc6027d6e4 100644
(file)
--- 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" {