diff --git a/cloudconnexa/data_source_application.go b/cloudconnexa/data_source_application.go index a3196a5..59f792d 100644 --- a/cloudconnexa/data_source_application.go +++ b/cloudconnexa/data_source_application.go @@ -15,13 +15,13 @@ func dataSourceApplication() *schema.Resource { "id": { Type: schema.TypeString, Optional: true, - AtLeastOneOf: []string{"id", "name"}, + ExactlyOneOf: []string{"id", "name"}, Description: "Application ID", }, "name": { Type: schema.TypeString, Optional: true, - AtLeastOneOf: []string{"id", "name"}, + ExactlyOneOf: []string{"id", "name"}, Description: "Application name", }, "description": { diff --git a/cloudconnexa/data_source_connector.go b/cloudconnexa/data_source_connector.go index 33f0528..63393f5 100644 --- a/cloudconnexa/data_source_connector.go +++ b/cloudconnexa/data_source_connector.go @@ -16,13 +16,13 @@ func dataSourceConnector() *schema.Resource { "id": { Type: schema.TypeString, Optional: true, - AtLeastOneOf: []string{"id", "name"}, + ExactlyOneOf: []string{"id", "name"}, Description: "The ID of the connector.", }, "name": { Type: schema.TypeString, Optional: true, - AtLeastOneOf: []string{"id", "name"}, + ExactlyOneOf: []string{"id", "name"}, Description: "The name of the connector.", }, "description": { diff --git a/cloudconnexa/data_source_network.go b/cloudconnexa/data_source_network.go index 782b2a4..ce0bf73 100644 --- a/cloudconnexa/data_source_network.go +++ b/cloudconnexa/data_source_network.go @@ -17,13 +17,13 @@ func dataSourceNetwork() *schema.Resource { "id": { Type: schema.TypeString, Optional: true, - AtLeastOneOf: []string{"id", "name"}, + ExactlyOneOf: []string{"id", "name"}, Description: "The network ID.", }, "name": { Type: schema.TypeString, Optional: true, - AtLeastOneOf: []string{"id", "name"}, + ExactlyOneOf: []string{"id", "name"}, Description: "The network name.", }, "description": { diff --git a/cloudconnexa/data_source_user_group.go b/cloudconnexa/data_source_user_group.go index ff1ef57..efa28a9 100644 --- a/cloudconnexa/data_source_user_group.go +++ b/cloudconnexa/data_source_user_group.go @@ -17,13 +17,13 @@ func dataSourceUserGroup() *schema.Resource { "id": { Type: schema.TypeString, Optional: true, - AtLeastOneOf: []string{"id", "name"}, + ExactlyOneOf: []string{"id", "name"}, Description: "The user group ID.", }, "name": { Type: schema.TypeString, Optional: true, - AtLeastOneOf: []string{"id", "name"}, + ExactlyOneOf: []string{"id", "name"}, Description: "The user group name.", }, "vpn_region_ids": {