mirror of
https://codeberg.org/scottslowe/learning-tools.git
synced 2026-03-11 09:04:37 +00:00
Add Terraform configurations to launch an Ubuntu 16.04 AWS instance. Add Ansible playbook to bootstrap the instance for use with Ansible. Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
16 lines
441 B
HCL
16 lines
441 B
HCL
data "aws_ami" "xenial_ami" {
|
|
most_recent = true
|
|
owners = ["099720109477"]
|
|
filter {
|
|
name = "name"
|
|
values = ["*ubuntu-xenial-16.04*"]
|
|
}
|
|
filter {
|
|
name = "virtualization-type"
|
|
values = ["hvm"]
|
|
}
|
|
filter {
|
|
name = "root-device-type"
|
|
values = ["ebs"]
|
|
}
|
|
}
|