Terraform module: ebs csi irsa role

From wikieduonline
Revision as of 08:43, 22 March 2023 by Newworld3 (talk | contribs)
Jump to navigation Jump to search
.../...
service_account_role_arn = module.ebs_csi_irsa_role.iam_role_arn
.../...
module "ebs_csi_irsa_role" {
 source = "terraform-aws-modules/iam/aws//modules/iam-role-for-service-accounts-eks"

 role_name             = "${var.cluster_name}-ebs-csi"
 attach_ebs_csi_policy = true

 oidc_providers = {
   ex = {
     provider_arn               = module.eks.oidc_provider_arn
     namespace_service_accounts = ["kube-system:ebs-csi-controller-sa"]
   }
 }
}


Related

Error: Invalid module source address

See also

Advertising: