terraform-provider-google
terraform-provider-google copied to clipboard
Cloud SQL disk_size and disk_autoresize documentation is misleading
Community Note
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request.
- Please do not leave +1 or me too comments, they generate extra noise for issue followers and do not help prioritize the request.
- If you are interested in working on this issue or have submitted a pull request, please leave a comment.
- If an issue is assigned to the
modular-magician
user, it is either in the process of being autogenerated, or is planned to be autogenerated soon. If an issue is assigned to a user, that user is claiming responsibility for the issue. If an issue is assigned tohashibot
, a community member has claimed the issue already.
Description
The documentation for disk_size
and disk_autoresize
in https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/sql_database_instance#disk_size seem to indicate that they are mutually exclusive (disk_size
- "If you want to set this field, set disk_autoresize to false."). However in GCP, it's possible to enable both on a Cloud SQL instance -
![Screen Shot 2022-09-21 at 11 44 55](https://user-images.githubusercontent.com/2179163/191550419-56aad8e7-1ba5-44c9-b726-3e355673efbe.png)
Affected Resource(s)
I'll have a pull request up later this afternoon in https://github.com/GoogleCloudPlatform/magic-modules to address this
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.