Unable to specify minimum database config when restoring backup or creating as a read only replica #5564
Labels
service/Cloud Databases
Issues related to Cloud Databases
service/Key Management Services
Issues related to Key Management Release
service/Resource Management
Issues related to Resource Manager or Resource controller Issues
Community Note
Terraform CLI and Terraform IBM Provider Version
Note: that we haven't upgraded past 1.57 for reasons somewhat associated with BUSL, but also it doesn't like our state configuration when we have tested the latest version.
Affected Resource(s)
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
Debug Output
https://gist.github.com/tlcox/dd715e3f87af39cd7986b3c23031909d
Expected Behavior
I should be able to create a database with the minimum specs while specifying them.
Actual Behavior
I get the error messages:
Stating that disk must be a minimum of 15360 MB in increments of 3072 MB. And that the memory must be a minimum of 3072 MB in increments of 384 MB
Note that this is not the case if I don't specify the backup to restore from, this is how we provision our normal databases. The issue also doesn't occur if we define the database without specifying the disk or memory. In that case they provision the way we want with 5GB disk and 1GB memory.
This also occurs when I specify
remote_leader_id
instead of a backup crn. I have tried both since the whole point of this is to upgrade from Postgres 12 to 16 and these are the 2 methods for upgrading.Steps to Reproduce
terraform apply
Important Factoids
We would just remove the specified disk and memory usage limits to get the min spec database, but have the following concerns/challenges:
References
The text was updated successfully, but these errors were encountered: