{"id":43091835,"url":"https://github.com/mheadd/terraform-local-learning","last_synced_at":"2026-01-31T16:16:06.919Z","repository":{"id":300642379,"uuid":"1006701217","full_name":"mheadd/terraform-local-learning","owner":"mheadd","description":"This project demonstrates Infrastructure as Code using Terraform with local development tools","archived":false,"fork":false,"pushed_at":"2025-06-22T20:42:06.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-22T21:29:30.943Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mheadd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2025-06-22T20:30:31.000Z","updated_at":"2025-06-22T20:42:09.000Z","dependencies_parsed_at":"2025-06-22T21:40:20.455Z","dependency_job_id":null,"html_url":"https://github.com/mheadd/terraform-local-learning","commit_stats":null,"previous_names":["mheadd/terraform-local-learning"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mheadd/terraform-local-learning","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mheadd%2Fterraform-local-learning","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mheadd%2Fterraform-local-learning/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mheadd%2Fterraform-local-learning/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mheadd%2Fterraform-local-learning/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mheadd","download_url":"https://codeload.github.com/mheadd/terraform-local-learning/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mheadd%2Fterraform-local-learning/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28947573,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-31T14:26:55.697Z","status":"ssl_error","status_checked_at":"2026-01-31T14:26:52.545Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2026-01-31T16:16:01.822Z","updated_at":"2026-01-31T16:16:06.915Z","avatar_url":"https://github.com/mheadd.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Terraform Local Learning Project\n\nThis project demonstrates Infrastructure as Code using Terraform with local development tools.\n\n## Prerequisites\n- Kind cluster running\n- LocalStack running\n- All tools installed per the [setup guide](setup-guide.md)\n\n## Setup Instructions\n\n### 1. Start Local Services\n```bash\n# Start LocalStack\nlocalstack start -d\n\n# Create Kind cluster\nkind create cluster --name terraform-learning\n\n# Verify cluster is ready\nkubectl cluster-info --context kind-terraform-learning\n```\n\n### 2. Initialize and Apply Terraform\n```bash\n# Initialize Terraform\nterraform init\n\n# Review the plan\nterraform plan\n\n# Apply the configuration\nterraform apply\n\n# See the outputs\nterraform output\n```\n\n### 3. Verify Resources\n\n**Check Kubernetes resources:**\n```bash\nkubectl get all -n my-local-app-dev\nkubectl describe deployment my-local-app-app -n my-local-app-dev\n```\n\n**Check AWS resources in LocalStack:**\n```bash\nawslocal s3 ls\nawslocal dynamodb list-tables\nawslocal sqs list-queues\n```\n\n### 4. Access the Application\n```bash\n# Port forward to access the app\nkubectl port-forward service/my-local-app-service 8080:80 -n my-local-app-dev\n\n# Visit http://localhost:8080 in your browser\n```\n\n### 5. Experiment and Learn\n\nTry these modifications:\n- Change `app_replicas` in terraform.tfvars and run `terraform apply`\n- Add new environment variables to the ConfigMap\n- Create additional AWS resources\n- Add more Kubernetes resources\n\n### 6. Cleanup\n```bash\n# Destroy Terraform resources\nterraform destroy\n\n# Delete Kind cluster\nkind delete cluster --name terraform-learning\n\n# Stop LocalStack\nlocalstack stop\n```\n\n## Key Learning Points\n\n1. **Resource Dependencies**: Notice how Kubernetes resources reference AWS resources\n2. **Variable Usage**: See how variables make configurations flexible\n3. **State Management**: Observe how Terraform tracks resource state\n4. **Local Development**: Experience the fast feedback loop with local tools\n5. **Multi-Provider**: Learn to work with multiple Terraform providers\n\n## Next Steps\n\n- Try deploying to a real cloud environment\n- Add modules to organize your code\n- Experiment with different resource configurations\n- Add validation and testing","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmheadd%2Fterraform-local-learning","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmheadd%2Fterraform-local-learning","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmheadd%2Fterraform-local-learning/lists"}