-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathanalytics.tf
executable file
·47 lines (44 loc) · 1.03 KB
/
analytics.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
41
42
43
44
45
46
47
# Create a new instance
resource "google_compute_instance" "wso2telcoanalytics01" {
name = "wso2telcoanalytics01"
machine_type = "f1-micro"
zone = "${var.gcloud-zone}"
tags = ["das"]
metadata {
product = "das"
}
metadata_startup_script = "echo hi > /test.txt"
boot_disk {
initialize_params {
image = "ubuntu-1604-lts"
}
}
network_interface {
network = "${google_compute_network.platform.name}"
}
service_account {
scopes = ["userinfo-email", "compute-ro", "storage-ro"]
}
}
# Create a new instance
resource "google_compute_instance" "wso2telcoanalytics02" {
name = "wso2telcoanalytics02"
machine_type = "f1-micro"
zone = "${var.gcloud-zone}"
tags = ["das"]
metadata {
product = "das"
}
metadata_startup_script = "echo hi > /test1.txt"
boot_disk {
initialize_params {
image = "ubuntu-1604-lts"
}
}
network_interface {
network = "${google_compute_network.platform.name}"
}
service_account {
scopes = ["userinfo-email", "compute-ro", "storage-ro"]
}
}