When I deploy a cloud function v2 using terraform trying to specify a docker_repository, I get this error
Error: Error creating function: googleapi: Error 400: Repository name `projects/org-service-accounts-401323/locations/us/repositories/gcr.io` has an invalid format. It should match the pattern `projects/{project}/locations/{location}/repositories/{repository}`.
But the format looks correct....
Using terraform 1.9.5 and google provider 5.42.0
Here are the configs I tried