Terraform AWS EFS
Amazon EFS file systems with mount targets, access points, backup policies, lifecycle management, encryption at rest, and security group controlled NFS access.
Quick start
module "efs" {
source = "pcidss.compliance.tf/terraform-aws-modules/efs/aws"
version = "~> 2.2"
# ... your arguments here
}module "efs" {
source = "fedrampmoderate.compliance.tf/terraform-aws-modules/efs/aws"
version = "~> 2.2"
# ... your arguments here
}module "efs" {
source = "nist800171.compliance.tf/terraform-aws-modules/efs/aws"
version = "~> 2.2"
# ... your arguments here
}module "efs" {
source = "nist80053.compliance.tf/terraform-aws-modules/efs/aws"
version = "~> 2.2"
# ... your arguments here
}module "efs" {
source = "awswellarchitected.compliance.tf/terraform-aws-modules/efs/aws"
version = "~> 2.2"
# ... your arguments here
}module "efs" {
source = "cfrpart11.compliance.tf/terraform-aws-modules/efs/aws"
version = "~> 2.2"
# ... your arguments here
}module "efs" {
source = "eugmpannex11.compliance.tf/terraform-aws-modules/efs/aws"
version = "~> 2.2"
# ... your arguments here
}module "efs" {
source = "iso27001.compliance.tf/terraform-aws-modules/efs/aws"
version = "~> 2.2"
# ... your arguments here
}This module on the compliance.tf registry lists its versions, inputs and outputs. The Get Started guide and Registry Endpoints cover authentication and how to customize the module for your requirements.
Migration from upstream
Already using terraform-aws-modules? Change only the source URL:
module "efs" {
source = "terraform-aws-modules/efs/aws"
version = "~> 2.2"
}module "efs" {
source = "soc2.compliance.tf/terraform-aws-modules/efs/aws"
version = "~> 2.2"
}Same arguments. Same outputs. Controls are checked at terraform plan. The Migration Guide has the step-by-step version.
Reversibility
No lock-in. Switch back by reverting the source URL:
module "efs" {
source = "terraform-aws-modules/efs/aws"
}Run terraform init -upgrade. Terraform state is unchanged: same resource addresses, same provider, no compliance.tf-specific resources. Controls you already applied remain in AWS.
Controls enforced
Up to 5 controls are checked at terraform plan when this module comes from a compliance.tf endpoint. Which ones are active depends on the endpoint; see Framework coverage.
Mapped compliance frameworks
| Clause | Controls from this module |
|---|---|
| 1.3.1: Network access to and from the cardholder data environment is restricted. | |
| 1.3.2: Network access to and from the cardholder data environment is restricted. | |
| 10.3.2: Audit logs are protected from destruction and unauthorized modifications. | |
| 3.5.1.3: Primary account number (PAN) is secured wherever it is stored. | |
| 3.5.1: Primary account number (PAN) is secured wherever it is stored. | |
| 8.3.2: Strong cryptography is used to render all authentication factors unreadable during transmission and storage on all system components | |
| A1.1.2: Multi-tenant service providers protect and separate all customer environments and data. | |
| A3.4.1: Logical access to the cardholder data environment is controlled and managed. |
| Clause | Controls from this module |
|---|---|
| AC-4: Information Flow Enforcement | |
| Protection of Information at Rest (SC-28) | |
| SC-7: Boundary Protection |
| Clause | Controls from this module |
|---|---|
| 3.1.3: Control the flow of CUI in accordance with approved authorizations. | |
| 3.13.11 Employ FIPS-validated cryptography when used to protect the confidentiality of CUI | |
| 3.13.16: Protect the confidentiality of CUI at rest. | |
| 3.13.1: Monitor, control, and protect communications (i.e., information transmitted or received by organizational systems) at the external boundaries and key internal boundaries of organizational systems. |
| Clause | Controls from this module |
|---|---|
| AU-9(3) Cryptographic Protection | |
| CP-9(d) | |
| SC-13(a) | |
| SC-28(1): Cryptographic Protection | |
| SC-7(13): Isolation Of Security Tools, Mechanisms, And Support Components | |
| SC-7: Boundary Protection | |
| SC-8(3) Cryptographic Protection For Message Externals | |
| SC-8(4) Conceal Or Ramdomize Communications | |
| SI-19(4) Removal, Masking, Encryption, Hashing, Or Replacement Of Direct Identifiers |
| Clause | Controls from this module |
|---|---|
| Data protection |
| Clause | Controls from this module |
|---|---|
| 11.10(d) Limiting system access to authorized individuals | |
| 11.10(g) Use of authority checks to ensure that only authorized individuals can use the system, electronically sign a record, access the operation or computer system input or output device, alter a record, or perform the operation at hand | |
| 11.30 Controls for open systems |
| Clause | Controls from this module |
|---|---|
| 12.1 Security | |
| 7.1 Data Storage - Damage Protection |
| Clause | Controls from this module |
|---|---|
| A.8.24 Use of cryptography |
Framework coverage
Which controls from this module are active under each framework endpoint. Your framework preferences choose the columns.