mirror of
https://codeberg.org/scottslowe/learning-tools.git
synced 2026-03-11 09:04:37 +00:00
Add Terraform configuration files for launching an instance in a new VPC on a new subnet, with a new Internet gateway, new route table, and new route table association (all required when creating a new VPC). Signed-off-by: Scott S. Lowe <scott.lowe@scottlowe.org>
18 lines
456 B
HCL
18 lines
456 B
HCL
data "aws_ami" "coreos_stable" {
|
|
filter {
|
|
name = "root-device-type"
|
|
values = ["ebs"]
|
|
}
|
|
filter {
|
|
name = "architecture"
|
|
values = ["x86_64"]
|
|
}
|
|
filter {
|
|
name = "virtualization-type"
|
|
values = ["hvm"]
|
|
}
|
|
filter {
|
|
name = "name"
|
|
values = ["*1185.3.0*"]
|
|
}
|
|
}
|