This example introduces aws_ebs_volume
resource.
encrypted
kms_key_id
gp2
, io2
and st2
are valid values for type
attribute. The volume size of st2
type volumes varies from 32 GiB to 4 TiB and must be multiple of 8 GiB. The volume size for gp2
and io2
volumes type varies from 8 GiB to 4 TiB. The volume size must be multiple of 8 GiB. The io2
volumes support the iops
option, it's necessary to define it for io2
volume type in the range from 100
to 50000
. For more information visit documentation page.
This resource supports tags
attribute:
resource "aws_ebs_volume" "test_volume_iops" { ... tags = { Name = "value" } ... }
The io2
volumes support the iops
option, it's necessary to define it for io2
volume type.
resource "aws_ebs_volume" "test_volume_iops" { ... iops = 500 ... }
.. literalinclude:: main.tf