mirror of
https://codeberg.org/scottslowe/learning-tools.git
synced 2026-03-11 09:04:37 +00:00
Remove hard-coded variables and move to `terraform.tfvars` for better portability. Rename variables file for greater consistency across environments. Add output to display IP address of spawned EC2 instance. Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
19 lines
556 B
HCL
19 lines
556 B
HCL
variable "user_region" {
|
|
type = "string"
|
|
description = "AWS region in which to create all resources"
|
|
}
|
|
|
|
variable "keypair" {
|
|
type = "string"
|
|
description = "AWS SSH keypair to use to connect to instances"
|
|
}
|
|
|
|
variable "flavor" {
|
|
type = "string"
|
|
description = "AWS type to use when creating instances"
|
|
}
|
|
|
|
variable "sec-group" {
|
|
type = "string"
|
|
description = "AWS security group to apply to instances"
|
|
}
|