Allow network data source query by `region`
zulh-civo opened this issue · 0 comments
zulh-civo commented
Related to #83, the following network query via data source will fail.
Config file:
data "civo_network" "test" {
label = "Default"
region = "LON1"
}
Traces
╷
│ Error: ExactlyOne
│
│ with data.civo_network.test,
│ on main.tf line 17, in data "civo_network" "test":
│ 17: data "civo_network" "test" {
│
│ "id": only one of `id,label,region` can be specified, but `label,region` were specified.
╵
╷
│ Error: ExactlyOne
│
│ with data.civo_network.test,
│ on main.tf line 18, in data "civo_network" "test":
│ 18: label = "Default"
│
│ "label": only one of `id,label,region` can be specified, but `label,region` were specified.
╵
User should be able to query network by region
with/without label
. And not just by label
.