AWS Amazon EFS Mount Target

This page shows how to write Terraform and CloudFormation for Amazon EFS Mount Target 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_mount_target)

Provides an Elastic File System (EFS) mount target.

Parameters

Example Usage (from GitHub)

github-icona-sinkavets/devops-task-02
resource "aws_efs_mount_target" "mount_us_east_1a" {
  file_system_id = aws_efs_file_system.fs.id
  subnet_id      = data.aws_subnet.us_east_1a.id
  security_groups = [aws_security_group.efs_sg.id]
}

CloudFormation Example (AWS::EFS::MountTarget)

The AWS::EFS::MountTarget resource is an Amazon EFS resource that creates a mount target for an EFS file system. You can then mount the file system on Amazon EC2 instances or other resources by using the mount target.

Parameters

Frequently asked questions

What is AWS Amazon EFS Mount Target?

AWS Amazon EFS Mount Target 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 Mount Target?

For Terraform, the a-sinkavets/devops-task-02 source code example is useful. See the Terraform Example section for further details.