diff --git a/docs/resources/gcore_storage_s3.md b/docs/resources/gcore_storage_s3.md index 259d858..0bf4a0d 100644 --- a/docs/resources/gcore_storage_s3.md +++ b/docs/resources/gcore_storage_s3.md @@ -33,7 +33,7 @@ resource "gcore_storage_s3" "example_s3" { ### Required -- **location** (String) A location of new storage resource. One of (s-ed1, s-darz1, s-ws1) +- **location** (String) A location of new storage resource. One of (s-ed1, s-darz1, s-ws1, s-dt2) - **name** (String) A name of new storage resource. ### Optional diff --git a/gcore/resource_gcore_storage_s3.go b/gcore/resource_gcore_storage_s3.go index 584408f..f2cdee3 100644 --- a/gcore/resource_gcore_storage_s3.go +++ b/gcore/resource_gcore_storage_s3.go @@ -61,7 +61,7 @@ func resourceStorageS3() *schema.Resource { ForceNew: true, ValidateDiagFunc: func(v interface{}, path cty.Path) diag.Diagnostics { val := v.(string) - allowed := []string{"s-ed1", "s-darz1", "s-ws1"} + allowed := []string{"s-ed1", "s-darz1", "s-ws1", "s-dt2"} for _, el := range allowed { if el == val { return nil @@ -69,7 +69,7 @@ func resourceStorageS3() *schema.Resource { } return diag.Errorf(`must be one of %+v`, allowed) }, - Description: "A location of new storage resource. One of (s-ed1, s-darz1, s-ws1)", + Description: "A location of new storage resource. One of (s-ed1, s-darz1, s-ws1, s-dt2)", }, StorageS3SchemaGenerateAccessKey: { Type: schema.TypeString,