github.com/danp/terraform@v0.9.5-0.20170426144147-39d740081351/website/source/docs/providers/aws/r/efs_file_system.html.markdown (about) 1 --- 2 layout: "aws" 3 page_title: "AWS: aws_efs_file_system" 4 sidebar_current: "docs-aws-resource-efs-file-system" 5 description: |- 6 Provides an Elastic File System (EFS) resource. 7 --- 8 9 # aws\_efs\_file\_system 10 11 Provides an Elastic File System (EFS) resource. 12 13 ## Example Usage 14 15 ```hcl 16 resource "aws_efs_file_system" "foo" { 17 creation_token = "my-product" 18 19 tags { 20 Name = "MyProduct" 21 } 22 } 23 ``` 24 25 ## Argument Reference 26 27 ~> **NOTE:** The `reference_name` attribute has been deprecated and might 28 be removed in future releases, please use `creation_token` instead. 29 30 The following arguments are supported: 31 32 * `creation_token` - (Optional) A unique name (a maximum of 64 characters are allowed) 33 used as reference when creating the Elastic File System to ensure idempotent file 34 system creation. By default generated by Terraform. See [Elastic File System] 35 (http://docs.aws.amazon.com/efs/latest/ug/) user guide for more information. 36 * `reference_name` - **DEPRECATED** (Optional) A reference name used when creating the 37 `Creation Token` which Amazon EFS uses to ensure idempotent file system creation. By 38 default generated by Terraform. 39 * `performance_mode` - (Optional) The file system performance mode. Can be either 40 `"generalPurpose"` or `"maxIO"` (Default: `"generalPurpose"`). 41 * `tags` - (Optional) A mapping of tags to assign to the file system. 42 43 ## Attributes Reference 44 45 The following attributes are exported: 46 47 * `id` - The ID that identifies the file system (e.g. fs-ccfc0d65). 48 49 ## Import 50 51 The EFS file systems can be imported using the `id`, e.g. 52 53 ``` 54 $ terraform import aws_efs_file_system.foo fs-6fa144c6 55 ```