Skip to content
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

Add simple README for deployment directory #33

Merged
merged 2 commits into from
Jul 5, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions deployment/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Deployment

This directory contains configuration-as-code to deploy the distributor to supported infrastructure:
- `modules`: terraform modules to configure infrastructure for running a Tessera log.
+ `gcp`: a Tessera GCP specific terraform module.
- `live`: example terragrunt configurations for deploying to different environments which use the modules

## Prerequisites

Deploying these examples requires installation of:
- `terraform` or `opentofu`
roger2hk marked this conversation as resolved.
Show resolved Hide resolved
- [`terragrunt`](https://terragrunt.gruntwork.io/docs/getting-started/install/)

## Deploying

First authenticate via `gcloud` as a principle with sufficient ACLs for
the project:
```bash
gcloud auth application-default login
```

Terraforming the project can be done by:
1. `cd` to the relevant `live` directory for the environment to deploy/change
2. Run `terragrunt apply`

Loading