{"id":27457079,"url":"https://github.com/mohitkh7/terraform-scripts","last_synced_at":"2026-04-18T17:32:01.226Z","repository":{"id":206779310,"uuid":"717675743","full_name":"mohitkh7/terraform-scripts","owner":"mohitkh7","description":"Terraform scripts","archived":false,"fork":false,"pushed_at":"2023-11-12T08:41:45.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-15T18:50:51.217Z","etag":null,"topics":["aws","aws-lambda","aws-s3","devops","python","terraform"],"latest_commit_sha":null,"homepage":"","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mohitkh7.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-11-12T07:52:06.000Z","updated_at":"2023-11-12T08:43:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"16dff5b4-8a87-4921-bc0b-99ea9c8f9d12","html_url":"https://github.com/mohitkh7/terraform-scripts","commit_stats":null,"previous_names":["mohitkh7/terraform-scripts"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mohitkh7/terraform-scripts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohitkh7%2Fterraform-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohitkh7%2Fterraform-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohitkh7%2Fterraform-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohitkh7%2Fterraform-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mohitkh7","download_url":"https://codeload.github.com/mohitkh7/terraform-scripts/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohitkh7%2Fterraform-scripts/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260072386,"owners_count":22954908,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","aws-lambda","aws-s3","devops","python","terraform"],"created_at":"2025-04-15T18:42:01.119Z","updated_at":"2026-04-18T17:31:56.182Z","avatar_url":"https://github.com/mohitkh7.png","language":"HCL","readme":"# AWS Infrastructure with Terraform\n\nThis repository contains Terraform scripts to provision AWS resources for S3, EC2, Serverless (Lambda \u0026 API Gateway), and ECS (Fargate).\n\n## Table of Contents\n- [Directory Structure](#directory-structure)\n- [Prerequisites](#prerequisites)\n- [Usage](#usage)\n- [Common Terraform Commands](#common-terraform-commands)\n- [Contributing](#contributing)\n- [License](#license)\n\n## Directory Structure\n\n- `s3/`: Terraform scripts for provisioning S3 buckets.\n- `ec2/`: Terraform scripts for provisioning EC2 instances.\n- `serverless/`: Terraform scripts for provisioning serverless functions (Lambda).\n- `container/`: Terraform scripts for provisioning ECS (Elastic Container Service) resources.\n\n## Prerequisites\n\n1. **AWS Credentials:**\n   Ensure you have AWS credentials configured with the necessary permissions. You can set these up using the AWS CLI or by configuring environment variables.\n\n2. **Terraform Installation:**\n   Make sure Terraform is installed on your machine. You can download it from [Terraform Downloads](https://www.terraform.io/downloads.html).\n\n## Usage\n\n1. Navigate to the respective directory for the resource you want to provision (e.g., `cd s3/`).\n2. Initialize Terraform: `terraform init`\n3. Review and modify the variables in `terraform.tfvars` as needed.\n4. Execute the Terraform plan: `terraform plan`\n5. If the plan looks good, apply the changes: `terraform apply`\n6. Confirm by typing `yes` when prompted.\n\n## Common Terraform Commands\n\n- `terraform init`: Initializes the working directory, downloads providers, and sets up backend.\n- `terraform plan`: Creates an execution plan showing what Terraform will do.\n- `terraform apply`: Applies the changes required to reach the desired state.\n- `terraform destroy`: Destroys the Terraform-managed infrastructure.\n- `terraform validate`: Validates the configuration files in a directory.\n- `terraform fmt`: Rewrites Terraform configuration files to a canonical format.\n- `terraform state`: Used for advanced state management.\n\nFor more information on Terraform commands, refer to the [Terraform CLI Documentation](https://www.terraform.io/docs/cli/commands/index.html).\n\n## Contributing\n\nContributions are welcome! Please fork the repository and submit a pull request with your changes.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohitkh7%2Fterraform-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmohitkh7%2Fterraform-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohitkh7%2Fterraform-scripts/lists"}