You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
resource"opentelekomcloud_rds_instance_v3""this" {
name ="test-rds"
availability_zone = ["eu-de-01"]
flavor ="rds.pg.c2.medium"
security_group_id =module.sg-testing.this_security_group_id
vpc_id =module.vpc.vpc_id[0]
subnet_id =module.subnet.iddb {
password ="[REDACTED]"
type ="PostgreSQL"
version ="14"
port ="5432"
}
volume {
type ="ULTRAHIGH"
size ="100"
}
param_group_id = opentelekomcloud_rds_parametergroup_v3.this.id
}
resource"opentelekomcloud_rds_parametergroup_v3""this" {
name ="test-rds"
values = {
autovacuum_max_workers ="20"
}
datastore {
type ="PostgreSQL"
version ="14"
}
}
Debug Output/Panic Output
No output
Steps to Reproduce
Create the RDS instance and the Parameter group with the example code above
RDS parameter group has autovacuum_max_workers set to 20
change autovacuum_max_workers = "20" to autovacuum_max_workers = "30" or similar and run terraform apply
Modify was successful, but the parameter group attached to the RDS instance has still autovacuum_max_workers = "20"
When you go to the Parameter Templates -> Custom Templates in the RDS overview and choose the created parameter group you will see that the value for autovacuum_max_workers is 30.
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.
The text was updated successfully, but these errors were encountered:
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.
[RDS] added test with configuration parameters update
Summary of the Pull Request
PR Checklist
Refers to: #2169
Tests added/passed.
Documentation updated.
Schema updated.
Release notes added.
Acceptance Steps Performed
=== RUN TestAccRdsPostgre13V3ParamsBasic
--- PASS: TestAccRdsPostgre13V3ParamsBasic (542.66s)
PASS
Process finished with the exit code 0
Reviewed-by: Artem Lifshits
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.
The text was updated successfully, but these errors were encountered: