Skip to content

Commit

Permalink
Merge branch 'master' into update_quotas_usage
Browse files Browse the repository at this point in the history
  • Loading branch information
TruePack authored Feb 7, 2023
2 parents 19fabfd + df8a225 commit 47becbe
Showing 19 changed files with 26 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 3.10.0 (Unreleased)

IMPROVEMENTS:

* Added `uz-1` region for DBaaS ([#217](https://github.com/selectel/terraform-provider-selectel/pull/217))

## 3.9.0 (Nov 17, 2022)

FEATURES:
Original file line number Diff line number Diff line change
@@ -32,6 +32,7 @@ func dataSourceDBaaSAvailableExtensionV1() *schema.Resource {
ru8Region,
ru9Region,
nl1Region,
uz1Region,
}, false),
},
"filter": {
Original file line number Diff line number Diff line change
@@ -33,6 +33,7 @@ func dataSourceDBaaSConfigurationParameterV1() *schema.Resource {
ru8Region,
ru9Region,
nl1Region,
uz1Region,
}, false),
},
"filter": {
1 change: 1 addition & 0 deletions selectel/data_source_selectel_dbaas_datastore_type_v1.go
Original file line number Diff line number Diff line change
@@ -33,6 +33,7 @@ func dataSourceDBaaSDatastoreTypeV1() *schema.Resource {
ru8Region,
ru9Region,
nl1Region,
uz1Region,
}, false),
},
"filter": {
1 change: 1 addition & 0 deletions selectel/data_source_selectel_dbaas_flavor_v1.go
Original file line number Diff line number Diff line change
@@ -35,6 +35,7 @@ func dataSourceDBaaSFlavorV1() *schema.Resource {
ru8Region,
ru9Region,
nl1Region,
uz1Region,
}, false),
},
"flavors": {
Original file line number Diff line number Diff line change
@@ -30,6 +30,7 @@ func dataSourceDBaaSPrometheusMetricTokenV1() *schema.Resource {
ru8Region,
ru9Region,
nl1Region,
uz1Region,
}, false),
},
"prometheus_metrics_tokens": {
3 changes: 3 additions & 0 deletions selectel/dbaas.go
Original file line number Diff line number Diff line change
@@ -28,6 +28,7 @@ const (
ru8DBaaSV1Endpoint = "https://ru-8.dbaas.selcloud.ru/v1"
ru9DBaaSV1Endpoint = "https://ru-9.dbaas.selcloud.ru/v1"
nl1DBaaSV1Endpoint = "https://nl-1.dbaas.selcloud.ru/v1"
uz1DBaaSV1Endpoint = "https://uz-1.dbaas.selcloud.ru/v1"
)

func getDBaaSV1Endpoint(region string) (endpoint string) {
@@ -46,6 +47,8 @@ func getDBaaSV1Endpoint(region string) (endpoint string) {
endpoint = ru9DBaaSV1Endpoint
case nl1Region:
endpoint = nl1DBaaSV1Endpoint
case uz1Region:
endpoint = uz1DBaaSV1Endpoint
}

return
1 change: 1 addition & 0 deletions selectel/resource_selectel_dbaas_database_v1.go
Original file line number Diff line number Diff line change
@@ -53,6 +53,7 @@ func resourceDBaaSDatabaseV1() *schema.Resource {
ru8Region,
ru9Region,
nl1Region,
uz1Region,
}, false),
},
"datastore_id": {
1 change: 1 addition & 0 deletions selectel/resource_selectel_dbaas_datastore_v1.go
Original file line number Diff line number Diff line change
@@ -53,6 +53,7 @@ func resourceDBaaSDatastoreV1() *schema.Resource {
ru8Region,
ru9Region,
nl1Region,
uz1Region,
}, false),
},
"subnet_id": {
1 change: 1 addition & 0 deletions selectel/resource_selectel_dbaas_extension_v1.go
Original file line number Diff line number Diff line change
@@ -47,6 +47,7 @@ func resourceDBaaSExtensionV1() *schema.Resource {
ru8Region,
ru9Region,
nl1Region,
uz1Region,
}, false),
},
"available_extension_id": {
1 change: 1 addition & 0 deletions selectel/resource_selectel_dbaas_grant_v1.go
Original file line number Diff line number Diff line change
@@ -47,6 +47,7 @@ func resourceDBaaSGrantV1() *schema.Resource {
ru8Region,
ru9Region,
nl1Region,
uz1Region,
}, false),
},
"datastore_id": {
1 change: 1 addition & 0 deletions selectel/resource_selectel_dbaas_mysql_database_v1.go
Original file line number Diff line number Diff line change
@@ -52,6 +52,7 @@ func resourceDBaaSMySQLDatabaseV1() *schema.Resource {
ru8Region,
ru9Region,
nl1Region,
uz1Region,
}, false),
},
"datastore_id": {
1 change: 1 addition & 0 deletions selectel/resource_selectel_dbaas_mysql_datastore_v1.go
Original file line number Diff line number Diff line change
@@ -53,6 +53,7 @@ func resourceDBaaSMySQLDatastoreV1() *schema.Resource {
ru8Region,
ru9Region,
nl1Region,
uz1Region,
}, false),
},
"subnet_id": {
1 change: 1 addition & 0 deletions selectel/resource_selectel_dbaas_postgresql_database_v1.go
Original file line number Diff line number Diff line change
@@ -53,6 +53,7 @@ func resourceDBaaSPostgreSQLDatabaseV1() *schema.Resource {
ru8Region,
ru9Region,
nl1Region,
uz1Region,
}, false),
},
"datastore_id": {
Original file line number Diff line number Diff line change
@@ -53,6 +53,7 @@ func resourceDBaaSPostgreSQLDatastoreV1() *schema.Resource {
ru8Region,
ru9Region,
nl1Region,
uz1Region,
}, false),
},
"subnet_id": {
Original file line number Diff line number Diff line change
@@ -47,6 +47,7 @@ func resourceDBaaSPostgreSQLExtensionV1() *schema.Resource {
ru8Region,
ru9Region,
nl1Region,
uz1Region,
}, false),
},
"available_extension_id": {
Original file line number Diff line number Diff line change
@@ -46,6 +46,7 @@ func resourceDBaaSPrometheusMetricTokenV1() *schema.Resource {
ru8Region,
ru9Region,
nl1Region,
uz1Region,
}, false),
},
"name": {
1 change: 1 addition & 0 deletions selectel/resource_selectel_dbaas_redis_datastore_v1.go
Original file line number Diff line number Diff line change
@@ -53,6 +53,7 @@ func resourceDBaaSRedisDatastoreV1() *schema.Resource {
ru8Region,
ru9Region,
nl1Region,
uz1Region,
}, false),
},
"subnet_id": {
1 change: 1 addition & 0 deletions selectel/resource_selectel_dbaas_user_v1.go
Original file line number Diff line number Diff line change
@@ -48,6 +48,7 @@ func resourceDBaaSUserV1() *schema.Resource {
ru8Region,
ru9Region,
nl1Region,
uz1Region,
}, false),
},
"name": {

0 comments on commit 47becbe

Please sign in to comment.