Skip to content

Instantly share code, notes, and snippets.

@chrnorm
chrnorm / example.tfvars
Created January 25, 2023 11:53
Example Terraform-based deployment of Common Fate
project = "cf"
environment = "chris-dev" # change this
component = "sso"
group = "test"
aws_account_id = "123456789012" # change this
region = "eu-west-1" # change this
aws_sso_region = "ap-southeast-2" # change this

Keybase proof

I hereby claim:

  • I am chrnorm on github.
  • I am chrnorm (https://keybase.io/chrnorm) on keybase.
  • I have a public key ASAK-I7eml82rwIW5MTTVeYfHlcpw4Awu8SUPHsvTvGgSwo

To claim this, I am signing this object:

@chrnorm
chrnorm / Dockerfile
Created April 28, 2021 07:22
Example multistage dockerfile for SPA frontend with REST API backend
# Directory structure for this example app:
# .
# ├── Dockerfile - this file
# ├── api - API handler definitions (Golang)
# ├── bin - Golang binary build outputs
# ├── cmd - Entrypoint files including main.go (Golang)
# ├── go.mod - Go dependencies
# ├── go.sum - Go dependency lockfile
# ├── internal - Internally used utilities like middleware and migrations (Golang)
# ├── pkg - Backend business logic (Golang)