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

Commit 4f1f860

Browse files
authored
add msk location to s3 storage (#42)
1 parent e225f6c commit 4f1f860

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/resources/gcore_storage_s3.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ resource "gcore_storage_s3" "example_s3" {
3333

3434
### Required
3535

36-
- **location** (String) A location of new storage resource. One of (s-ed1, s-darz1, s-ws1)
36+
- **location** (String) A location of new storage resource. One of (s-ed1, s-darz1, s-ws1, s-dt2)
3737
- **name** (String) A name of new storage resource.
3838

3939
### Optional

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"}
64+
allowed := []string{"s-ed1", "s-darz1", "s-ws1", "s-dt2"}
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)",
72+
Description: "A location of new storage resource. One of (s-ed1, s-darz1, s-ws1, s-dt2)",
7373
},
7474
StorageS3SchemaGenerateAccessKey: {
7575
Type: schema.TypeString,

0 commit comments

Comments
 (0)