replacing the items key with the resources key (#239)

Signed-off-by: Modular Magician <magic-modules@google.com>
This commit is contained in:
The Magician 2019-04-30 10:43:45 -07:00 committed by Alex Stephen
commit c301d3b4ae
61 changed files with 173 additions and 173 deletions

View file

@ -49,7 +49,7 @@
- name: verify that command succeeded
assert:
that:
- results['items'] | length >= 1
- results['resources'] | length >= 1
# ----------------------------------------------------------------------------
- name: create a dataset that already exists
gcp_bigquery_dataset:
@ -93,7 +93,7 @@
- name: verify that command succeeded
assert:
that:
- results['items'] | length == 0
- results['resources'] | length == 0
# ----------------------------------------------------------------------------
- name: delete a dataset that does not exist
gcp_bigquery_dataset:

View file

@ -66,7 +66,7 @@
- name: verify that command succeeded
assert:
that:
- results['items'] | length >= 1
- results['resources'] | length >= 1
# ----------------------------------------------------------------------------
- name: create a table that already exists
gcp_bigquery_table:
@ -117,7 +117,7 @@
- name: verify that command succeeded
assert:
that:
- results['items'] | length == 0
- results['resources'] | length == 0
# ----------------------------------------------------------------------------
- name: delete a table that does not exist
gcp_bigquery_table:

View file

@ -62,7 +62,7 @@
- name: verify that command succeeded
assert:
that:
- results['items'] | length == 1
- results['resources'] | length == 1
# ----------------------------------------------------------------------------
- name: create a region disk that already exists
gcp_compute_region_disk:
@ -119,7 +119,7 @@
- name: verify that command succeeded
assert:
that:
- results['items'] | length == 0
- results['resources'] | length == 0
# ----------------------------------------------------------------------------
- name: delete a region disk that does not exist
gcp_compute_region_disk:

View file

@ -50,7 +50,7 @@
- name: verify that command succeeded
assert:
that:
- results['items'] | length == 1
- results['resources'] | length == 1
# ----------------------------------------------------------------------------
- name: create a managed zone that already exists
gcp_dns_managed_zone:
@ -95,7 +95,7 @@
- name: verify that command succeeded
assert:
that:
- results['items'] | length == 0
- results['resources'] | length == 0
# ----------------------------------------------------------------------------
- name: delete a managed zone that does not exist
gcp_dns_managed_zone:

View file

@ -56,7 +56,7 @@
- name: verify that command succeeded
assert:
that:
- results['items'] | length >= 1
- results['resources'] | length >= 1
# ----------------------------------------------------------------------------
- name: create a role that already exists
gcp_iam_role:
@ -106,7 +106,7 @@
- name: verify that command succeeded
assert:
that:
- results['items'] | length == 0
- results['resources'] | length == 0
# ----------------------------------------------------------------------------
- name: delete a role that does not exist
gcp_iam_role:

View file

@ -46,7 +46,7 @@
- name: verify that command succeeded
assert:
that:
- results['items'] | length >= 1
- results['resources'] | length >= 1
# ----------------------------------------------------------------------------
- name: create a service account that already exists
gcp_iam_service_account:
@ -86,7 +86,7 @@
- name: verify that command succeeded
assert:
that:
- results['items'] | length == 0
- results['resources'] | length == 0
# ----------------------------------------------------------------------------
- name: delete a service account that does not exist
gcp_iam_service_account:

View file

@ -73,7 +73,7 @@
- name: verify that command succeeded
assert:
that:
- results['items'] | length >= 1
- results['resources'] | length >= 1
# ----------------------------------------------------------------------------
- name: create a instance that already exists
gcp_redis_instance:
@ -132,7 +132,7 @@
- name: verify that command succeeded
assert:
that:
- results['items'] | length == 0
- results['resources'] | length == 0
# ----------------------------------------------------------------------------
- name: delete a instance that does not exist
gcp_redis_instance:

View file

@ -50,7 +50,7 @@
- name: verify that command succeeded
assert:
that:
- results['items'] | length >= 1
- results['resources'] | length >= 1
# ----------------------------------------------------------------------------
- name: create a project that already exists
gcp_resourcemanager_project:
@ -94,7 +94,7 @@
- name: verify that command succeeded
assert:
that:
- results['items'] | length == 0
- results['resources'] | length == 0
# ----------------------------------------------------------------------------
- name: delete a project that does not exist
gcp_resourcemanager_project:

View file

@ -44,7 +44,7 @@
- name: verify that command succeeded
assert:
that:
- results['items'] | length >= 1
- results['resources'] | length >= 1
# ----------------------------------------------------------------------------
- name: create a repository that already exists
gcp_sourcerepo_repository:
@ -82,7 +82,7 @@
- name: verify that command succeeded
assert:
that:
- results['items'] | length == 0
- results['resources'] | length == 0
# ----------------------------------------------------------------------------
- name: delete a repository that does not exist
gcp_sourcerepo_repository:

View file

@ -59,7 +59,7 @@
- name: verify that command succeeded
assert:
that:
- results['items'] | length >= 1
- results['resources'] | length >= 1
# ----------------------------------------------------------------------------
- name: create a instance that already exists
gcp_sql_instance:
@ -113,7 +113,7 @@
- name: verify that command succeeded
assert:
that:
- results['items'] | length == 0
- results['resources'] | length == 0
# ----------------------------------------------------------------------------
- name: delete a instance that does not exist
gcp_sql_instance: