github.com/ves/terraform@v0.8.0-beta2/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  ```
    16  resource "aws_efs_file_system" "foo" {
    17    creation_token = "my-product"
    18    tags {
    19      Name = "MyProduct"
    20    }
    21  }
    22  ```
    23  
    24  ## Argument Reference
    25  
    26  ~> **NOTE:** The `reference_name` attribute has been deprecated and might
    27  be removed in future releases, please use `creation_token` instead.
    28  
    29  The following arguments are supported:
    30  
    31  * `creation_token` - (Optional) A unique name (a maximum of 64 characters are allowed)
    32  used as reference when creating the Elastic File System to ensure idempotent file
    33  system creation. By default generated by Terraform. See [Elastic File System]
    34  (http://docs.aws.amazon.com/efs/latest/ug/) user guide for more information.
    35  * `reference_name` - **DEPRECATED** (Optional) A reference name used when creating the
    36  `Creation Token` which Amazon EFS uses to ensure idempotent file system creation. By
    37  default generated by Terraform.
    38  * `performance_mode` - (Optional) The file system performance mode. Can be either
    39  `"generalPurpose"` or `"maxIO"` (Default: `"generalPurpose"`).
    40  * `tags` - (Optional) A mapping of tags to assign to the file system.
    41  
    42  ## Attributes Reference
    43  
    44  The following attributes are exported:
    45  
    46  * `id` - The ID that identifies the file system (e.g. fs-ccfc0d65).
    47  
    48  ## Import
    49  
    50  The EFS file systems can be imported using the `id`, e.g.
    51  
    52  ```
    53  $ terraform import aws_efs_file_system.foo fs-6fa144c6
    54  ```