Last active
March 12, 2019 23:13
-
-
Save kristi/2957c0d24b3f3e046757cb72dbb09dff to your computer and use it in GitHub Desktop.
terraform - latest amazon linux 2 ami
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data "aws_ami" "latest_amazon_linux_2" { | |
most_recent = true | |
filter { | |
name = "name" | |
values = ["*amzn2-ami-hvm*"] | |
} | |
filter { | |
name = "virtualization-type" | |
values = ["hvm"] | |
} | |
filter { | |
name = "architecture" | |
values = [ "x86_64" ] | |
} | |
owners = ["amazon"] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment