Open b4nst opened 1 year ago
Btw I try changing the bucket to projects/<redacted_project>/buckets/<redacted_bucket>
just to be sure but I get the expected error:
invalid resource name "projects/<redacted_project>/buckets/<redacted_bucket>": [may not contain '/']
Can you remove resourceRef.name
and try use resourceRef.external
with value projects/<redacted_project>/buckets/<redacted_bucket>
?
Yup, I confirm this does work by using resourceRef.external
(need to also remove resourceRef.kind
to match the schema). Does it have something to do with the eventTrigger.eventType
? That's the only real diff I see with the documentation example.
Thanks for confirming @b4nst!
Does resourceRef.name
work if the eventTrigger.eventType
is providers/cloud.storage/eventTypes/object.change
?
It could be a behavior change in the underlying GCP API.
Checklist
Bug Description
After following example on CloudFunctionsFunction, I ended up with an error on the event trigger resource.
Additional Diagnostic Information
Kubernetes Cluster Version
v1.24.17-gke.200
Config Connector Version
1.89.0
Config Connector Mode
cluster mode
Log Output
Steps to reproduce the issue
Apply resources, wait for result
YAML snippets