mirror of
https://codeberg.org/scottslowe/learning-tools.git
synced 2026-03-11 09:04:37 +00:00
Add a simple Terraform configuration to spin up an Ubuntu 14.04 EC2 instance in the default VPC using the default security group. Signed-off-by: Scott S. Lowe <scott.lowe@scottlowe.org>
17 lines
538 B
HCL
17 lines
538 B
HCL
variable "keypair" {
|
|
type = "string"
|
|
description = "AWS SSH keypair to use to connect to instances"
|
|
default = "aws_rsa"
|
|
}
|
|
|
|
variable "flavor" {
|
|
type = "string"
|
|
description = "AWS type to use when creating instances"
|
|
default = "t2.micro"
|
|
}
|
|
|
|
variable "sec-group" {
|
|
type = "string"
|
|
description = "AWS security group to apply to instances"
|
|
default = "sg-7099b514"
|
|
}
|