diff --git a/plugins/modules/gcp_spanner_database.py b/plugins/modules/gcp_spanner_database.py index 6a91c25..4d7356f 100644 --- a/plugins/modules/gcp_spanner_database.py +++ b/plugins/modules/gcp_spanner_database.py @@ -286,7 +286,7 @@ def extra_statements_update(module, request, response): def delete(module, link): auth = GcpSession(module, 'spanner') - return wait_for_operation(module, auth.delete(link)) + return return_if_object(module, auth.delete(link)) def resource_to_request(module): diff --git a/tests/integration/targets/gcp_spanner_database/aliases b/tests/integration/targets/gcp_spanner_database/aliases index 9812f01..0e4419e 100644 --- a/tests/integration/targets/gcp_spanner_database/aliases +++ b/tests/integration/targets/gcp_spanner_database/aliases @@ -1,2 +1 @@ -cloud/gcp -unsupported +cloud/gcp \ No newline at end of file