Skip to content

Commit

Permalink
Added marketplace product code filter for bastion to avoid selecting …
Browse files Browse the repository at this point in the history
…an AMI from the wrong vendor (#1784)

Co-authored-by: Kolbe Kegel <[email protected]>
  • Loading branch information
sre-bot and kolbe authored Feb 26, 2020
1 parent c6fcf39 commit 69d548e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions deploy/modules/aws/bastion/data.tf
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,9 @@ data "aws_ami" "centos" {
name = "root-device-type"
values = ["ebs"]
}

filter {
name = "product-code"
values = ["aw0evgkw8e5c1q413zgy5pjce"]
}
}

0 comments on commit 69d548e

Please sign in to comment.