Skip to content

Commit 07d89e2

Browse files
committed
clarify initial terraform setup instructions
1 parent 8ff8a82 commit 07d89e2

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

terraform/README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This directory contains the Terraform configuration for the Student Success Tool
66

77
Each environment has its own directory under `environments/`. For example, the `dev` environment configuration is located in `environments/dev/`.
88

9-
## Initial Application of the Configuration
9+
## Application of the Configuration
1010

1111
To apply the Terraform configuration, navigate to the desired environment directory and run `terraform apply`. For example, to apply the configuration for the `dev` environment:
1212

@@ -27,6 +27,16 @@ Or to supply variables on the command line:
2727
terraform apply -var="project=my-project" -var="region=us-central1"
2828
```
2929

30+
### Initial Environment Setup
31+
32+
For the initial environment setup, use placeholder images like the "Hello World" example for Cloud Run, as the images for the web application and frontend UI will not exist yet. These placeholder images will take the place of the `webapp_image` and `frontend_image` variables.
33+
34+
Example placeholder images:
35+
36+
```sh
37+
terraform apply -var="webapp_image=gcr.io/cloudrun/hello" -var="frontend_image=gcr.io/cloudrun/hello"
38+
```
39+
3040
## Applying Updates
3141

3242
After an environment has been applied for the first time, future updates may be applied via a Cloud Build trigger that can apply Terraform configurations. This allows for automated and continuous deployment of infrastructure changes.

0 commit comments

Comments
 (0)