| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
This pull request fixes the issue of ensuring the Secret Manager API is enabled during function deployment when secrets are present. Key changes include adding the secretManagerOrigin import, refactoring API enablement logic into the new ensureAllRequiredAPIsEnabled function, and adding corresponding tests for the new behavior.
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| src/deploy/functions/prepare.ts | Refactored API enablement logic and ensured Secret Manager API is enabled when secrets are used. |
| src/deploy/functions/prepare.spec.ts | Added tests to validate the new ensureAllRequiredAPIsEnabled function. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
When secret is included in any function that's being deploy, we'll ensure that the Secret Manager API is enabled before proceeding with the deploy.
Fixes #5307