azurerm_redis_enterprise_database
: Update port
argument rule to reflect server-side validation #12376
Open
Description
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
Terraform (and AzureRM Provider) Version
- provider registry.terraform.io/hashicorp/azurerm 2.65.0
Affected Resource(s)
azurerm_redis_enterprise_database
Expected Behaviour
If supplied, do not allow any value other than 10000
for the optional port
argument. This argument continues to be optional.
Please update the documentation for the port
argument (https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/redis_enterprise_database#port) to list: "Currently the acceptable value for this argument is 10000
".
Actual Behaviour
At this time, if a port number other than 10000
is supplied during database creation, an error will occur on the server-side and the database will not be created as requested.
- #0000