-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmain.tf
37 lines (31 loc) · 968 Bytes
/
main.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
resource "google_project" "project" {
name = "A Cloud Guru - GCACE"
project_id = "${var.uid_prefix}-acg-gcace"
billing_account = var.billing_account
}
resource "google_project_service" "services" {
for_each = toset(var.services)
project = google_project.project.project_id
service = each.value
}
module "gcs_and_gce_challenge_lab" {
source = "./gcs-and-gce-challenge-lab"
uid_prefix = var.uid_prefix
region = var.region
zone = var.zone
}
module "managed_instance_groups_lab" {
source = "./managed-instance-groups-lab"
uid_prefix = var.uid_prefix
region = var.region
}
module "custom_mode_vpcs_lab" {
source = "./custom-mode-vpcs-lab"
uid_prefix = var.uid_prefix
billing_account = var.billing_account
}
module "custom_mode_vpcs_challenge_lab" {
source = "./custom-mode-vpcs-challenge-lab"
uid_prefix = var.uid_prefix
billing_account = var.billing_account
}