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>
29 lines
827 B
HCL
29 lines
827 B
HCL
variable "key_pair" {
|
|
type = "string"
|
|
description = "SSH keypair to use to connect to instance(s)"
|
|
}
|
|
|
|
variable "dest_vpc" {
|
|
type = "string"
|
|
description = "VPC ID for launched instance(s)"
|
|
}
|
|
|
|
variable "sec_grp" {
|
|
type = "string"
|
|
description = "Security group ID for group to be applied to instance(s)"
|
|
}
|
|
|
|
variable "user_region" {
|
|
type = "string"
|
|
description = "AWS region to use for new resources"
|
|
}
|
|
|
|
variable "dest_subnet" {
|
|
type = "string"
|
|
description = "Subnet ID for launched instance(s)"
|
|
}
|
|
|
|
variable "instance_type" {
|
|
type = "string"
|
|
description = "Type to use for launched instance(s)"
|
|
}
|