Open EugenFo opened 1 year ago
@EugenFo Hi, as workaround you can use parameters block inside rds instance resource:
parameters = {
max_prepared_transactions = "250"
max_connections = "300"
autovacuum_max_workers = "30"
}
Need more time to investigate why parameter group not applied after changes.
https://jira.tsi-dev.otc-service.com/browse/BM-2138 - currently not possible to reapply configuration template to instance on changes, internal incident created, as workaround please use parameters block in opentelekomcloud_rds_instance_v3 resource, will add example in documentation.
Hello again. I've found an issue with the
opentelekomcloud_rds_parametergroup_v3
resource. Modifying the values/parameters are only modified in the custom template, but not in the actual parameter group that is used by the RDS instance.Terraform provider version
Affected Resource(s)
Terraform Configuration Files
Debug Output/Panic Output
No output
Steps to Reproduce
autovacuum_max_workers
set to20
autovacuum_max_workers = "20"
toautovacuum_max_workers = "30"
or similar and runterraform apply
autovacuum_max_workers = "20"
Parameter Templates -> Custom Templates
in the RDS overview and choose the created parameter group you will see that the value forautovacuum_max_workers
is30
.Expected Behavior
The parameter group that is attached to the RDS instance should be updated as the custom template did.
Actual Behavior
See
Steps to Reproduce
. We need to manually reapply the custom template to the RDS instance to update the modified values.