Skip to content

psh9508/tf_authserver

Repository files navigation

tf_authserver

한국어 문서는 docs/KOREAN_README.md를 참고하세요.

Creates a KMS key for authserver.

Prerequisites

  • Terraform >= 1.5.0
  • AWS CLI
  • AWS credentials with KMS and S3 permissions

Setup

Step 1. Set your AWS profile in the S3 backend (Terraform limitation: this cannot be a variable):

# versions.tf
backend "s3" {
  profile = "your-aws-profile"  # <-- change this
}

Step 2. Create your tfvars files:

cp terraform.tfvars.example terraform.tfvars
cp bootstrap/terraform.tfvars.example bootstrap/terraform.tfvars

Then fill in aws_profile in both files with your AWS CLI profile name.

First-time setup (run once)

cd bootstrap
terraform init
terraform apply
cd ..

Deploy

aws sso login --profile <your_profile>
terraform init
terraform apply

What gets created

  • KMS key (authserver-key)
  • KMS alias (alias/authserver-key)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages