mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-07-28 23:51:32 -07:00
Adding namespace on integration tests + examples
Signed-off-by: Modular Magician <magic-modules@google.com>
This commit is contained in:
parent
6c7c5f4977
commit
516fada880
130 changed files with 570 additions and 570 deletions
|
@ -14,7 +14,7 @@
|
|||
# ----------------------------------------------------------------------------
|
||||
# Pre-test setup
|
||||
- name: delete a topic
|
||||
gcp_pubsub_topic:
|
||||
google.cloud.gcp_pubsub_topic:
|
||||
name: test-topic1
|
||||
project: "{{ gcp_project }}"
|
||||
auth_kind: "{{ gcp_cred_kind }}"
|
||||
|
@ -22,7 +22,7 @@
|
|||
state: absent
|
||||
#----------------------------------------------------------
|
||||
- name: create a topic
|
||||
gcp_pubsub_topic:
|
||||
google.cloud.gcp_pubsub_topic:
|
||||
name: test-topic1
|
||||
project: "{{ gcp_project }}"
|
||||
auth_kind: "{{ gcp_cred_kind }}"
|
||||
|
@ -47,7 +47,7 @@
|
|||
- "'test-topic1' in \"{{ results['resources'] | map(attribute='name') | list }}\""
|
||||
# ----------------------------------------------------------------------------
|
||||
- name: create a topic that already exists
|
||||
gcp_pubsub_topic:
|
||||
google.cloud.gcp_pubsub_topic:
|
||||
name: test-topic1
|
||||
project: "{{ gcp_project }}"
|
||||
auth_kind: "{{ gcp_cred_kind }}"
|
||||
|
@ -60,7 +60,7 @@
|
|||
- result.changed == false
|
||||
#----------------------------------------------------------
|
||||
- name: delete a topic
|
||||
gcp_pubsub_topic:
|
||||
google.cloud.gcp_pubsub_topic:
|
||||
name: test-topic1
|
||||
project: "{{ gcp_project }}"
|
||||
auth_kind: "{{ gcp_cred_kind }}"
|
||||
|
@ -85,7 +85,7 @@
|
|||
- "'test-topic1' not in \"{{ results['resources'] | map(attribute='name') | list }}\""
|
||||
# ----------------------------------------------------------------------------
|
||||
- name: delete a topic that does not exist
|
||||
gcp_pubsub_topic:
|
||||
google.cloud.gcp_pubsub_topic:
|
||||
name: test-topic1
|
||||
project: "{{ gcp_project }}"
|
||||
auth_kind: "{{ gcp_cred_kind }}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue