Skip to content

Commit

Permalink
Replace gcp_project_id_* with the correct google_project_*
Browse files Browse the repository at this point in the history
  • Loading branch information
bsda authored and ademariag committed Dec 8, 2024
1 parent cd8e9de commit 7f84ad1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions terraform/google.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)
Expand Down Expand Up @@ -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,
)
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 7f84ad1

Please sign in to comment.