-
Install terraform 0.1.4 or above
-
Configure your AWS credentials
-
Create a
.tfvars
file with the following keys:db_smartinvest_username
: RDS instance usernamedb_smartinvest_password
: RDS instance passwordapikey_alpha
: AlphaVantage API Keyaws_account_id
: AWS account idcognito_pool_id
: cognito user pool id. Ex: "sa-east-1_a3ER3rrQa"allowed_ips
: list of allowed ips to access the default security group. Ex: ["191.10.223.120/32", "167.112.78.224/32"]smartinvest_website_bucket_name
: website bucket name. Ex: "my-static-website"smartinvest_cloudfront_endpoint
: Cloudfront DNS url. Ex: "https://abc1def2fgh3ij.cloudfront.net/"
-
Apply infra to the provider:
terraform apply -var-file="yourFile.tfvars"
-
Notifications
You must be signed in to change notification settings - Fork 1
flaskoski/SmartInvest_infrastructure
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Smart Invest application infrastructure (Terraform)