diff --git a/plugins/modules/gcp_cloudbuild_trigger.py b/plugins/modules/gcp_cloudbuild_trigger.py index c0a7a8d..75207b8 100644 --- a/plugins/modules/gcp_cloudbuild_trigger.py +++ b/plugins/modules/gcp_cloudbuild_trigger.py @@ -109,7 +109,7 @@ options: - 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: true + required: false type: dict suboptions: project_id: @@ -648,7 +648,6 @@ 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'),