Usage
module "irsa" {
source = "github.com/fencepencil/fencepencil-aws-modules//irsa"
name = "<name>"
oidc_provider_arn = "<oidc_provider_arn>"
oidc_provider_url = "<oidc_provider_url>"
namespace = "<namespace>"
service_account = "<service_account>"
tags = var.tags
}Inputs (7)
| Name | Type | Description | Default | Required |
|---|---|---|---|---|
name | string | Name of the IAM role | — | yes |
oidc_provider_arn | string | ARN of the EKS OIDC provider | — | yes |
oidc_provider_url | string | URL of the EKS OIDC provider | — | yes |
namespace | string | Kubernetes namespace | — | yes |
service_account | string | Kubernetes service account name | — | yes |
policy_arns | list(string) | IAM policy ARNs to attach | [] | no |
tags | map(string) | Tags to apply to all resources | {} | no |
Outputs (2)
| Name | Description |
|---|---|
role_arn | ARN of the IAM role |
role_name | Name of the IAM role |