github.com/jmbataller/terraform@v0.6.8-0.20151125192640-b7a12e3a580c/website/source/docs/providers/aws/r/efs_mount_target.html.markdown (about) 1 --- 2 layout: "aws" 3 page_title: "AWS: aws_efs_mount_target" 4 sidebar_current: "docs-aws-resource-efs-mount-target" 5 description: |- 6 Provides an EFS mount target. 7 --- 8 9 # aws\_efs\_mount\_target 10 11 Provides an EFS mount target. Per [documentation](http://docs.aws.amazon.com/efs/latest/ug/limits.html) 12 the limit is 1 mount target per AZ for a single EFS file system. 13 14 ## Example Usage 15 16 ``` 17 resource "aws_efs_mount_target" "alpha" { 18 file_system_id = "${aws_efs_file_system.foo.id}" 19 subnet_id = "${aws_subnet.alpha.id}" 20 } 21 22 resource "aws_vpc" "foo" { 23 cidr_block = "10.0.0.0/16" 24 } 25 26 resource "aws_subnet" "alpha" { 27 vpc_id = "${aws_vpc.foo.id}" 28 availability_zone = "us-west-2a" 29 cidr_block = "10.0.1.0/24" 30 } 31 ``` 32 33 ## Argument Reference 34 35 The following arguments are supported: 36 37 * `file_system_id` - (Required) The ID of the file system for which the mount target is intended. 38 * `subnet_id` - (Required) The ID of the subnet that the mount target is in. 39 * `ip_address` - (Optional) The address at which the file system may be mounted via the mount target. 40 * `security_groups` - (Optional) A list of up to 5 VPC security group IDs in effect for the mount target. 41 42 ## Attributes Reference 43 44 The following attributes are exported: 45 46 * `id` - The ID of the mount target 47 * `network_interface_id` - The ID of the network interface that Amazon EFS created when it created the mount target.