You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -22,7 +22,7 @@ The sample application consists of four services:
22
22
└──────────────┘
23
23
```
24
24
25
-
Three of those services connect to [vault](https://www.vaultproject.io/) to retrieve database credentials. The frontend container serves a static file.
25
+
The backend services connect to [vault](https://www.vaultproject.io/) to retrieve database credentials. The frontend container serves a static file.
Imagine the following scenario, your company is growing quickly 🚀 and increasing the number services being deployed and configured.
93
+
Imagine the following scenario, your company is growing quickly 🚀 and increasing the number of backend services being deployed and configured.
94
94
It's been noticed that the code in `tf/main.tf` is not very easy to maintain 😢.
95
95
96
96
We would like you to complete the following tasks:
97
97
98
-
-[ ] Improve the Terraform code to make it easier to add/update/remove services
98
+
-[ ] Improve the Terraform code to make it easier to add/update/remove backend services
99
99
-[ ] Add a new environment called `staging` that runs each microservice
100
100
-[ ] Add a README detailing:
101
101
-[ ] Your design decisions, if you are new to Terraform let us know
@@ -116,9 +116,9 @@ We would like you to complete the following tasks:
116
116
- Use only plain Terraform in your solution, i.e. anything supported by the Terraform CLI installed by the `run.sh` script, but not external tooling or libraries that wrap or extend Terraform, such as Terragrunt or tfenv
117
117
- Only modify files in the `tf/` directory, `run.sh`, and `docker-compose.yml`
118
118
- Keep the current versions of the services running in `development` and `production` environments
119
-
- Structure your code in a way that will segregate environments
119
+
- Structure your code in a way that will segregate environments, so a `terraform apply` for one environment can't affect another
120
120
- 🚨 All environments (including staging) should be created when you run `vagrant up` and the apps should print `service started` and the secret data in their logs 🚨
121
121
- Structure your code in a way that allows engineers to run different versions of services in different environments
122
122
123
123
### Should Nots
124
-
- Do not use external tools that extend Terraform, such as Terragrunt.
124
+
- Do not use external tools that extend Terraform, such as Terragrunt.
0 commit comments