-
Notifications
You must be signed in to change notification settings - Fork 1
/
service.tf
39 lines (30 loc) · 897 Bytes
/
service.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Cloud Run Admin API
resource "google_project_service" "cloud-run" {
project = var.project_name
service = "run.googleapis.com"
disable_dependent_services = true
}
# Cloud SQL Admin API
resource "google_project_service" "cloud-sql" {
project = var.project_name
service = "sqladmin.googleapis.com"
disable_dependent_services = true
}
# Compute Engine API
resource "google_project_service" "compute-engine" {
project = var.project_name
service = "compute.googleapis.com"
disable_dependent_services = true
}
# Cloud Logging API
resource "google_project_service" "cloud-logging" {
project = var.project_name
service = "logging.googleapis.com"
disable_dependent_services = true
}
# Identity and Access Management (IAM) API API
resource "google_project_service" "iam" {
project = var.project_name
service = "iam.googleapis.com"
disable_dependent_services = true
}