github.com/armen/terraform@v0.5.2-0.20150529052519-caa8117a08f1/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 } 20 ``` 21 22 ## Argument Reference 23 24 The following arguments are supported: 25 26 * `availability_zone` - (Required) The AZ where the EBS volume will exist. 27 * `encrypted` - (Optional) If true, the disk will be encrypted. 28 * `iops` - (Optional) The amount of IOPS to provision for the disk. 29 * `size` - (Optional) The size of the drive in GB. 30 * `snapshot_id` (Optional) A snapshot to base the EBS volume off of. 31 * `type` - (Optional) The type of EBS volume. 32 * `kms_key_id` - (Optional) The KMS key ID for the volume. 33 34 35 ## Attributes Reference 36 37 The following attributes are exported: 38 39 * `id` - The volume ID (e.g. vol-59fcb34e). 40 41