Deploy Infrastructure Changes
You will need
- The project tools
- (If accessing Google Cloud) Google Cloud's default application configured
- (If accessing GitHub) A personal access token (with administrative rights to the repository)
- (If accessing Auth0)
AUTH0_DOMAINand an Auth0 API token or client credentials
Environments
There are different environments that are controlled by Tofu. These include:
| Environment | Description |
|---|---|
| a0 | Auth0 API, CLI application, roles, and permissions |
| gh | The GitHub repository containing the project |
| prod | All resources deployed in Google Cloud, publicly accessible |
Deploying Changes
The changes need to be deployed in two steps:
-
Plan the changes:
-
CAREFULLY INSPECT the output, and ensure you understand it all
-
Apply the changes
If an apply only partly succeeds, create a new plan before retrying. The previous saved plan no longer describes the current infrastructure state.