shockrah
87f7daed2b
The idea with this is to centralize the variables so that they are easier to find and configure. The old way was scattered and lead to being unclear. There is also much more documentation added with this patch for clarity-sake
81 lines
1.7 KiB
HCL
81 lines
1.7 KiB
HCL
# All variables that are used in various places go here
|
|
|
|
######################### General provider specific values
|
|
|
|
variable "aws_key" {
|
|
description = "Access Key for AWS operations"
|
|
type = string
|
|
sensitive = true
|
|
}
|
|
|
|
variable "aws_secret" {
|
|
description = "Secret Key for AWS operations"
|
|
type = string
|
|
sensitive = true
|
|
}
|
|
|
|
variable "aws_region" {
|
|
description = "Region where the VPC is located"
|
|
type = string
|
|
sensitive = true
|
|
}
|
|
|
|
######################### Alpha variables
|
|
|
|
variable "alpha_ssh_key_name" {
|
|
description = "Alpha ssh keyname"
|
|
type = string
|
|
sensitive = true
|
|
}
|
|
variable "alpha_public_key_path" {
|
|
description = "Alpha's path t key on local disk"
|
|
type = string
|
|
sensitive = true
|
|
}
|
|
variable "alpha_instance_type" {
|
|
description = "Alpha instance type(larger than beta due to docker requirement"
|
|
type = string
|
|
sensitive = true
|
|
}
|
|
|
|
variable "alpha_ami_id" {
|
|
description = "AMI type for the docker host"
|
|
type = string
|
|
}
|
|
|
|
######################### Beta variables
|
|
variable "beta_ssh_key_name" {
|
|
description = "SSH Key name for static web host"
|
|
type = string
|
|
sensitive = true
|
|
}
|
|
variable "beta_public_key_path" {
|
|
description = "Pub key path on disk"
|
|
type = string
|
|
sensitive = true
|
|
}
|
|
variable "beta_instance_type" {
|
|
description = "Host machine type"
|
|
type = string
|
|
}
|
|
variable "beta_ami_id" {
|
|
description = "AMI type for the static web host"
|
|
type = string
|
|
}
|
|
|
|
######################### Subnet variables
|
|
variable "crete_cidr" {
|
|
description = "CIDR block for the servers themselves"
|
|
type = string
|
|
}
|
|
variable "athens_availability_zone" {
|
|
description = "Availability zone for Project Bucket"
|
|
type = string
|
|
}
|
|
|
|
######################### VPC variables
|
|
variable "athens_cidr" {
|
|
description = "VPC Subnet CIDR block"
|
|
type = string
|
|
}
|