한국어 문서는 docs/KOREAN_README.md를 참고하세요.
Creates a KMS key for authserver.
- Terraform >= 1.5.0
- AWS CLI
- AWS credentials with KMS and S3 permissions
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.tfvarsThen fill in aws_profile in both files with your AWS CLI profile name.
cd bootstrap
terraform init
terraform apply
cd ..aws sso login --profile <your_profile>
terraform init
terraform apply- KMS key (
authserver-key) - KMS alias (
alias/authserver-key)