From 92696c7f53fd3e51d612dbcf2e6831c940a1a85e Mon Sep 17 00:00:00 2001 From: Bruno Almeida Date: Thu, 22 Aug 2024 11:45:18 -0300 Subject: [PATCH] Replace `gcp_project_id_*` with the correct `google_project_*` --- terraform/google.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/terraform/google.py b/terraform/google.py index d738c23..19c39c1 100644 --- a/terraform/google.py +++ b/terraform/google.py @@ -197,7 +197,7 @@ def body(self): role_name = f"{resource_name}_{role_id}" sa_role = GoogleResource( id=role_name, - type="gcp_project_id_iam_member", + type="google_project_iam_member", config=config, defaults=self.defaults, ) @@ -294,7 +294,7 @@ def body(self): iam_member_resource_name = f"{project_iam_name}_{role_id}" iam_member = GoogleResource( id=iam_member_resource_name, - type="gcp_project_id_iam_member", + type="google_project_iam_member", config=config, defaults=self.defaults, ) @@ -343,7 +343,7 @@ def body(self): cluster.set(config) cluster.filename = self.filename cluster.resource.setdefault("depends_on", []).append( - "gcp_project_id_service.container" + "google_project_service.container" ) self.add(cluster)