Created
February 2, 2023 14:35
-
-
Save theCaptN21/e6c21fa1d97388a8e080d7cab30695ee to your computer and use it in GitHub Desktop.
AMI Information
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
#AMI filter for Amazon Linux HVM | |
data "aws_ami" "amazon_linux" { | |
most_recent = true | |
filter { | |
name = "name" | |
values = ["amzn2-ami-hvm-2.0*"] | |
} | |
filter { | |
name = "virtualization-type" | |
values = ["hvm"] | |
} | |
filter { | |
name = "root-device-type" | |
values = ["ebs"] | |
} | |
owners = ["137112412989"] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment