This creates the infrastructure for the GenAI quickstart guide.
terraform init
terraform plan
terraform apply
terraform destroy
Legend: +
additive, •
conditional.
members | roles |
---|
members | roles |
---|---|
user User |
roles/owner + |
sa-gke-cluster Service account |
roles/artifactregistry.reader + · roles/container.developer + · roles/container.nodeServiceAgent + · roles/logging.logWriter + · roles/monitoring.metricWriter + · roles/monitoring.viewer + · roles/stackdriver.resourceMetadata.writer + |
sa-gke-aiplatform Service account |
roles/aiplatform.user + · roles/storage.user + |
sa-gke-telemetry Service account |
roles/cloudtrace.agent + |
name | description | modules | resources |
---|---|---|---|
bootstrap.tf | Bootstrapping prerequisites for project. | ||
cicd.tf | Recources created to CI/CD pipeline. | google_artifact_registry_repository |
|
gke.tf | GKE Autopilot cluster for running GenAI workloads. | gke |
|
iam.tf | IAM resources for project needed by Cloud resources. | member_roles_gke , member_roles_aiplatform , member_roles_telemetry , member_roles_cloudbuild |
google_service_account.sa_gke_cluster , google_service_account.sa_gke_aiplatform , google_service_account.sa_gke_telemetry · google_service_account_iam_binding.sa_gke_cluster_wi_binding , google_service_account_iam_binding.sa_gke_aiplatform_wi_binding , google_service_account_iam_binding.sa_gke_telemetry_wi_binding |
net.tf | VPC network and firewall rules. | vpc |
|
spanner.tf | Spanner instance/database for NPC Chat demo. | spanner |
name | description | type | required | default |
---|---|---|---|---|
project_id | Unique project ID to host project resources. | string |
✓ | "" |
name | description | sensitive | consumers |
---|