-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add datastore type dependent DBaaS resources #206
Add datastore type dependent DBaaS resources #206
Conversation
7d10468
to
3730c4e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some acceptance tests were failed, e.g:
=== RUN TestAccDBaaSFlavorsV1Basic
data_source_selectel_dbaas_flavor_v1_test.go:23: Step 1/2 error: Check failed: Check 8/8 error: data.selectel_dbaas_flavor_v1.flavor_tf_acc_test_1: Attribute 'flavors.0.datastore_type_ids.#' expected "9", got "14"
--- FAIL: TestAccDBaaSFlavorsV1Basic (105.17s)
Please check.
- Add datastore, databases, extension resources for specific datastore type: selectel_dbaas_postgresql_datastore_v1, selectel_dbaas_mysql_datastore_v1, selectel_dbaas_redis_datastore_v1, selectel_dbaas_postgresql_database_v1, selectel_dbaas_mysql_database_v1, selectel_dbaas_postgresql_extension_v1 - Mark old datastore, databases, extension that were available for all types as deprecated
- Add nl-1 endpoint to the regions - Use dbaas-go v0.6.0 with config parser
Fixed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
here we go again
=== RUN TestAccDBaaSMySQLDatastoreV1Basic
resource_selectel_dbaas_mysql_datastore_v1_test.go:27: Step 4/5 error: Error running apply: exit status 1
Error: error updating datastore '1f1e8b7e-be3f-4517-9dea-902eeedfe68e': Bad Request: Validation failure: datastore cannot be resized. Code: 400
on terraform_plugin_test.tf line 21, in resource "selectel_dbaas_mysql_datastore_v1" "datastore_tf_acc_test_1":
21: resource "selectel_dbaas_mysql_datastore_v1" "datastore_tf_acc_test_1" {
--- FAIL: TestAccDBaaSMySQLDatastoreV1Basic (569.79s)
382b9f5
to
c5e44fe
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Add datastore, databases, extension resources for specific datastore types:
selectel_dbaas_postgresql_datastore_v1
,selectel_dbaas_mysql_datastore_v1
,selectel_dbaas_redis_datastore_v1
,selectel_dbaas_postgresql_database_v1
,selectel_dbaas_mysql_database_v1
,selectel_dbaas_postgresql_extension_v1
Mark old datastore, databases, extension that were available for all types as deprecated