File tree Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Original file line number Diff line number Diff line change 11## Automating Infrastructure on Google Cloud with Terraform: Challenge Lab (GSP345) ##
22
3- Setup : Create the configuration files
4- Make the empty files and directories in Cloud Shell or the Cloud Shell Editor .
3+ Setup : Create the configuration files < br />
4+ Make the empty files and directories in _ Cloud Shell _ or the _ Cloud Shell Editor _ .
55
66```
77touch main.tf
@@ -21,3 +21,19 @@ touch outputs.tf
2121touch variables.tf
2222cd
2323```
24+
25+ Add the following to the each _ variables.tf_ file, and fill in the GCP Project ID:
26+ ```
27+ variable "region" {
28+ default = "us-central1"
29+ }
30+
31+ variable "zone" {
32+ default = "us-central1-a"
33+ }
34+
35+ variable "project_id" {
36+ default = "<FILL IN PROJECT ID>"
37+ }
38+ ```
39+ Add the following to the _ main.tf_ file:
You can’t perform that action at this time.
0 commit comments