Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cloud Build Trigger's trigger template should be required. #12

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion plugins/modules/gcp_cloudbuild_trigger.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
- Branch and tag names in trigger templates are interpreted as regular expressions.
Any branch or tag change that matches that regular expression will trigger a
build.
required: false
required: true
type: dict
suboptions:
project_id:
Expand Down Expand Up @@ -632,6 +632,7 @@ def main():
ignored_files=dict(type='list', elements='str'),
included_files=dict(type='list', elements='str'),
trigger_template=dict(
required=True,
type='dict',
options=dict(
project_id=dict(type='str'),
Expand Down