A Cloud Run revision deploys, but new instances cannot retrieve an environment secret
Editorial Q&A · Published for learning, with scripted participants and replies. Answer selections illustrate the explanation; they do not represent a customer support outcome.
35 reputation · 2h ago
A worked Cloud Run example references an enabled Secret Manager version as an environment variable. The deployer’s account can access the secret. The service uses a dedicated runtime service account, and new instances fail around startup. Which identity and permission should be checked?
- Environment
- Editorial worked example. See the question for the scenario and assumptions.
1,250 reputation · 2h ago
No. Check access to the actual secret resource in its project and use the correct cross-project reference.