generated from kyleabenson/new-project
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6cb7cb1
commit bb73ad1
Showing
1 changed file
with
12 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,37 +7,38 @@ variable "user_id" { | |
description = "Name of the principle who will access investigations. Should be in a format like: [email protected]:user" | ||
} | ||
|
||
resource "google_project_service" "aicompnaionapi" { | ||
service = "cloudaicompanion.googleapis.com" | ||
resource "google_project_service" "resourcemanagerapi" { | ||
service = "cloudresourcemanager.googleapis.com" | ||
disable_on_destroy = true | ||
project = var.gcp_project_id | ||
} | ||
|
||
resource "google_project_service" "geminiapi" { | ||
service = "geminicloudassist.googleapis.com" | ||
resource "google_project_service" "computeapi" { | ||
service = "compute.googleapis.com" | ||
disable_on_destroy = true | ||
project = var.gcp_project_id | ||
} | ||
|
||
resource "google_project_service" "k8sapi" { | ||
service = "container.googleapis.com" | ||
resource "google_project_service" "aicompnaionapi" { | ||
service = "cloudaicompanion.googleapis.com" | ||
disable_on_destroy = true | ||
project = var.gcp_project_id | ||
} | ||
|
||
|
||
resource "google_project_service" "resourcemanagerapi" { | ||
service = "cloudresourcemanager.googleapis.com" | ||
resource "google_project_service" "geminiapi" { | ||
service = "geminicloudassist.googleapis.com" | ||
disable_on_destroy = true | ||
project = var.gcp_project_id | ||
} | ||
|
||
resource "google_project_service" "computeapi" { | ||
service = "compute.googleapis.com" | ||
resource "google_project_service" "k8sapi" { | ||
service = "container.googleapis.com" | ||
disable_on_destroy = true | ||
project = var.gcp_project_id | ||
} | ||
|
||
|
||
|
||
resource "google_project_iam_member" "gemini_cloud_assist_investigation_admin" { | ||
project = var.gcp_project_id # Assuming project ID is stored in a variable | ||
role = "roles/geminicloudassist.investigationAdmin" | ||
|