{"id":19978374,"url":"https://github.com/geekcell/terraform-aws-efs","last_synced_at":"2026-05-10T01:58:18.400Z","repository":{"id":150854494,"uuid":"598531555","full_name":"geekcell/terraform-aws-efs","owner":"geekcell","description":"Terraform module to provision an AWS EFS.","archived":false,"fork":false,"pushed_at":"2024-02-15T11:47:42.000Z","size":47,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-01T18:48:52.179Z","etag":null,"topics":["aws","efs","efs-backup","terraform","terraform-module"],"latest_commit_sha":null,"homepage":"https://www.geekcell.io","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/geekcell.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-07T09:57:42.000Z","updated_at":"2023-05-11T12:55:46.000Z","dependencies_parsed_at":"2024-02-15T12:50:41.773Z","dependency_job_id":null,"html_url":"https://github.com/geekcell/terraform-aws-efs","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":"geekcell/terraform-aws-module-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geekcell%2Fterraform-aws-efs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geekcell%2Fterraform-aws-efs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geekcell%2Fterraform-aws-efs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geekcell%2Fterraform-aws-efs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/geekcell","download_url":"https://codeload.github.com/geekcell/terraform-aws-efs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241411542,"owners_count":19958753,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","efs","efs-backup","terraform","terraform-module"],"created_at":"2024-11-13T03:33:13.071Z","updated_at":"2025-11-27T02:02:27.322Z","avatar_url":"https://github.com/geekcell.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- BEGIN_TF_DOCS --\u003e\n[![Geek Cell GmbH](https://raw.githubusercontent.com/geekcell/.github/main/geekcell-github-banner.png)](https://www.geekcell.io/)\n\n### Code Quality\n[![License](https://img.shields.io/github/license/geekcell/terraform-aws-efs)](https://github.com/geekcell/terraform-aws-efs/blob/master/LICENSE)\n[![GitHub release (latest tag)](https://img.shields.io/github/v/release/geekcell/terraform-aws-efs?logo=github\u0026sort=semver)](https://github.com/geekcell/terraform-aws-efs/releases)\n[![Release](https://github.com/geekcell/terraform-aws-efs/actions/workflows/release.yaml/badge.svg)](https://github.com/geekcell/terraform-aws-efs/actions/workflows/release.yaml)\n[![Validate](https://github.com/geekcell/terraform-aws-efs/actions/workflows/validate.yaml/badge.svg)](https://github.com/geekcell/terraform-aws-efs/actions/workflows/validate.yaml)\n[![Lint](https://github.com/geekcell/terraform-aws-efs/actions/workflows/linter.yaml/badge.svg)](https://github.com/geekcell/terraform-aws-efs/actions/workflows/linter.yaml)\n\n\u003c!--\nComment in these badges if they apply to the repository.\n\n### Security\n[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-efs/general)](https://www.bridgecrew.cloud/link/badge?vcs=github\u0026fullRepo=geekcell%2Fterraform-aws-efs\u0026benchmark=INFRASTRUCTURE+SECURITY)\n\n#### Cloud\n[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-efs/cis_aws)](https://www.bridgecrew.cloud/link/badge?vcs=github\u0026fullRepo=geekcell%2Fterraform-aws-efs\u0026benchmark=CIS+AWS+V1.2)\n[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-efs/cis_aws_13)](https://www.bridgecrew.cloud/link/badge?vcs=github\u0026fullRepo=geekcell%2Fterraform-aws-efs\u0026benchmark=CIS+AWS+V1.3)\n[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-efs/cis_azure)](https://www.bridgecrew.cloud/link/badge?vcs=github\u0026fullRepo=geekcell%2Fterraform-aws-efs\u0026benchmark=CIS+AZURE+V1.1)\n[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-efs/cis_azure_13)](https://www.bridgecrew.cloud/link/badge?vcs=github\u0026fullRepo=geekcell%2Fterraform-aws-efs\u0026benchmark=CIS+AZURE+V1.3)\n[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-efs/cis_gcp)](https://www.bridgecrew.cloud/link/badge?vcs=github\u0026fullRepo=geekcell%2Fterraform-aws-efs\u0026benchmark=CIS+GCP+V1.1)\n\n##### Container\n[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-efs/cis_kubernetes_16)](https://www.bridgecrew.cloud/link/badge?vcs=github\u0026fullRepo=geekcell%2Fterraform-aws-efs\u0026benchmark=CIS+KUBERNETES+V1.6)\n[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-efs/cis_eks_11)](https://www.bridgecrew.cloud/link/badge?vcs=github\u0026fullRepo=geekcell%2Fterraform-aws-efs\u0026benchmark=CIS+EKS+V1.1)\n[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-efs/cis_gke_11)](https://www.bridgecrew.cloud/link/badge?vcs=github\u0026fullRepo=geekcell%2Fterraform-aws-efs\u0026benchmark=CIS+GKE+V1.1)\n[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-efs/cis_kubernetes)](https://www.bridgecrew.cloud/link/badge?vcs=github\u0026fullRepo=geekcell%2Fterraform-aws-efs\u0026benchmark=CIS+KUBERNETES+V1.5)\n\n#### Data protection\n[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-efs/soc2)](https://www.bridgecrew.cloud/link/badge?vcs=github\u0026fullRepo=geekcell%2Fterraform-aws-efs\u0026benchmark=SOC2)\n[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-efs/pci)](https://www.bridgecrew.cloud/link/badge?vcs=github\u0026fullRepo=geekcell%2Fterraform-aws-efs\u0026benchmark=PCI-DSS+V3.2)\n[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-efs/pci_dss_v321)](https://www.bridgecrew.cloud/link/badge?vcs=github\u0026fullRepo=geekcell%2Fterraform-aws-efs\u0026benchmark=PCI-DSS+V3.2.1)\n[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-efs/iso)](https://www.bridgecrew.cloud/link/badge?vcs=github\u0026fullRepo=geekcell%2Fterraform-aws-efs\u0026benchmark=ISO27001)\n[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-efs/nist)](https://www.bridgecrew.cloud/link/badge?vcs=github\u0026fullRepo=geekcell%2Fterraform-aws-efs\u0026benchmark=NIST-800-53)\n[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-efs/hipaa)](https://www.bridgecrew.cloud/link/badge?vcs=github\u0026fullRepo=geekcell%2Fterraform-aws-efs\u0026benchmark=HIPAA)\n[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-efs/fedramp_moderate)](https://www.bridgecrew.cloud/link/badge?vcs=github\u0026fullRepo=geekcell%2Fterraform-aws-efs\u0026benchmark=FEDRAMP+%28MODERATE%29)\n\n--\u003e\n\n\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| \u003ca name=\"input_access_points\"\u003e\u003c/a\u003e [access\\_points](#input\\_access\\_points) | List of access points to create. | \u003cpre\u003emap(object({\u003cbr\u003e    posix_user = optional(object({\u003cbr\u003e      gid            = number\u003cbr\u003e      uid            = number\u003cbr\u003e      secondary_gids = optional(list(number))\u003cbr\u003e    }))\u003cbr\u003e\u003cbr\u003e    root_directory = optional(object({\u003cbr\u003e      path = string\u003cbr\u003e\u003cbr\u003e      creation_info = optional(object({\u003cbr\u003e        owner_gid   = number\u003cbr\u003e        owner_uid   = number\u003cbr\u003e        permissions = string\u003cbr\u003e      }))\u003cbr\u003e    }))\u003cbr\u003e  }))\u003c/pre\u003e | `{}` | no |\n| \u003ca name=\"input_aws_iam_principals\"\u003e\u003c/a\u003e [aws\\_iam\\_principals](#input\\_aws\\_iam\\_principals) | AWS IAM principals which will be allowed to access the file system via the EFS policy. | `list(string)` | \u003cpre\u003e[\u003cbr\u003e  \"*\"\u003cbr\u003e]\u003c/pre\u003e | no |\n| \u003ca name=\"input_bypass_policy_lockout_safety_check\"\u003e\u003c/a\u003e [bypass\\_policy\\_lockout\\_safety\\_check](#input\\_bypass\\_policy\\_lockout\\_safety\\_check) | A flag to indicate whether to bypass the aws\\_efs\\_file\\_system\\_policy lockout safety check. | `bool` | `false` | no |\n| \u003ca name=\"input_enable_customer_managed_kms\"\u003e\u003c/a\u003e [enable\\_customer\\_managed\\_kms](#input\\_enable\\_customer\\_managed\\_kms) | If enabled, will create a customer managed KMS key for at-rest encryption. | `bool` | `false` | no |\n| \u003ca name=\"input_enable_enhanced_backups\"\u003e\u003c/a\u003e [enable\\_enhanced\\_backups](#input\\_enable\\_enhanced\\_backups) | Enable enhanced backups. | `bool` | `false` | no |\n| \u003ca name=\"input_encrypted\"\u003e\u003c/a\u003e [encrypted](#input\\_encrypted) | If true, the disk will be encrypted. | `bool` | `true` | no |\n| \u003ca name=\"input_enforce_read_only_default\"\u003e\u003c/a\u003e [enforce\\_read\\_only\\_default](#input\\_enforce\\_read\\_only\\_default) | Enforce read-only access to the file system. Identity-based policies can override these default permissions. | `bool` | `false` | no |\n| \u003ca name=\"input_enforce_transit_encryption\"\u003e\u003c/a\u003e [enforce\\_transit\\_encryption](#input\\_enforce\\_transit\\_encryption) | Enforce in-transit encryption for all clients. | `bool` | `true` | no |\n| \u003ca name=\"input_kms_key_id\"\u003e\u003c/a\u003e [kms\\_key\\_id](#input\\_kms\\_key\\_id) | The ARN of the AWS KMS to encrypt the file system. Defaults to the AWS managed KMS key. | `string` | `null` | no |\n| \u003ca name=\"input_name\"\u003e\u003c/a\u003e [name](#input\\_name) | The name of the file system. | `string` | n/a | yes |\n| \u003ca name=\"input_performance_mode\"\u003e\u003c/a\u003e [performance\\_mode](#input\\_performance\\_mode) | The file system performance mode. Can be either `generalPurpose` or `maxIO`. | `string` | `\"generalPurpose\"` | no |\n| \u003ca name=\"input_prevent_anonymous_access\"\u003e\u003c/a\u003e [prevent\\_anonymous\\_access](#input\\_prevent\\_anonymous\\_access) | Prevent anonymous access to the file system. | `bool` | `false` | no |\n| \u003ca name=\"input_prevent_root_access_default\"\u003e\u003c/a\u003e [prevent\\_root\\_access\\_default](#input\\_prevent\\_root\\_access\\_default) | Prevent root access to the file system. Identity-based policies can override these default permissions. | `bool` | `false` | no |\n| \u003ca name=\"input_private_subnets\"\u003e\u003c/a\u003e [private\\_subnets](#input\\_private\\_subnets) | A list of private subnets inside the VPC. | `list(string)` | n/a | yes |\n| \u003ca name=\"input_provisioned_throughput_in_mibps\"\u003e\u003c/a\u003e [provisioned\\_throughput\\_in\\_mibps](#input\\_provisioned\\_throughput\\_in\\_mibps) | The throughput, measured in MiB/s, that you want to provision for the file system. | `number` | `0` | no |\n| \u003ca name=\"input_security_groups\"\u003e\u003c/a\u003e [security\\_groups](#input\\_security\\_groups) | A list of security group IDs to associate with the file system. | `list(string)` | n/a | yes |\n| \u003ca name=\"input_tags\"\u003e\u003c/a\u003e [tags](#input\\_tags) | A mapping of tags to assign to all resources. | `map(string)` | `{}` | no |\n| \u003ca name=\"input_throughput_mode\"\u003e\u003c/a\u003e [throughput\\_mode](#input\\_throughput\\_mode) | Throughput mode for the file system. Valid values: `bursting`, `provisioned`, or `elastic`. | `string` | `\"elastic\"` | no |\n| \u003ca name=\"input_transition_to_archive\"\u003e\u003c/a\u003e [transition\\_to\\_archive](#input\\_transition\\_to\\_archive) | Indicates how long it takes to transition files to the archive storage class. Accepted values AFTER\\_7\\_DAYS, AFTER\\_14\\_DAYS, AFTER\\_30\\_DAYS, AFTER\\_60\\_DAYS, AFTER\\_90\\_DAYS. | `string` | `\"AFTER_90_DAYS\"` | no |\n| \u003ca name=\"input_transition_to_ia\"\u003e\u003c/a\u003e [transition\\_to\\_ia](#input\\_transition\\_to\\_ia) | Indicates how long it takes to transition files to the IA storage class. Accepted values AFTER\\_7\\_DAYS, AFTER\\_14\\_DAYS, AFTER\\_30\\_DAYS, AFTER\\_60\\_DAYS, AFTER\\_90\\_DAYS. | `string` | `\"AFTER_30_DAYS\"` | no |\n| \u003ca name=\"input_transition_to_primary_storage_class\"\u003e\u003c/a\u003e [transition\\_to\\_primary\\_storage\\_class](#input\\_transition\\_to\\_primary\\_storage\\_class) | Describes the policy used to transition a file from infequent access storage to primary storage. Only AFTER\\_1\\_ACCESS is accepted | `string` | `\"AFTER_1_ACCESS\"` | no |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| \u003ca name=\"output_access_point_arns\"\u003e\u003c/a\u003e [access\\_point\\_arns](#output\\_access\\_point\\_arns) | ARNs of created access points. |\n| \u003ca name=\"output_access_point_ids\"\u003e\u003c/a\u003e [access\\_point\\_ids](#output\\_access\\_point\\_ids) | IDs of created access points. |\n| \u003ca name=\"output_arn\"\u003e\u003c/a\u003e [arn](#output\\_arn) | ARN of filesystem. |\n| \u003ca name=\"output_dns_name\"\u003e\u003c/a\u003e [dns\\_name](#output\\_dns\\_name) | DNS address of filesystem. |\n| \u003ca name=\"output_id\"\u003e\u003c/a\u003e [id](#output\\_id) | Id of filesystem. |\n| \u003ca name=\"output_kms_key_id\"\u003e\u003c/a\u003e [kms\\_key\\_id](#output\\_kms\\_key\\_id) | ID of the KMS key used to encrypt the EFS. |\n| \u003ca name=\"output_number_of_mount_targets\"\u003e\u003c/a\u003e [number\\_of\\_mount\\_targets](#output\\_number\\_of\\_mount\\_targets) | Number of mount targets of the EFS file system. |\n| \u003ca name=\"output_size_in_bytes\"\u003e\u003c/a\u003e [size\\_in\\_bytes](#output\\_size\\_in\\_bytes) | Size of the EFS file system. |\n\n## Providers\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"provider_aws\"\u003e\u003c/a\u003e [aws](#provider\\_aws) | \u003e= 5.35 |\n| \u003ca name=\"provider_random\"\u003e\u003c/a\u003e [random](#provider\\_random) | \u003e= 3.4 |\n\n## Resources\n\n- resource.aws_efs_access_point.main (main.tf#48)\n- resource.aws_efs_file_system.main (main.tf#3)\n- resource.aws_efs_file_system_policy.main (main.tf#41)\n- resource.aws_efs_mount_target.main (main.tf#32)\n- resource.random_uuid.main (main.tf#1)\n- data source.aws_iam_policy_document.main (data.tf#1)\n\n# Examples\n### Basic Example\n```hcl\nmodule \"basic-example\" {\n  source = \"../../\"\n\n  name = var.storage_name\n\n  private_subnets = var.private_subnets\n  security_groups = var.security_groups\n}\n```\n\n### with enhanced Backups\n```hcl\nmodule \"with-enhanced-backups\" {\n  source = \"../../\"\n\n  name            = \"efs1\"\n  private_subnets = [\"subnet-12345678\", \"subnet-12345678\"]\n  security_groups = [\"sg-12345678\"]\n\n  enable_enhanced_backups = true\n}\n```\n\u003c!-- END_TF_DOCS --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeekcell%2Fterraform-aws-efs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeekcell%2Fterraform-aws-efs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeekcell%2Fterraform-aws-efs/lists"}