Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
errm committed Jun 13, 2023
1 parent 9d9a100 commit 6f09b9f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fargate.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ resource "aws_eks_fargate_profile" "fargate" {
for_each = var.fargate_namespaces
cluster_name = aws_eks_cluster.control_plane.name
fargate_profile_name = "Karpenter-${var.name}"
pod_execution_role_arn = aws_iam_role.karpenter_fargate.arn
pod_execution_role_arn = aws_iam_role.fargate.arn
subnet_ids = values(var.vpc_config.private_subnet_ids)

selector {
Expand Down
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ locals {
mapRoles = yamlencode(concat(
[
{
rolearn = aws_iam_role.karpenter_fargate.arn
rolearn = aws_iam_role.fargate.arn
username = "system:node:{{SessionName}}"
groups = [
"system:bootstrappers",
Expand Down

0 comments on commit 6f09b9f

Please sign in to comment.