AWS EFS

Amazon Elastic File System (Amazon EFS) provides serverless, fully elastic file storage so that you can share file data without provisioning or managing storage capacity and performance.

Requirements

Name

Version

terraform

>= 1.0

aws

>= 5.61

Providers

Name

Version

aws

>= 5.61

Modules

No modules.

Resources

Name

Type

aws_efs_access_point.efs

resource

aws_efs_file_system.efs

resource

aws_efs_mount_target.efs

resource

aws_security_group.efs

resource

aws_subnet.private_subnet

data source

Inputs

Name

Description

Type

Default

Required

access_point

A map of access point definitions to create

set(string)

[]

no

kms_key_id

Id of the KMS key

string

null

no

name

AWS EFS name

string

"armonik-efs"

no

performance_mode

The file system performance mode. Can be either generalPurpose or maxIO

string

"generalPurpose"

no

provisioned_throughput_in_mibps

The throughput, measured in MiB/s, that you want to provision for the file system. Only applicable with throughput_mode set to provisioned

number

null

no

tags

Tags for resource

any

{}

no

throughput_mode

Throughput mode for the file system. Defaults to bursting. Valid values: bursting, elastic, and provisioned. When using provisioned, also set provisioned_throughput_in_mibps

string

"bursting"

no

transition_to_ia

Describes the period of time that a file is not accessed, after which it transitions to IA storage

string

null

no

vpc_cidr_block_private

AWS VPC private cidr block

set(string)

n/a

yes

vpc_cidr_blocks

AWS VPC cidr block

set(string)

n/a

yes

vpc_id

AWS VPC id

string

n/a

yes

vpc_subnet_ids

AWS VPC subnet ids

set(string)

n/a

yes

Outputs

Name

Description

id

EFS id

kms_key_id

KMS used to encrypt EFS

Examples