Skip to content

Commit d72b0b9

Browse files
authored
feat(rdb): add volume_type and size to RDB instance (#811)
Signed-off-by: Patrik Cyvoct <[email protected]>
1 parent 158f0e9 commit d72b0b9

6 files changed

+2592
-78
lines changed

docs/resources/rdb_instance.md

+4
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ The following arguments are supported:
3737

3838
~> **Important:** Updates to `engine` will recreate the Database Instance.
3939

40+
- `volume_type` - (Optional, default to `lssd`) Type of volume where data are stored (`bssd` or `lssd`).
41+
42+
- `volume_size_in_gb` - (Optional) Volume size (in GB) when `volume_type` is set to `bssd`. Must be a multiple of 5000000000.
43+
4044
- `user_name` - (Optional) Identifier for the first user of the database instance.
4145

4246
~> **Important:** Updates to `user_name` will recreate the Database Instance.

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ require (
77
github.com/google/go-cmp v0.5.4
88
github.com/hashicorp/go-retryablehttp v0.6.8
99
github.com/hashicorp/terraform-plugin-sdk/v2 v2.4.0
10-
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.7.0.20210211085245-203deabc64c6
10+
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.7.0.20210413163511-f51948b64b39
1111
github.com/stretchr/testify v1.6.1
1212
golang.org/x/crypto v0.0.0-20200820211705-5c72a883971a // indirect
1313
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1

0 commit comments

Comments
 (0)