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

From wikieduonline
Jump to navigation Jump to search
Line 13: Line 13:
  
 
== Related ==
 
== Related ==
* [[Terraform EKS module]]
+
* [[Terraform EKS module]]: <code>[[enable_irsa]]</code>
 
 
  
 
== See also ==
 
== See also ==

Revision as of 17:40, 20 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"]
}

Related

See also

Advertising: