Skip to content

Commit

Permalink
resource/baiducloud_cds: update storage_type description : add `enhan…
Browse files Browse the repository at this point in the history
…ced_ssd_pl1`
  • Loading branch information
PerhapsDy committed Oct 17, 2023
1 parent fcb384c commit bf0a5ec
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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`.
Expand Down
5 changes: 3 additions & 2 deletions baiducloud/resource_baiducloud_cds.go
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/cds.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bf0a5ec

Please sign in to comment.