From 5b0b1af2f62051251cf2e71e8fc696b617f4f756 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wiktor=20Niesiob=C4=99dzki?= Date: Tue, 15 Nov 2022 15:27:53 +0100 Subject: [PATCH] Fix tests refering to wrong IAM resource --- tests/modules/cloud_function_v2/test_plan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/modules/cloud_function_v2/test_plan.py b/tests/modules/cloud_function_v2/test_plan.py index de5a06a9..44b7c27f 100644 --- a/tests/modules/cloud_function_v2/test_plan.py +++ b/tests/modules/cloud_function_v2/test_plan.py @@ -29,6 +29,6 @@ def test_resource_count(resources): def test_iam(resources): "Test IAM binding resources." bindings = [r['values'] for r in resources if r['type'] - == 'google_cloudfunctions_function_iam_binding'] + == 'google_cloudfunctions2_function_iam_binding'] assert len(bindings) == 1 assert bindings[0]['role'] == 'roles/cloudfunctions.invoker'