Skip to content

Commit

Permalink
karpenter changes
Browse files Browse the repository at this point in the history
  • Loading branch information
morga471 committed Jul 30, 2024
1 parent ad2a79f commit 50275b7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ inputs = {
profile = dependency.eks.inputs.profile
vpc_id = dependency.eks.outputs.vpc_id
cluster_name = dependency.eks.inputs.cluster_name
cluster_autoscaler_role_name = dependency.eks.outputs.cluster_autoscaler_role_name
# cluster_autoscaler_role_name = dependency.eks.outputs.cluster_autoscaler_role_name
subnets = dependency.eks.outputs.subnets
security_group_all_worker_mgmt_id = dependency.eks.outputs.security_group_all_worker_mgmt_id
eks_managed_node_groups_autoscaling_group_names = dependency.eks.outputs.eks_managed_node_groups_autoscaling_group_names
Expand Down
6 changes: 5 additions & 1 deletion lab/us-gov-east-1/vpc/_mcmCluster/eks/terragrunt.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ include "root" {
}

locals {
account_vars = read_terragrunt_config(find_in_parent_folders("account.hcl"))
region_vars = read_terragrunt_config(find_in_parent_folders("region.hcl"))
# In which AWS region are operations being performed
account_id = local.account_vars.locals.aws_account_id
vpc_name = "vpc3-lab-dev"
cluster_name = "platform-eng-eks-mcm"
cluster_version = "1.30"
Expand All @@ -14,7 +16,7 @@ locals {
eks_vpc_name = "vpc3-lab-dev"
eks_ng_desired_size = 3
eks_ng_max_size = 10
eks_ng_min_size = 0
eks_ng_min_size = 1
operators_ns = "operators"
enable_cluster_creator_admin_permissions = true
cluster_endpoint_public_access = true
Expand Down Expand Up @@ -60,6 +62,7 @@ terraform {
}

inputs = {
aws_account_id = local.account_id
profile = local.profile
vpc_name = local.eks_vpc_name
cluster_name = local.cluster_name
Expand All @@ -79,4 +82,5 @@ inputs = {
region = local.region
creator = local.cluster_mailing_list
os_username = local.cluster_mailing_list
shared_vpc_label = "dev"
}

0 comments on commit 50275b7

Please sign in to comment.