We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e23c44c + cc17840 commit a1b9e17Copy full SHA for a1b9e17
tests/integration/targets/gcp_pubsub_subscription/tasks/autogen.yml
@@ -73,6 +73,21 @@
73
that:
74
- result.changed == false
75
#----------------------------------------------------------
76
+- name: Update a subscription
77
+ google.cloud.gcp_pubsub_subscription:
78
+ name: "{{ resource_name }}"
79
+ topic: "{{ topic }}"
80
+ ack_deadline_seconds: 60
81
+ project: "{{ gcp_project }}"
82
+ auth_kind: "{{ gcp_cred_kind }}"
83
+ service_account_file: "{{ gcp_cred_file | default(omit) }}"
84
+ state: present
85
+ register: result
86
+- name: Assert changed is true
87
+ ansible.builtin.assert:
88
+ that:
89
+ - result.changed == true
90
+#----------------------------------------------------------
91
- name: Delete a subscription
92
google.cloud.gcp_pubsub_subscription:
93
name: "{{ resource_name }}"
0 commit comments