-
Notifications
You must be signed in to change notification settings - Fork 0
/
apis.tf
40 lines (34 loc) · 1.29 KB
/
apis.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
40
#------------------------------------------------------------------------------#
# API #
#------------------------------------------------------------------------------#
resource "google_project_service" "cloud_compute_api" {
service = "compute.googleapis.com"
disable_dependent_services = false
disable_on_destroy = false
depends_on = [
google_project_service.cloud_dns_api,
google_project_service.cloud_resource_manager_api,
google_project_service.iam_api,
]
}
resource "google_project_service" "cloud_dns_api" {
service = "dns.googleapis.com"
disable_dependent_services = false
disable_on_destroy = false
depends_on = [
google_project_service.cloud_resource_manager_api,
]
}
resource "google_project_service" "cloud_resource_manager_api" {
service = "cloudresourcemanager.googleapis.com"
disable_dependent_services = false
disable_on_destroy = false
}
resource "google_project_service" "iam_api" {
service = "iam.googleapis.com"
disable_dependent_services = false
disable_on_destroy = false
depends_on = [
google_project_service.cloud_resource_manager_api,
]
}