Difference between revisions of "Terraform irsa-ebs-csi module"

From wikieduonline
Jump to navigation Jump to search
Line 7: Line 7:
 
   create_role                  = true
 
   create_role                  = true
 
   role_name                    = "AmazonEKSTFEBSCSIRole-${module.eks.cluster_name}"
 
   role_name                    = "AmazonEKSTFEBSCSIRole-${module.eks.cluster_name}"
   provider_url                  = module.eks.oidc_provider
+
   provider_url                  = [[module.eks.oidc_provider]]
 
   role_policy_arns              = [data.aws_iam_policy.ebs_csi_policy.arn]
 
   role_policy_arns              = [data.aws_iam_policy.ebs_csi_policy.arn]
 
   oidc_fully_qualified_subjects = ["system:serviceaccount:kube-system:ebs-csi-controller-sa"]
 
   oidc_fully_qualified_subjects = ["system:serviceaccount:kube-system:ebs-csi-controller-sa"]

Revision as of 15:19, 11 February 2024


module "irsa-ebs-csi" {
  source  = "terraform-aws-modules/iam/aws//modules/iam-assumable-role-with-oidc"
  version = "4.7.0"

  create_role                   = true
  role_name                     = "AmazonEKSTFEBSCSIRole-${module.eks.cluster_name}"
  provider_url                  = module.eks.oidc_provider
  role_policy_arns              = [data.aws_iam_policy.ebs_csi_policy.arn]
  oidc_fully_qualified_subjects = ["system:serviceaccount:kube-system:ebs-csi-controller-sa"]
}



EKS: IRSA, Module: ebs_csi_irsa_role, enable_irsa

Amazon EBS CSI driver: aws-ebs-csi-driver, ebs_csi_irsa_role, ebs-csi-controller, ebs-csi-node

Advertising: