scottslowe-learning-tools/terraform/aws/bastion-aws/data.tf
Scott Lowe b115a5c624
Commit finalized Terraform configuration
Commit finalized Terraform configuration using CentOS and CentOS Atomic Host images for working with an SSH bastion host

Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
2017-05-23 16:19:56 -06:00

25 lines
665 B
HCL

data "aws_ami" "atomic_ami" {
most_recent = true
owners = ["410186602215"]
filter {
name = "name"
values = ["CentOS Atomic Host 7*"]
}
filter {
name = "virtualization-type"
values = ["hvm"]
}
}
data "aws_ami" "centos_ami" {
most_recent = true
owners = ["410186602215"]
filter {
name = "name"
values = ["CentOS Linux 7*"]
}
filter {
name = "virtualization-type"
values = ["hvm"]
}
}