Skip to content
This repository was archived by the owner on Mar 1, 2023. It is now read-only.

Commit 9da9abc

Browse files
committed
+ add s-drc2 location to s3
1 parent a6ac9eb commit 9da9abc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

gcore/data_source_gcore_storage_s3.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ func dataSourceStorageS3() *schema.Resource {
4444
StorageSchemaLocation: {
4545
Type: schema.TypeString,
4646
Computed: true,
47-
Description: "A location of new storage resource. One of (s-ed1, s-darz1, s-ws1)",
47+
Description: "A location of new storage resource. One of (s-ed1, s-darz1, s-ws1, s-dt2, s-drc2)",
4848
},
4949
StorageSchemaGenerateHTTPEndpoint: {
5050
Type: schema.TypeString,

gcore/resource_gcore_storage_s3.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,15 +61,15 @@ func resourceStorageS3() *schema.Resource {
6161
ForceNew: true,
6262
ValidateDiagFunc: func(v interface{}, path cty.Path) diag.Diagnostics {
6363
val := v.(string)
64-
allowed := []string{"s-ed1", "s-darz1", "s-ws1", "s-dt2"}
64+
allowed := []string{"s-ed1", "s-darz1", "s-ws1", "s-dt2", "s-drc2"}
6565
for _, el := range allowed {
6666
if el == val {
6767
return nil
6868
}
6969
}
7070
return diag.Errorf(`must be one of %+v`, allowed)
7171
},
72-
Description: "A location of new storage resource. One of (s-ed1, s-darz1, s-ws1, s-dt2)",
72+
Description: "A location of new storage resource. One of (s-ed1, s-darz1, s-ws1, s-dt2, s-drc2)",
7373
},
7474
StorageS3SchemaGenerateAccessKey: {
7575
Type: schema.TypeString,

0 commit comments

Comments
 (0)