Resource: aws_efs_access_point

Provides an Elastic File System (EFS) access point.

Example Usage

resource "aws_efs_access_point" "test" {
  file_system_id = aws_efs_file_system.foo.id
}

Argument Reference

This resource supports the following arguments:

posix_user

root_directory

The access point exposes the specified file system path as the root directory of your file system to applications using the access point. NFS clients using the access point can only access data in the access point's RootDirectory and it's subdirectories.

creation_info

If the path specified does not exist, EFS creates the root directory using the creation_info settings when a client connects to an access point.

Attribute Reference

This resource exports the following attributes in addition to the arguments above:

Import

In Terraform v1.5.0 and later, use an import block to import the EFS access points using the id. For example:

import {
  to = aws_efs_access_point.test
  id = "fsap-52a643fb"
}

Using terraform import, import the EFS access points using the id. For example:

% terraform import aws_efs_access_point.test fsap-52a643fb