Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 1.02 KB

File metadata and controls

37 lines (25 loc) · 1.02 KB

infra

This repo contains infrastructure as code. Currently, contains:

  • AWS CDK code for provisioning AWS infra
  • Terraform code for Microsoft Entra app registration

Setup

az login --allow-no-subscriptions

Terraform

Create a terraform/terraform.prod.tfvars file with the contents:

HOMEPAGE_URL = <HOMEPAGE_URL>
REDIRECT_URI = <REDIRECT_URL>
terraform plan -var-file=terraform.prod.tfvars # Dry-run, see what tf needs to do
terraform apply -var-file=terraform.prod.tfvars # Apply tf script
terraform output client_secret # view microsoft client secret