aws_efs_kube
Creates an efs volume and mounts it to a kubernetes cluster as a persistent volume.
Terraform Module Source
module "aws_efs_kube" {
source = "https://tfmodules.matillion-cto.matillion.com/aws_efs_kube.tar.gz"
...
}
Resources
Name | Type |
---|---|
aws_efs_file_system.efs | resource |
aws_efs_mount_target.mount_target | resource |
aws_iam_policy.policy | resource |
aws_kms_key.new_key | resource |
aws_security_group.efs_security_group | resource |
aws_vpc_security_group_ingress_rule.efs_inbound | resource |
kubernetes_persistent_volume_claim_v1.pvc | resource |
kubernetes_persistent_volume_v1.pv | resource |
aws_iam_policy_document.efs_policy | data source |
Inputs
Name | Description | Type | Default | Required |
---|---|---|---|---|
kube_config | n/a | object({ | n/a | yes |
kube_namespace | n/a | string | n/a | yes |
name | n/a | string | n/a | yes |
create_service_role | n/a | bool | true | no |
creation_token | n/a | string | "" | no |
efs_name | n/a | string | "" | no |
efs_throughput_mode | n/a | string | "bursting" | no |
encrypted | n/a | bool | true | no |
kms_key_arn | n/a | string | "" | no |
pv_capacity_storage | n/a | string | "100Gi" | no |
pv_name | n/a | string | "" | no |
pvc_name | n/a | string | "" | no |
pvc_request_storage | n/a | string | "1Gi" | no |
sg_name | n/a | string | "" | no |
Outputs
Name | Description |
---|---|
claim | n/a |
efs_id | n/a |
pvc_name | n/a |
service_role_name | n/a |
service_role_policy | n/a |