AWS Amazon EFS Access Point

This page shows how to write Terraform and CloudFormation for Amazon EFS Access Point and write them securely.

code-icon

Fix issues in your cloud & app configurations

Test for misconfigurations of this resource in your cloud.

get-started-button

Terraform Example (aws_efs_access_point)

Provides an Elastic File System (EFS) access point.

Parameters

Example Usage (from GitHub)

github-iconiblaine/amundsen-terraform
resource "aws_efs_access_point" "neo4j_data" {
  file_system_id = aws_efs_file_system.amundsen.id
  posix_user {
    gid = 1000 # for amundsen, important that same gui/uid used across each access point
    uid = 1000
  }
github-iconhyperglance/deploy
resource "aws_efs_access_point" "hyperglance" {
  file_system_id = aws_efs_file_system.hyperglance.id

  root_directory {
    path = "/hyperglance"
    creation_info {
github-iconplanetway/xroad-securityserver-docker
resource "aws_efs_access_point" "signer" {
  file_system_id = aws_efs_file_system.this.id
  posix_user {
    gid = 999
    uid = 999
  }

CloudFormation Example (AWS::EFS::AccessPoint)

The AWS::EFS::AccessPoint resource creates an EFS access point. An access point is an application-specific view into an EFS file system that applies an operating system user and group, and a file system path, to any file system request made through the access point. The operating system user and group override any identity information provided by the NFS client. The file system path is exposed as the access point's root directory. Applications using the access point can only access data in its own directory and below. To learn more, see Mounting a file system using EFS access points.

This operation requires permissions for the elasticfilesystem:CreateAccessPoint action.

Parameters

Frequently asked questions

What is AWS Amazon EFS Access Point?

AWS Amazon EFS Access Point is a resource for Amazon EFS of Amazon Web Service. Settings can be wrote in Terraform and CloudFormation.

Where can I find the example code for the AWS Amazon EFS Access Point?

For Terraform, the iblaine/amundsen-terraform, hyperglance/deploy and planetway/xroad-securityserver-docker source code examples are useful. See the Terraform Example section for further details.