Skip to content

Commit

Permalink
Update main.tf
Browse files Browse the repository at this point in the history
Fixed issue with expected map(string) for karpenter additional IAM policies
  • Loading branch information
normalfaults authored Oct 11, 2023
1 parent 7935cd8 commit 87a65e0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ai-ml/ray/terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,9 @@ module "karpenter" {
cluster_name = module.eks.cluster_name
irsa_oidc_provider_arn = module.eks.oidc_provider_arn
create_irsa = false # IRSA will be created by the kubernetes-addons module
iam_role_additional_policies = [module.karpenter_policy.arn]
iam_role_additional_policies = {
additional_policy = module.karpenter_policy.arn
}

tags = local.tags
}
Expand Down

0 comments on commit 87a65e0

Please sign in to comment.