Files
opentf/website/source/docs/providers/aws/r/efs_file_system.html.markdown
2017-04-17 13:17:54 +03:00

1.6 KiB

layout, page_title, sidebar_current, description
layout page_title sidebar_current description
aws AWS: aws_efs_file_system docs-aws-resource-efs-file-system Provides an Elastic File System (EFS) resource.

aws_efs_file_system

Provides an Elastic File System (EFS) resource.

Example Usage

resource "aws_efs_file_system" "foo" {
  creation_token = "my-product"

  tags {
    Name = "MyProduct"
  }
}

Argument Reference

~> NOTE: The reference_name attribute has been deprecated and might be removed in future releases, please use creation_token instead.

The following arguments are supported:

  • creation_token - (Optional) A unique name (a maximum of 64 characters are allowed) used as reference when creating the Elastic File System to ensure idempotent file system creation. By default generated by Terraform. See [Elastic File System] (http://docs.aws.amazon.com/efs/latest/ug/) user guide for more information.
  • reference_name - DEPRECATED (Optional) A reference name used when creating the Creation Token which Amazon EFS uses to ensure idempotent file system creation. By default generated by Terraform.
  • performance_mode - (Optional) The file system performance mode. Can be either "generalPurpose" or "maxIO" (Default: "generalPurpose").
  • tags - (Optional) A mapping of tags to assign to the file system.

Attributes Reference

The following attributes are exported:

  • id - The ID that identifies the file system (e.g. fs-ccfc0d65).

Import

The EFS file systems can be imported using the id, e.g.

$ terraform import aws_efs_file_system.foo fs-6fa144c6