Skip to content

Commit

Permalink
Merge pull request #38 from cristobal23/fix_owners_required_field
Browse files Browse the repository at this point in the history
Specify required argument to aws_ami resource
  • Loading branch information
disaac authored Mar 6, 2019
2 parents 5e1c38a + fd95cca commit 7007d51
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions az/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ resource "aws_route_table_association" "rta_dmz" {
data "aws_ami" "nat_ami" {
most_recent = true

owners = ["amazon"]

filter {
name = "architecture"
values = ["x86_64"]
Expand All @@ -92,11 +94,6 @@ data "aws_ami" "nat_ami" {
values = ["amzn-ami-vpc-nat*"]
}

filter {
name = "owner-alias"
values = ["amazon"]
}

filter {
name = "root-device-type"
values = ["ebs"]
Expand Down

0 comments on commit 7007d51

Please sign in to comment.