Skip to content

Commit

Permalink
BBL-192 | taggin ami to approve and pass aws-config approved-amis-by-…
Browse files Browse the repository at this point in the history
…tag rule
  • Loading branch information
exequielrafaela committed Oct 21, 2020
1 parent f885960 commit e782a03
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions instances.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ data "aws_ami" "ubuntu_linux" {
// Any user can register an AMI under any name. Nothing prevents a malicious user from registering an AMI that would
// match the search above. So, in order to be safe, you need to verify that the owner of the ami is '099720109477'.
owners = [var.aws_ami_os_owner] # Canonical

tags = var.tags
}

resource "aws_instance" "main" {
Expand Down

0 comments on commit e782a03

Please sign in to comment.