-
Notifications
You must be signed in to change notification settings - Fork 133
Closed
Labels
enhancementpriority:highestBugs filled by customers, security issuesBugs filled by customers, security issuesprovider
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
Description
Most resources export a locality ID (fr-par-1/xxxx-xxxx), when linking multiple resources altogether we should check that the localities match when needed.
For example, an instance should check that the ip zoned received is in the same zone.
Terraform snippet
resource scaleway_instance_ip ip {
zone = "fr-par-2"
}
resource scaleway_instance_server server {
type = "DEV1-S"
zone = "fr-par-1"
image = "ubuntu_jammy"
ip_id = scaleway_instance_ip.ip.id
}This snippet should fail on terraform plan
New or Affected Resource(s)
A lot
References
Metadata
Metadata
Assignees
Labels
enhancementpriority:highestBugs filled by customers, security issuesBugs filled by customers, security issuesprovider