Terraform module which creates Kubernetes EFS CSI driver resources on AWS EKS.
Based on the original repo for the EFS CSI driver
module "efs_csi_driver" {
source = "DrFaust92/efs-csi-driver/kubernetes"
version = "<VERSION>"
}
Name | Version |
---|---|
terraform | >= 0.12.6 |
aws | >= 4.48.0 |
kubernetes | >= 2.16.1 |
Name | Version |
---|---|
aws | 4.64.0 |
kubernetes | 2.20.0 |
Name | Source | Version |
---|---|---|
iam_assumable_role_with_oidc | terraform-aws-modules/iam/aws//modules/iam-assumable-role-with-oidc | ~> 5.0 |
Name | Type |
---|---|
aws_iam_policy.efs_controller_policy | resource |
kubernetes_cluster_role.efs_csi_external_provisioner_role | resource |
kubernetes_cluster_role_binding.efs_csi_provisioner_binding | resource |
kubernetes_csi_driver_v1.efs_csi_aws_com | resource |
kubernetes_daemonset.efs_csi_node | resource |
kubernetes_deployment.efs_csi_controller | resource |
kubernetes_secret.csi_controller | resource |
kubernetes_secret.csi_node | resource |
kubernetes_service_account.csi_controller | resource |
kubernetes_service_account.csi_node | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
csi_controller_replica_count | Number of EFS CSI driver controller pods | number |
2 |
no |
delete_access_point_root_dir | Wheter to delete the access point root dir | bool |
false |
no |
driver_release | The EFS CSI driver release version | string |
"v1.5.3" |
no |
log_level | The log level for the CSI Driver controller | number |
2 |
no |
namespace | Namespace for EFS CSI driver resources | string |
"kube-system" |
no |
node_selector | NodeSelector map | map(string) |
{} |
no |
oidc_url | EKS OIDC provider URL, to allow pod to assume role using IRSA | string |
"" |
no |
tags | A map of tags to add to all resources | map(string) |
{} |
no |
Name | Description |
---|---|
efs-csi_driver_controller_role_name | The Name of the EBS CSI driver controller IAM role name |
efs_csi_driver_controller_role_arn | The Name of the EBS CSI driver controller IAM role ARN |
efs_csi_driver_controller_role_policy_arn | The Name of the EBS CSI driver controller IAM role policy ARN |
efs_csi_driver_controller_role_policy_name | The Name of the EBS CSI driver controller IAM role policy name |
efs_csi_driver_name | The Name of the EBS CSI driver |