Add information about the relation between the two first steps
This commit is contained in:
parent
39b4fb4cf9
commit
d14d3475d5
|
@ -28,6 +28,7 @@ parent = "folders/12345678"
|
|||
```
|
||||
|
||||
- make sure you have the right authentication setup (application default credentials, or a service account key)
|
||||
- **The output of this stage contains the values for the resources phase**
|
||||
- run `terraform init` and `terraform apply`
|
||||
|
||||
Once done testing, you can clean up resources by running `terraform destroy`.
|
||||
|
|
|
@ -22,7 +22,9 @@ The resources that will be create in each project are:
|
|||
|
||||
## Running the example
|
||||
|
||||
To create the resources, you can leverage the service account created in the previous step:
|
||||
In the previous step, we created the environment (projects and service account) which we are going to use in this step.
|
||||
|
||||
To create the resources, copy the output of the environment step (**project_ids**) and paste it into the `terraform.tvars`:
|
||||
|
||||
- Specify your variables in a `terraform.tvars`
|
||||
|
||||
|
@ -36,6 +38,12 @@ project_ids = {
|
|||
}
|
||||
```
|
||||
|
||||
- Get a key for the newly created service account:
|
||||
- Go into services project
|
||||
- Go into IAM page
|
||||
- Go into the service account section
|
||||
- Creaet a new key for the service account created in previeous step (**service_account**)
|
||||
- Download the json key into the current folder
|
||||
- make sure you have the right authentication setup (application default credentials, or a service account key)
|
||||
- run `terraform init` and `terraform apply`
|
||||
|
||||
|
|
Loading…
Reference in New Issue