Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 805 Bytes

ATLAS.md

File metadata and controls

23 lines (18 loc) · 805 Bytes

Setup Atlas via Terraform

  1. Register an API key in Atlas Atlas -> Project -> Access management -> API Keys

    1. Click Manage -> Create API Key
    2. Save the public key for later use
    3. Give the key Project Owner permission
    4. Click Next
    5. Save the private key for later use

    Optional

    1. Click Add Whitelist Entry
    2. Click Use Current IP Address
    3. Click Done
  2. Apply changes

    $ terraform init -var-file=infrastructure/portals/prod/atlas/terraform.tfvars infrastructure/portals/prod/atlas
    $ terraform apply -var-file=infrastructure/portals/prod/atlas/terraform.tfvars infrastructure/portals/prod/atlas
  3. Terraform will prompt for DB configuration

  4. Save the output variables DB_URI and DB_NAME for later use