github.com/atsaki/terraform@v0.4.3-0.20150919165407-25bba5967654/website/source/docs/providers/aws/r/ebs_volume.html.md (about)

     1  ---
     2  layout: "aws"
     3  page_title: "AWS: aws_ebs_volume"
     4  sidebar_current: "docs-aws-resource-ebs-volume"
     5  description: |-
     6    Provides an elastic block storage resource.
     7  ---
     8  
     9  # aws\_ebs\_volume
    10  
    11  Manages a single EBS volume.
    12  
    13  ## Example Usage
    14  
    15  ```
    16  resource "aws_ebs_volume" "example" {
    17      availability_zone = "us-west-1a"
    18      size = 40
    19      tags {
    20          Name = "HelloWorld"
    21      }
    22  }
    23  ```
    24  
    25  ## Argument Reference
    26  
    27  The following arguments are supported:
    28  
    29  * `availability_zone` - (Required) The AZ where the EBS volume will exist.
    30  * `encrypted` - (Optional) If true, the disk will be encrypted.
    31  * `iops` - (Optional) The amount of IOPS to provision for the disk.
    32  * `size` - (Optional) The size of the drive in GB.
    33  * `snapshot_id` (Optional) A snapshot to base the EBS volume off of.
    34  * `type` - (Optional) The type of EBS volume.
    35  * `kms_key_id` - (Optional) The KMS key ID for the volume.
    36  * `tags` - (Optional) A mapping of tags to assign to the resource.
    37  
    38  ## Attributes Reference
    39  
    40  The following attributes are exported:
    41  
    42  * `id` - The volume ID (e.g. vol-59fcb34e).
    43  
    44