AWS EBS

Create volume

Create an EBS volume that can be attached to an instance in the same availability zone.

Inputs

Field

Type

Description

region [required]

enum

default: us-east-1

availabilityZone [required]

string

The Availability Zone in which to create the volume.

encrypted

boolean

The encryption status of the volume.

size

number

volumeType

enum

The volume type. The following values are supported: General Purpose SSD: gp2 | gp3, Provisioned IOPS SSD: io1 | io2, Throughput Optimized HDD: st1, Cold HDD: sc1, and Magnetic: standard. Allowed enum values: standard,io1,io2,gp2,sc1,st1,gp3

default: `gp2`

Outputs

Expand All

Field

Type

Description

attachmentSet

[object]

Information about the volume attachments.

AttachTime

date-time

The time stamp when the attachment initiated.

Device

string

The device name.

InstanceId

string

The ID of the instance.

State

string

The attachment state of the volume.

VolumeId

string

The ID of the volume.

DeleteOnTermination

boolean

Indicates whether the EBS volume is deleted on instance termination.

availabilityZone

string

The Availability Zone for the volume.

createTime

date-time

The time stamp when volume creation was initiated.

encrypted

boolean

Indicates whether the volume is encrypted.

size

number

The size of the volume, in GiBs.

state

string

The volume state.

tagSet

[object]

Any tags assigned to the volume.

Key

string

The key of the tag. Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:.

Value

string

The value of the tag.
Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.

volumeId

string

The ID of the volume.

volumeType

string

The volume type.