Skip to content

Commit cee8f83

Browse files
fix(bench) Use projectID instead of project name (#88)
1 parent fda4e01 commit cee8f83

File tree

1 file changed

+1
-4
lines changed
  • modules/services/cloud-bench/trust_relationship

1 file changed

+1
-4
lines changed

modules/services/cloud-bench/trust_relationship/main.tf

+1-4
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,10 @@ locals {
2020

2121
resource "sysdig_secure_cloud_account" "cloud_account" {
2222
account_id = data.google_project.project.number
23+
alias = data.google_project.project.project_id
2324
cloud_provider = "gcp"
2425
role_enabled = "true"
2526
role_name = var.role_name
26-
27-
# Required as datasource prefixes id with '/projects/':
28-
# https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/google_project#id
29-
alias = trimprefix(data.google_project.project.id, "projects/")
3027
}
3128

3229
###################################################

0 commit comments

Comments
 (0)