Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
morga471 committed Nov 8, 2024
1 parent 03dc15d commit 204e81c
Show file tree
Hide file tree
Showing 10 changed files with 52 additions and 8 deletions.
2 changes: 2 additions & 0 deletions lab/_envcommon/aws-provider.hcl
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# lab/_envcommon/aws-provider.hcl

include "root" {
path = find_in_parent_folders("root.hcl")
merge_strategy = "deep"
Expand Down
2 changes: 2 additions & 0 deletions lab/_envcommon/common-variables.hcl
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# lab/_envcommon/common-variables.hcl

# ---------------------------------------------------------------------------------------------------------------------
# GLOBAL PARAMETERS
# These are the variables we pass to use across modules regardless of environment, i.e. these are the parameters
Expand Down
7 changes: 4 additions & 3 deletions lab/_envcommon/default-versions.hcl
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# lab/_envcommon/default-versions.hcl

locals {
#####################
# Module Versions
#####################
cluster_version = "1.30.0"
cluster_version = "1.30"
custom_service_eks_account = "${local.release_version}"
eks_module_version = "20.28.0"
istio_ingress_version = "${local.release_version}"
Expand All @@ -30,7 +31,7 @@ locals {
################
dashboard_hostname = "dashboard"
k8s_dashboard_metrics_scraper = "1.0.8"
k8s_dashboard_version = "2.7.0"
k8s_dashboard_version = "6.0.6"

################
# Cert-Manager
Expand Down Expand Up @@ -102,5 +103,5 @@ locals {
# Tempo
################
tempo_chart_version = "1.10.3"
tempo_tag = "2.5.0"
tempo_tag = "2.5.0"
}
4 changes: 3 additions & 1 deletion lab/development/account.hcl
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# lab/development/account.hcl

# Set account-wide variables. These are automatically pulled in to configure the remote state bucket in the root
# terragrunt.hcl configuration. Terragrunt often segments account and environment, but given our strategy is to
# leverage accounts as environment boundaries, there is an anticipated 1:1 account to environment model that
Expand All @@ -8,4 +10,4 @@ locals {
aws_profile = "224384469011-lab-dev-gov"
environment = "development"
environment_abbr = "dev"
}
}
4 changes: 3 additions & 1 deletion lab/development/us-gov-east-1/region.hcl
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# lab/development/us-gov-east-1/region.hcl

# Set common variables for the region. This is automatically pulled in in the root terragrunt.hcl configuration to
# configure the remote state bucket and pass forward to the child modules as inputs.
locals {
aws_region = "us-gov-east-1"
}
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# lab/development/us-gov-east-1/vpc/platform-eng-eks-mcm/cluster.hcl

# Set cluster specific variables. These are automatically pulled in to configure the remote state bucket in the root
# terragrunt.hcl configuration.
locals {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ inputs = {
oidc_provider_arn = dependency.eks.outputs.oidc_provider_arn
prometheus_port = dependency.eks-prometheus.outputs.prometheus_server_internal_endpoint.port_number
prometheus_namespace = dependency.eks-prometheus.outputs.prometheus_namespace
tempo_chart_version = include.root.inputs.tempo_chart_version
tempo_tag = include.root.inputs.tempo_tag
tempo_chart_version = include.root.inputs.tempo_chart_version
tempo_tag = include.root.inputs.tempo_tag

}
4 changes: 3 additions & 1 deletion lab/development/us-gov-east-1/vpc/vpc.hcl
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# lab/development/us-gov-east-1/vpc/vpc.hcl

# Set VPC specific variables. These are automatically pulled in to configure the remote state bucket in the root
# terragrunt.hcl configuration.
locals {
vpc_name = "vpc3-lab-dev"
vpc_domain_name = "dev.lab.csp2.census.gov"
}
}
2 changes: 2 additions & 0 deletions lab/root.hcl
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# lab/root.hcl

# ---------------------------------------------------------------------------------------------------------------------
# TERRAGRUNT CONFIGURATION
# Terragrunt is a thin wrapper for Terraform that provides extra tools for working with multiple Terraform modules,
Expand Down
29 changes: 29 additions & 0 deletions mcmcluster.hcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
locals {
account_name = "lab-dev-ew"
aws_account_id = "224384469011"
aws_profile = "224384469011-lab-dev-gov"
aws_region = "us-gov-east-1"
cluster_endpoint_public_access = true
cluster_name = "platform-eng-eks-mcm"
creator = "matthew.c.morgan@census.gov"
eks_instance_disk_size = 100
eks_ng_desired_size = 2
eks_ng_max_size = 10
eks_ng_min_size = 0
enable_cluster_creator_admin_permissions = true
environment = "development"
environment_abbr = "dev"
terraform = true
terragrunt = true
vpc_domain_name = "dev.lab.csp2.census.gov"
vpc_name = "vpc3-lab-dev"
tags = {
"slim:schedule" = "8:00-17:00"
"cluster:size" = "min:${local.eks_ng_min_size}-max:${local.eks_ng_max_size}-desired:${local.eks_ng_desired_size}"
}





}

0 comments on commit 204e81c

Please sign in to comment.