diff --git a/plugins/modules/gcp_cloudbuild_trigger.py b/plugins/modules/gcp_cloudbuild_trigger.py index 13759a8..4e472b0 100644 --- a/plugins/modules/gcp_cloudbuild_trigger.py +++ b/plugins/modules/gcp_cloudbuild_trigger.py @@ -60,6 +60,7 @@ options: - Whether the trigger is disabled or not. If true, the trigger will never result in a build. required: false + type: bool substitutions: description: - Substitutions data for Build resource. @@ -300,7 +301,7 @@ disabled: - Whether the trigger is disabled or not. If true, the trigger will never result in a build. returned: success - type: str + type: bool createTime: description: - Time when the trigger was created. @@ -541,7 +542,7 @@ def main(): state=dict(default='present', choices=['present', 'absent'], type='str'), id=dict(type='str'), description=dict(type='str'), - disabled=dict(type='str'), + disabled=dict(type='bool'), substitutions=dict(type='dict'), filename=dict(type='str'), ignored_files=dict(type='list', elements='str'), diff --git a/plugins/modules/gcp_cloudbuild_trigger_facts.py b/plugins/modules/gcp_cloudbuild_trigger_facts.py index 05faee0..42c4dc6 100644 --- a/plugins/modules/gcp_cloudbuild_trigger_facts.py +++ b/plugins/modules/gcp_cloudbuild_trigger_facts.py @@ -73,7 +73,7 @@ items: - Whether the trigger is disabled or not. If true, the trigger will never result in a build. returned: success - type: str + type: bool createTime: description: - Time when the trigger was created.