Skip to content

Commit

Permalink
Update aws_ec2 docs for attach_volume
Browse files Browse the repository at this point in the history
  • Loading branch information
stephank committed Mar 4, 2021
1 parent 7980acd commit 47c64a3
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion doc/providers/aws_ec2.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ target "<address>" "aws_ec2" {
# device name of the root volume from the AMI, and set just `volume_size`.
ebs_block_device {
# Name of the EBS volume. (Required)
# Name of the device. (Required)
device_name = "/dev/xvda"
# Whether to delete the volume on instance termination.
Expand All @@ -88,5 +88,17 @@ target "<address>" "aws_ec2" {
}
# Optional existing EBS volumes to attach, once the machine is running. This
# block can be repeated multiple times to attach multiple volumes.
attach_volume {
# Name of the device. (Required)
device_name = "/dev/xvda"
# ID of an existing EBS volume to attach. (Required)
volume_id = ""
}
}
```

0 comments on commit 47c64a3

Please sign in to comment.