66 lines
1.6 KiB
HCL
66 lines
1.6 KiB
HCL
variable "region" {
|
|
type = string
|
|
description = "AWS Region"
|
|
}
|
|
|
|
variable "availability_zones" {
|
|
type = list(string)
|
|
}
|
|
|
|
variable "vpc_cidr_block" {
|
|
type = string
|
|
description = "VPC CIDR block"
|
|
}
|
|
|
|
variable "prefix" {
|
|
type = string
|
|
description = "Namespace, which could be your organization name, e.g. 'eg' or 'cp'"
|
|
}
|
|
|
|
variable "stage" {
|
|
type = string
|
|
description = "Stage, e.g. 'prod', 'staging', 'dev' or 'testing'"
|
|
}
|
|
|
|
variable "name" {
|
|
type = string
|
|
description = "Solution name, e.g. 'app' or 'cluster'"
|
|
}
|
|
|
|
variable "delimiter" {
|
|
type = string
|
|
default = "-"
|
|
description = "Delimiter to be used between `name`, `namespace`, `stage`, etc."
|
|
}
|
|
|
|
variable "attributes" {
|
|
type = list(string)
|
|
default = []
|
|
description = "Additional attributes (e.g. `1`)"
|
|
}
|
|
|
|
variable "tags" {
|
|
type = map(string)
|
|
default = {}
|
|
description = "Additional tags (e.g. `map('BusinessUnit`,`XYZ`)"
|
|
}
|
|
|
|
### Bastion Server Settings ###
|
|
variable "bastion_instance_type" {
|
|
type = string
|
|
description = "EC2 type for bastion"
|
|
}
|
|
|
|
variable "bastion_ami" {
|
|
type = string
|
|
}
|
|
|
|
variable "keyname" {
|
|
type = string
|
|
default = ""
|
|
}
|
|
|
|
variable "public_keyname" {
|
|
default = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDboPfi18b0We79c6mqQui+iPPL0KqUWIdm02hb6RyQ67buYPik6KRAin8hiwvgVHyBF3sdnDsaP9snSFq2QQXUtdB5MxHplIJSbdd/oREtTXHCc9OfhGEuJDqQ8ViHj1ApYlLNIohHAhJkVywkpMhLUHqLZ2DXhwVjM9XDHx0aoImwcyczzU9e4T8jtvLB+PlDRNxvCrKuf6Ir6sd1u9vHWQYR4kV61T3Z/VaeRPSF5Y50IF5ECTrNoQeR0NSRIrY6g4/hZzMisLxpybtO44jkZ7OPVwhAjfZgTTZYnrrSkdoL8HYbaEuKZC/WPvoCOfq5eF4ydpwUQomzeCD9pnOX pderuiter@MacBook-Pro-van-Patrick.local"
|
|
}
|