diff --git a/CHANGELOG.md b/CHANGELOG.md index 77e8a190..c9888149 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,8 @@ - ## 1.19.19 (Unreleased) + ## 1.19.20 (Unreleased) +## 1.19.19 (October 17, 2023) +NOTES: +- update resource/baiducloud_cds storage_type description : add `enhanced_ssd_pl1`. + ## 1.19.18 (September 5, 2023) ENHANCEMENTS: - resource/baiducloud_instance: Support modifying parameter `instance_spec`. diff --git a/baiducloud/resource_baiducloud_cds.go b/baiducloud/resource_baiducloud_cds.go index 9d98fa02..5143f908 100644 --- a/baiducloud/resource_baiducloud_cds.go +++ b/baiducloud/resource_baiducloud_cds.go @@ -72,8 +72,9 @@ func resourceBaiduCloudCDS() *schema.Resource { ValidateFunc: validation.IntBetween(5, 32768), }, "storage_type": { - Type: schema.TypeString, - Description: "CDS dist storage type, support hp1, std1, cloud_hp1 and hdd, default hp1, see https://cloud.baidu.com/doc/BCC/s/6jwvyo0q2/#storagetype for detail", + Type: schema.TypeString, + Description: "CDS dist storage type, support hp1, std1, cloud_hp1, hdd and enhanced_ssd_pl1, default hp1, " + + "see https://cloud.baidu.com/doc/BCC/s/6jwvyo0q2/#storagetype for detail", Optional: true, Computed: true, ValidateFunc: validateStorageType(), diff --git a/website/docs/r/cds.html.markdown b/website/docs/r/cds.html.markdown index 5c26de04..d24b6ff0 100644 --- a/website/docs/r/cds.html.markdown +++ b/website/docs/r/cds.html.markdown @@ -36,7 +36,7 @@ The following arguments are supported: * `reservation_length` - (Optional) Prepaid reservation length, support [1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36], only useful when payment_timing is Prepaid * `reservation_time_unit` - (Optional) Prepaid reservation time unit, only support Month now * `snapshot_id` - (Optional, ForceNew) Snapshot id, support create cds use snapshot, when set this parameter, cds_disk_size is ignored -* `storage_type` - (Optional) CDS dist storage type, support hp1, std1, cloud_hp1 and hdd, default hp1, see https://cloud.baidu.com/doc/BCC/s/6jwvyo0q2/#storagetype for detail +* `storage_type` - (Optional) CDS dist storage type, support hp1, std1, cloud_hp1 , hdd and enhanced_ssd_pl1, default hp1, see https://cloud.baidu.com/doc/BCC/s/6jwvyo0q2/#storagetype for detail * `zone_name` - (Optional) Zone name ## Attributes Reference