terraform-provider-scaleway
terraform-provider-scaleway copied to clipboard
inbound_rule / outbound_rule `port` leads to unstable state
trafficstars
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
Terraform v1.7.5 on linux_amd64
- provider registry.terraform.io/scaleway/scaleway v2.38.2
Affected Resource(s)
- scaleway_instance_security_group
Terraform Configuration Files
resource "scaleway_instance_security_group" "voip" {
...
outbound_rule {
action = "accept"
protocol = "UDP"
port = 5060
}
}
Expected Behavior
Applying the plan then running terraform plan should report the infrastructure matches the configuration.
Actual Behavior
Instead, we end up with a plan which wants to update the infrastructure, at least for ports above 1024.
Changing port to port_range = "5060-5060" seems to work around the issue.