-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Complete instructions to deploy Tessera GCP #86
Changes from 2 commits
a982dee
b7da2d5
9c7b31b
739081d
aed8e5e
463ba59
57bfc12
34fb0d2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,6 +20,18 @@ the project: | |
gcloud auth application-default login | ||
``` | ||
|
||
Then, specify your Google Cloud project ID: | ||
```bash | ||
export GOOGLE_PROJECT={VALUE} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Could use this: export GOOGLE_PROJECT=$(gcloud config get-value project 2> /dev/null) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Maybe that works if you run this command after you've ran There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sadness :( |
||
``` | ||
|
||
Eventually, customize the region (defaults to "us-east1"), and bucket name prefix | ||
(defaults to "trillian-tessera"): | ||
```bash | ||
export GOOGLE_REGION={VALUE} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It feels a bit weird to me to have the behaviour of terragrunt be affected by environment vars (I think it's a niggle from "hermetic config as code & checked in" being violated), but: |
||
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` | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This GCP specific stuff should probably go into a README in the
live/example-gcp
directory (my fault - I accidentally put thegcloud
line in above)