Hey!
I’m trying to set-up Customer Managed Encryption Key on Cloud Run, and while I had no issue with BigQuery, it is not working on Cloud Run.
I don’t get many information on the crash, it just times out after like 20 minutes, and it says:
- The service has encountered an error during container import. Please try again later. Resource readiness deadline exceeded.
Here’s what I tried:
- Disabling the remote key (on Thales) does make an error, so it is correctly contacting Thales when trying to spin it up
- With an “Hello” container, it stills the same issue
- The role is correctly set to the service account
- Disabling the CMEK correctly deploy the cloud run, enabling it after it was deployed goes back to the resource readiness deadline error
- I’ve tried setting up custom startup_probe, but it doesn’t change anything
- Checking the auditlog from both the KMS & CloudRun service, I just see a lot of Encrypt and then Decrypt from the service account, but all are granted.
I’m at a lost as to what I can try more to be honest, so open to anything!
Thanks.