Skip to content

A simple EFS module to create a file system and some entry points.

License

Notifications You must be signed in to change notification settings

docebo-labs/terraform-aws-efs

Repository files navigation

EFS

A simple EFS module to create a file system and some entry points.

Requirements

Name Version
terraform ~> 1.0
aws ~> 3.31

Providers

Name Version
aws ~> 3.31

Modules

No Modules.

Resources

Name
aws_efs_access_point
aws_efs_file_system
aws_efs_mount_target
aws_vpc_endpoint

Inputs

Name Description Type Default Required
access_points The list of access points map(map(map(string))) {} no
access_points_defaults The default values for the access points map(map(string)) {} no
aws_region The AWS region where the module is being applied. Required when enable_vpc_endpoint == true string "" no
enable_vpc_endpoint Whether to enable the VPC endpoint bool false no
encrypted Whether the EFS File System should be encrypted bool false no
file_system_name The name of the file system string "" no
kms_key_id The KMS Key ID that will be used to encrypt the file system. Encryption will be turned on automatically string "" no
performance_mode The file system performance mode string "generalPurpose" no
provisioned_throughput_in_mibps The throughput when using 'throughput_mode == "provisioned"' number 0 no
security_groups The security groups used in the ALB and the ECS service list(string) n/a yes
subnets The list of subnets where the services will be deployed list(string) n/a yes
throughput_mode Throughput mode for the file system. When using provisioned, specify 'provisioned_throughput_in_mibps' string "bursting" no
transition_to_ia The period of time that a file is not accessed, after which it transitions to the IA storage class string "" no
vpc_id The VPC identifier. Required when enable_vpc_endpoint == true string "" no

Outputs

Name Description
access_points The access point list
file_system_id The file system ID