Skip to content

Commit

Permalink
Added architecture filter (#666)
Browse files Browse the repository at this point in the history
Co-authored-by: Victor Bi <[email protected]>
  • Loading branch information
yjwx18 and Victor Bi authored Jun 14, 2021
1 parent 7826475 commit 6f54ee9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion setup/module/api/core.tf
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,11 @@ data "aws_ami" "linux" {
owners = ["amazon"]
most_recent = true

filter {
name = "architecture"
values = ["x86_64"]
}

filter {
name = "name"
values = ["amzn2-ami-ecs-hvm-*"]
Expand All @@ -134,4 +139,4 @@ data "aws_ami" "windows" {
name = "name"
values = ["Windows_Server-2016-English-Full-ECS_Optimized-2017.11.24"]
}
}
}

0 comments on commit 6f54ee9

Please sign in to comment.