BigQueryConnectionConnection resourceID requires UUID format but the API does not #3140
Closed
3 tasks done
Labels
bug
Something isn't working
Checklist
Bug Description
Resource:
BigQueryConnectionConnection
CRD:
bigqueryconnection.cnrm.cloud.google.com/v1alpha1
The spec.resourceID field must be in UUID format. When applying a value that does not have a UUID field the resource will end up in UpdateFailed state with the following message:
Update call failed: spec.resourceID should be in a UUID format, got manual-connection
Im not sure why the spec.resourceID must be in UUID format. According to the CRD, the resourceID maps to the connectionId in the API:
Looking at the Bigquery Connection API, the connectionId does not require UUID format: https://cloud.google.com/bigquery/docs/reference/bigqueryconnection/rest/v1/projects.locations.connections/create
Looking at the API response from a manually created bigquery connection, UUID format is not required:
This prevents the acquisition of existing Bigquery Connections being managed by config connector.
Additional Diagnostic Information
none
Kubernetes Cluster Version
v1.30.3-gke.1969001
Config Connector Version
1.123.1
Config Connector Mode
namespaced mode (default)
Log Output
No response
Steps to reproduce the issue
Create a bigquery connection manually:
Apply the YAML below to acquire management of this resource
YAML snippets
The text was updated successfully, but these errors were encountered: