-
Notifications
You must be signed in to change notification settings - Fork 133
Closed
Labels
bugredisManaged Redis issues, bugs and feature requestsManaged Redis issues, bugs and feature requests
Milestone
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 other comments that do not add relevant new information or questions, 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 Version
1.2.8
Affected Resource(s)
scaleway_redis_cluster(.acl)
Terraform Configuration Files
resource "scaleway_redis_cluster" "main" {
...
acl {
ip = "1.2.3.4"
description = "Allow 1.2.3.4"
}
}Expected Behavior
This should either not be accepted, or else not result in unstable resources
Actual Behavior
The scaleway API accepts 1.2.3.4 formatted IPs, but automatically converts them to 1.2.3.4/32, resulting in changes on every terraform apply.
Terraform will perform the following actions:
# scaleway_redis_cluster.rage will be updated in-place
~ resource "scaleway_redis_cluster" "example" {
id = "XXXXXXX"
name = "example"
- acl {
- description = "allow 1.2.3.4" -> null
- id = "XXXX" -> null
- ip = "1.2.3.4/32" -> null
}
+ acl {
+ description = "scw-adimian-test-adimian-k8s-test-5dddb01e31e8"
+ id = (known after apply)
+ ip = "1.2.3.4"
}Note: this does not seem to be the case with the rdb acl, here a proper CIDR seems to be enforced.
Metadata
Metadata
Assignees
Labels
bugredisManaged Redis issues, bugs and feature requestsManaged Redis issues, bugs and feature requests