Skip to content

Commit 9ce44e7

Browse files
authored
Merge pull request #1 from folq/fix-ami
Fix filter query for amis
2 parents a770f2c + d1a35d7 commit 9ce44e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ data "aws_ami" "default" {
8181
# https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/finding-an-ami.html
8282
filter {
8383
name = "name"
84-
values = ["amzn2-ami-hvm-2.0.????????-x86_64-gp2"]
84+
values = ["amzn2-ami-hvm-2.0.*-x86_64-gp2"]
8585
}
8686

8787
filter {

0 commit comments

Comments
 (0)