-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Complete instructions to deploy Tessera GCP (#86)
* read environment variables * add instructions * s/trillian-tessera/tessera because otherwise names are too long * better names and move documentation around * s/us-east1/us-central1 * leave defaults set to current values * tidy things up * EnglishIsHard
- Loading branch information
Showing
3 changed files
with
28 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
## Deployment | ||
|
||
First authenticate via `gcloud` as a principle with sufficient ACLs for | ||
the project: | ||
```bash | ||
gcloud auth application-default login | ||
``` | ||
|
||
Set your GCP project ID with: | ||
```bash | ||
export GOOGLE_PROJECT={VALUE} | ||
``` | ||
|
||
Optionally, customize the GCP region (defaults to "us-central1"), | ||
and bucket name prefix (defaults to "example-gcp"): | ||
```bash | ||
export GOOGLE_REGION={VALUE} | ||
export TESSERA_BASE_NAME={VALUE} | ||
``` | ||
|
||
Terraforming the project can be done by: | ||
1. `cd` to the relevant `live` directory for the environment to deploy/change | ||
2. Run `terragrunt apply` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters