Created
May 26, 2025 09:52
-
-
Save aardbol/5ec94733c12bc3997e0077513ded4856 to your computer and use it in GitHub Desktop.
Terraform get latest Debian AWS AMI
This file contains hidden or 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" "debian_12" { | |
most_recent = true | |
filter { | |
name = "name" | |
values = ["debian-12-*"] | |
} | |
filter { | |
name = "virtualization-type" | |
values = ["hvm"] | |
} | |
filter { | |
name = "architecture" | |
values = ["x86_64"] | |
} | |
owners = ["679593333241"] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment