Zone
not set for sbs_volumes in ListServers, Causing Terraform Errors
#2273
Labels
bug
Something isn't working
instance
Instance issues, bugs and feature requests
priority:highest
Bugs filled by customers, security issues
The
sbs_volumes
do not have theVolumes.[].Zone
set when usingListServers
. This conflicts with the behavior described in https://github.com/scaleway/scaleway-sdk-go/blob/master/api/instance/v1/instance_sdk.go#L1503, as the client interprets this as "default."To reproduce the issue:
sbs_volumes
.scw instance server list --json
.zone
is not set for the attachedsbs_volumes
.This causes issues, such as breaking the Terraform state update when using multiple zones. The Terraform provider attempts to query the volume using the default region instead of the correct volume region for
sbs_volumes
, resulting in the following error:│ Error: failed to read instance volume 8fa94ad1-[redacted]: scaleway-sdk-go: resource volume with ID 8fa94ad1-[redacted] is not found
.The text was updated successfully, but these errors were encountered: