[Docs]: conflicting behaviour for storage autoscaling for RDSΒ #41063
Description
Documentation Link
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/db_instance
Description
max_allocated_storage - (Optional) When configured, the upper limit to which Amazon RDS can automatically scale the storage of the DB instance. Configuring this will automatically ignore differences to allocated_storage. Must be greater than or equal to allocated_storage or 0 to disable Storage Autoscaling.
To enable Storage Autoscaling with instances that support the feature, define the max_allocated_storage argument higher than the allocated_storage argument. Terraform will automatically hide differences with the allocated_storage argument value if autoscaling occurs.
In the docs, it says to max_allocated_storage
β₯ allocated_storage
|| max_allocated_storage
== 0 to disable storage autoscaling, however, in another part of the documentation, it says it will enable storage autoscaling. Is this discrepancy expected? if not, what should the actual behaviour be?
References
No response
Would you like to implement a fix?
Yes