Skip to content

flaskoski/SmartInvest_infrastructure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smart Invest Transactions Infrastructure

Installation

  1. Install terraform 0.1.4 or above

  2. Configure your AWS credentials

  3. Create a .tfvars file with the following keys:

    1. db_smartinvest_username: RDS instance username
    2. db_smartinvest_password: RDS instance password
    3. apikey_alpha: AlphaVantage API Key
    4. aws_account_id: AWS account id
    5. cognito_pool_id: cognito user pool id. Ex: "sa-east-1_a3ER3rrQa"
    6. allowed_ips: list of allowed ips to access the default security group. Ex: ["191.10.223.120/32", "167.112.78.224/32"]
    7. smartinvest_website_bucket_name: website bucket name. Ex: "my-static-website"
    8. smartinvest_cloudfront_endpoint: Cloudfront DNS url. Ex: "https://abc1def2fgh3ij.cloudfront.net/"
  4. Apply infra to the provider: terraform apply -var-file="yourFile.tfvars"

Smart Invest Terraform Infrastructure diagram

infra diagram

About

Smart Invest application infrastructure (Terraform)

Resources

Stars

Watchers

Forks