Skip to content

Commit

Permalink
Prod changes (#8)
Browse files Browse the repository at this point in the history
* add prod vars

* cleanup

* fmt

* cleanup

* pass in env_abbr
  • Loading branch information
morga471 committed Jul 23, 2025
1 parent bbccd00 commit fa28d81
Show file tree
Hide file tree
Showing 4 changed files with 60 additions and 48 deletions.
35 changes: 31 additions & 4 deletions _envcommon/common-variables.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,40 @@
locals {
state_bucket_prefix = "inf-tfstate"
state_table_name = "tf_remote_state"
environment_abbr = "lab"
route53_endpoints = {
route53_main = {
"account_id" = local.route53_info[local.environment_abbr]["account_id"]
"alias" = local.route53_info[local.environment_abbr]["alias"]
"us-gov-east-1" = local.route53_info[local.environment_abbr]["us-gov-east-1"]
"us-gov-west-1" = local.route53_info[local.environment_abbr]["us-gov-west-1"]
}
route53_main_legacy = {
"account_id" = local.route53_info["legacy"]["account_id"]
"alias" = local.route53_info["legacy"]["alias"]
"us-gov-east-1" = local.route53_info["legacy"]["us-gov-east-1"]
"us-gov-west-1" = local.route53_info["legacy"]["us-gov-west-1"]
}
}
route53_info = {
lab = {
"account_id" = "269244441389"
"alias" = "lab-gov-network-nonprod"
"us-gov-east-1" = "vpc-070595c5b133243dd"
"us-gov-west-1" = "vpc-08b7b4db6a5ddf9c1"
}
prod = {
"account_id" = "057405694017"
"alias" = "ent-ew-network-prod"
"us-gov-east-1" = "vpc-061325b37d748d17a"
"us-gov-west-1" = "vpc-0b22b68b90e47cb5f"
}
legacy = {
"account_id" = "107742151971"
"alias" = "do2-govcloud"
"us-gov-east-1" = "vpc-099a991da7c4eb8a5"
"us-gov-west-1" = "vpc-77877a12"
}
}
enterprise_ecr_account = {
lab = {
Expand All @@ -31,9 +58,9 @@ locals {
}
}
eecr_info = {
account_id = local.enterprise_ecr_account.lab["account_id"]
alias = local.enterprise_ecr_account.lab["alias"]
profile = local.enterprise_ecr_account.lab["profile"]
region = local.enterprise_ecr_account.lab["region"]
account_id = local.enterprise_ecr_account[local.environment_abbr]["account_id"]
alias = local.enterprise_ecr_account[local.environment_abbr]["alias"]
profile = local.enterprise_ecr_account[local.environment_abbr]["profile"]
region = local.enterprise_ecr_account[local.environment_abbr]["region"]
}
}
59 changes: 28 additions & 31 deletions _envcommon/default-versions.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -7,41 +7,38 @@ locals {
#####################
# Module Versions
#####################
cluster_version = "1.32"
custom_service_eks_account = "1.0.0"
eks_module_version = "20.36.0"
istio_ingress_version = "0.1.3"
cluster_version = "1.32"
eks_module_version = "20.36.0"

module_versions = {
"2025.20.04" = {
"eks-arcgis" = false
"eks-cert-manager" = "0.1.9"
"eks-config" = "1.0.5"
"eks-cribl" = "initial"
"eks-dns" = "0.1.3"
"eks-gatekeeper" = "0.0.3"
"eks-grafana" = "0.1.5"
"eks-istio" = "1.0.9"
"tfmod-istio-service-ingress" = "0.1.6"
"eks-k8s-dashboard" = "0.1.4"
"eks-karpenter" = "0.1.6"
"eks-keycloak" = "0.0.8"
"eks-kiali" = "0.1.4"
"eks-loki" = "0.1.4"
"eks-metrics-server" = "0.1.4"
"eks-otel" = "0.0.4"
"eks-pipeline" = "initial"
"eks-postgresql" = false
"eks-prometheus" = "0.1.4"
"eks-tempo" = "0.1.4"
"eks" = "1.0.9"
"eks-arcgis" = false
"eks-cert-manager" = "0.1.9"
"eks-config" = "1.0.5"
"eks-cribl" = "0.0.1"
"eks-dns" = "0.1.3"
"eks-gatekeeper" = "0.0.3"
"eks-grafana" = "0.1.5"
"eks-istio" = "1.0.9"
"eks-k8s-dashboard" = "0.1.4"
"eks-karpenter" = "0.1.6"
"eks-keycloak" = "0.0.8"
"eks-kiali" = "0.1.4"
"eks-loki" = "0.1.4"
"eks-metrics-server" = "0.1.4"
"eks-otel" = "0.0.4"
"eks-pipeline" = "initial"
"eks-postgresql" = false
"eks-prometheus" = "0.1.4"
"eks-tempo" = "0.1.4"
"eks" = "1.0.9"
}
}

submodule_versions = {
"tfmod-istio-service-ingress" = "0.1.6"
"tfmod-config-job" = "0.1.8"

"tfmod-istio-service-ingress" = "0.1.6"
"tfmod-config-job" = "0.1.8"
"tfmod-custom-iam-role-for-service-account-eks" = "1.0.1"
}

#####################
Expand Down Expand Up @@ -71,7 +68,7 @@ locals {
"eks-loki" = true
"eks-otel" = true
"eks-pipeline" = false
"eks-postgresql" = true
"eks-postgresql" = false
"eks-prometheus" = true
"eks-tempo" = true
}
Expand Down Expand Up @@ -185,7 +182,7 @@ locals {
################
# Kiali
################
kiali_operator_version = "2.2.0"
kiali_operator_version = "2.12.0"
kiali_application_version = "v${local.kiali_operator_version}"

################
Expand Down Expand Up @@ -213,7 +210,7 @@ locals {
collector_version = "0.111.0-amd64"
otel_helm_version = "0.71.2"
otel_version = "0.110.0"
rbac_proxy_version = "v0.19.0"
rbac_proxy_version = "v0.18.1"

################
# PostgreSQL
Expand Down
1 change: 1 addition & 0 deletions environment/region/vpc/cluster/eks-dns/terragrunt.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ inputs = {

# Cluster Configuration
cluster_name = include.root.inputs.cluster_name
environment_abbr = include.root.inputs.environment_abbr

# Network Configuration
istio_ingress_lb = dependency.eks-istio.outputs.istio_ingress_lb
Expand Down
13 changes: 0 additions & 13 deletions environment/region/vpc/cluster/eks/terragrunt-debug.tfvars.json

This file was deleted.

0 comments on commit fa28d81

Please sign in to comment.