mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-07-24 05:40:33 -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 instance
|
||||
gcp_spanner_instance:
|
||||
google.cloud.gcp_spanner_instance:
|
||||
name: testinstance
|
||||
display_name: My Spanner Instance
|
||||
node_count: 2
|
||||
|
@ -27,7 +27,7 @@
|
|||
state: absent
|
||||
#----------------------------------------------------------
|
||||
- name: create a instance
|
||||
gcp_spanner_instance:
|
||||
google.cloud.gcp_spanner_instance:
|
||||
name: testinstance
|
||||
display_name: My Spanner Instance
|
||||
node_count: 2
|
||||
|
@ -57,7 +57,7 @@
|
|||
- results['resources'] | map(attribute='name') | select("match", ".*testinstance.*") | list | length == 1
|
||||
# ----------------------------------------------------------------------------
|
||||
- name: create a instance that already exists
|
||||
gcp_spanner_instance:
|
||||
google.cloud.gcp_spanner_instance:
|
||||
name: testinstance
|
||||
display_name: My Spanner Instance
|
||||
node_count: 2
|
||||
|
@ -75,7 +75,7 @@
|
|||
- result.changed == false
|
||||
#----------------------------------------------------------
|
||||
- name: delete a instance
|
||||
gcp_spanner_instance:
|
||||
google.cloud.gcp_spanner_instance:
|
||||
name: testinstance
|
||||
display_name: My Spanner Instance
|
||||
node_count: 2
|
||||
|
@ -105,7 +105,7 @@
|
|||
- results['resources'] | map(attribute='name') | select("match", ".*testinstance.*") | list | length == 0
|
||||
# ----------------------------------------------------------------------------
|
||||
- name: delete a instance that does not exist
|
||||
gcp_spanner_instance:
|
||||
google.cloud.gcp_spanner_instance:
|
||||
name: testinstance
|
||||
display_name: My Spanner Instance
|
||||
node_count: 2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue