Skip to content

Commit

Permalink
readme: updated readme.md with terraform snippets and links
Browse files Browse the repository at this point in the history
  • Loading branch information
mahesh-naxa committed Jan 8, 2024
1 parent b510a5b commit ec37c13
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,27 @@ You can set it up as systemd service or cronjob in your PC if required or run ma

Your Lambda function should be able to execute the script with the provided configurations.

### Using Terraform

1. **Download & install Terraform:**

- Install terraform [here.](https://developer.hashicorp.com/terraform/install)

2. **Create AWS Credentials**

- Create an IAM programmatic user :

- Configure .aws/credentials or use AWS Environment varibles for terraform authentication. [Check Here](https://registry.terraform.io/providers/hashicorp/aws/latest/docs)

3. **Environment Variables**
You can set terraform input variables using `TF_VAR_<varible-name-from-vars.tf>` if you don't want to provide them each time.

4. **Run Terraform Plan/Apply**
- Run `terraform init` to download required providers
- Run `terraform plan` plan to check for infrastructure changes.
- Run `terraform apply` to apply terraform configurations.

> **_NOTE:_** Check `main.tf` for resources terraform creates.
### Streamlit

You can run streamlit app to use frontend
Expand Down

0 comments on commit ec37c13

Please sign in to comment.