diff --git a/dns_zones.tf b/dns_zones.tf index 55284df..e6f6c6c 100644 --- a/dns_zones.tf +++ b/dns_zones.tf @@ -1,5 +1,5 @@ locals { - vpc_domain_name = coalesce(var.domain, var.vpc_domain_name) + vpc_domain_name = var.vpc_domain_name cluster_domain_name = format("%v.%v", var.cluster_name, local.vpc_domain_name) cluster_domain_description = format("%v EKS Cluster DNS Zone", var.cluster_name) } diff --git a/variables.tf b/variables.tf index 272ee46..5a9d599 100644 --- a/variables.tf +++ b/variables.tf @@ -119,6 +119,12 @@ variable "aws_environment" { default = "" } +variable "os_username" { + description = "OS username from environment variable, ideally as $USER" + type = string + default = null +} + ################################################################### # DNS variables ################################################################### @@ -144,6 +150,12 @@ variable "main_dns_profile" { # default = "" # } +variable "shared_vpc_label" { + description = "Label to use for shared VPC for flowlogs and other things" + type = string + default = null +} + variable "region_map" { description = "AWS region map" type = map(string)