Skip to content

takokun778/2022

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2022

Setup Local PC

brew install go
brew tap hashicorp/tap
brew install hashicorp/tap/terraform

Terraform

Terraform Cloud Workspaces Initialize

  1. https://app.terraform.io/app
  2. Create a workspace
  3. choose API-driven workflow
  4. Workspace Name: 2022
  5. Settings > General > Execution Mode -> select Local -> Save settings

CockroachDB

Create Service Accounts

for terraform deploy

  1. https://cockroachlabs.cloud
  2. choose Organization -> Access Management
  3. select Service Accounts
  4. Create Service Account
  5. Create API key
  6. copy created token

Secret

.env

COCKROACH_API_KEY=
TF_VAR_sql_user_password=
POSTGRES_DB=postgres
POSTGRES_USER=postgres
POSTGRES_PASS=postgres
POSTGRES_PORT=15432
CONTAINER_NAME=
DATABASE_URL=
SLACK_TOKEN=
GITHUB_OWNER=
GITHUB_REPOSITORY=
SLACK_TOKEN=
SLACK_CHANNEL_ID=
IMAGE=

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published