Skip to content

Commit

Permalink
removed default true options
Browse files Browse the repository at this point in the history
  • Loading branch information
morga471 committed Jun 16, 2026
1 parent a0fd328 commit 310f407
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,13 @@ locals {
module "karpenter_resources" {
source = "git::https://github.e.it.census.gov/SCT-Engineering/terraform-aws-eks.git//modules/karpenter?ref=v21.23.0"

cluster_name = var.cluster_name
enable_inline_policy = true
create_access_entry = true
create_instance_profile = true
create_node_iam_role = true
create_pod_identity_association = true
namespace = var.namespace
node_iam_role_name = local.node_iam_role_name
queue_name = local.queue_name
rule_name_prefix = local.rule_name_prefix
cluster_name = var.cluster_name
enable_inline_policy = true
create_instance_profile = true
namespace = var.namespace
node_iam_role_name = local.node_iam_role_name
queue_name = local.queue_name
rule_name_prefix = local.rule_name_prefix
# Attach additional IAM policies to the Karpenter node IAM role
node_iam_role_additional_policies = {
AmazonSSMManagedInstanceCore = format("arn:%v:iam::%v:%v", data.aws_arn.current.partition, "aws", "policy/AmazonSSMManagedInstanceCore")
Expand Down

0 comments on commit 310f407

Please sign in to comment.