最近更新时间:2019-12-20 17:42:02
Provides an EBS volume resource.
resource "ksyun_volume" "default" {
volume_name="test"
volume_type="SSD3.0"
size=15
charge_type="Daily"
availability_zone="cn-shanghai-3a"
volume_desc="test"
}
The following arguments are supported:
volume_name
- (Optional) The name of the volume, which contains 2 to 50 characters and supports only alphanumeric characters, hyphens (-), and underscores (_).volume_type
- (Required) The type of the volume to create. Valid values are SSD3.0
and EHDD
.size
- (Required) The size of the volume in GB.charge_type
- (Required) The charging type of the volume. Valid values are Monthly
, Daily
, and HourlyInstantSettlement
.volume_desc
- (Optional) The description of the volume.纯净模式