- Updated environment name. - Updated variables. - AKS service principal creds moved to the operator Key Vault.
82 lines
1.3 KiB
HCL
82 lines
1.3 KiB
HCL
variable "environment" {
|
|
default = "jedidev"
|
|
}
|
|
|
|
variable "region" {
|
|
default = "eastus"
|
|
|
|
}
|
|
|
|
variable "backup_region" {
|
|
default = "westus2"
|
|
}
|
|
|
|
|
|
variable "owner" {
|
|
default = "dev"
|
|
}
|
|
|
|
variable "name" {
|
|
default = "cloudzero"
|
|
}
|
|
|
|
variable "virtual_network" {
|
|
type = string
|
|
default = "10.1.0.0/16"
|
|
}
|
|
|
|
|
|
variable "networks" {
|
|
type = map
|
|
default = {
|
|
#format
|
|
#name = "CIDR, route table, Security Group Name"
|
|
public = "10.1.1.0/24,public" # LBs
|
|
private = "10.1.2.0/24,private" # k8s, postgres, redis, dns, ad
|
|
}
|
|
}
|
|
|
|
variable "gateway_subnet" {
|
|
type = string
|
|
default = "10.1.20.0/24"
|
|
}
|
|
|
|
|
|
variable "route_tables" {
|
|
description = "Route tables and their default routes"
|
|
type = map
|
|
default = {
|
|
public = "Internet"
|
|
private = "Internet"
|
|
#private = "VnetLocal"
|
|
}
|
|
}
|
|
|
|
variable "dns_servers" {
|
|
type = list
|
|
default = []
|
|
}
|
|
|
|
variable "k8s_node_size" {
|
|
type = string
|
|
default = "Standard_A1_v2"
|
|
}
|
|
|
|
variable "k8s_dns_prefix" {
|
|
type = string
|
|
default = "atat"
|
|
}
|
|
|
|
variable "tenant_id" {
|
|
type = string
|
|
default = "47f616e9-6ff5-4736-9b9e-b3f62c93a915"
|
|
}
|
|
|
|
variable "admin_users" {
|
|
type = map
|
|
default = {
|
|
"Rob Gil" = "cef37d01-1acf-4085-96c8-da9d34d0237e"
|
|
"Dan Corrigan" = "7e852ceb-eb0d-49b1-b71e-e9dcd1082ffc"
|
|
}
|
|
}
|