Skip to content

feat: add approval_required variable to cloud-function-gen2 module#102

Merged
harrison-carter merged 1 commit into
mainfrom
feat/add-cloud-build-approval-variable-to-cloud-function-module
Mar 23, 2026
Merged

feat: add approval_required variable to cloud-function-gen2 module#102
harrison-carter merged 1 commit into
mainfrom
feat/add-cloud-build-approval-variable-to-cloud-function-module

Conversation

@harrison-carter

@harrison-carter harrison-carter commented Mar 23, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds the approval_required boolean variable to the cloud-function-gen2 module, completing the rollout started in feat: add approval_required config to Cloud Build triggers #101 for the cloud-run-v2 and cloud-cloudbuild-trigger modules
  • Wires the variable through to the Cloud Build trigger resource, allowing consumers to require manual approval before build execution

Test plan

  • Verify terraform validate passes for cloud-function-gen2
  • Confirm existing deployments are unaffected (variable defaults to false)
  • Test setting approval_required = true on a Cloud Function trigger

- Add `approval_required` boolean variable to the cloud-function-gen2 module, defaulting to `false`
- Wire the variable through to the Cloud Build trigger resource in `main.tf`
@harrison-carter harrison-carter force-pushed the feat/add-cloud-build-approval-variable-to-cloud-function-module branch from c3dac71 to 5e3caea Compare March 23, 2026 10:43
@harrison-carter harrison-carter merged commit 0847354 into main Mar 23, 2026
2 checks passed
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 1.72.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants