Created
September 4, 2018 02:52
-
-
Save lawliet89/1df80b478bb922570f5c09c051a7ffe5 to your computer and use it in GitHub Desktop.
Terraform Demo Snippet
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" "ubuntu" { | |
most_recent = true | |
filter { | |
name = "name" | |
values = ["ubuntu/images/hvm-ssd/ubuntu-bionic-18.04-amd64-server-*"] | |
} | |
filter { | |
name = "virtualization-type" | |
values = ["hvm"] | |
} | |
owners = ["099720109477"] # Canonical | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment