role
dza89/role/irsa
Terraform module to generate a role with IRSA configured
Getting Started Helm example Run Terraform with the example configuration. ``tf module "aws_load_balancer_controller" { source = "dza89/role/irsa" policy_body = tostring(file("${path.module}/aws-policy.json")) irsa_name = "aws-load-balancer-controller" cluster_name = var.cluster_name namespace = helm_release.aws_load_balancer_controller.metadata[0].namespace } resource "helm_release" "aws_load_balancer_controller" { name = "aws-load-balancer-controller" repository = "https://aws.github.io/eks-charts" chart = "aws-load-balancer-controller" namespace = "kube-system" create_namespace = "true" wait = true version = var.aws_load_balancer_controller_version values = [ "${file("values.yaml")}", ] set { name = "serviceAccount.annotations.eks\\.amazonaws\\.com/role-arn" value = tostring(module.aws_
| Name | Type | Description | Default |
|---|---|---|---|
| policy_body | string | required | |
| irsa_name | string | required | |
| cluster_name | string | required | |
| namespace | string | required |
iam_role_arn