How divsh54321/task-tracker-infra works
This repository defines AWS infrastructure for hosting the Task Tracker API, rather than implementing the API itself. The user runs Terraform to provision a security group and an EC2 instance; Terraform looks up an Ubuntu AMI, configures the AWS provider for the target region, and reports the instance’s public IP. The README documents local Terraform state and the AWS resources, but source excerpts were not available, so relationships below are limited to those documented there.
Main entry points: main.tf EC2 instance · security_group.tf Security group · provider.tf AWS provider settings · .gitignore Local Terraform state
Components 9
Terraform configuration
- Terraform CLI
- AWS provider settings
provider.tf - Ubuntu AMI lookup
main.tf - Public IP output
main.tf
AWS infrastructure
- Security group
security_group.tf - EC2 instance
main.tf
Terraform state
- Local Terraform state
.gitignore
Other components
- Infrastructure operator
- AWS
Connections 10
- Infrastructure operator → Terraform CLI: runs
README.md - Terraform CLI → AWS provider settings: uses settings
README.md - Terraform CLI → Ubuntu AMI lookup: looks up AMI
README.md - Terraform CLI → Security group: provisions
README.md - Terraform CLI → EC2 instance: provisions
README.md - Ubuntu AMI lookup → EC2 instance: selects image
README.md - EC2 instance → Security group: uses firewall
README.md - Terraform CLI → AWS: provisions in
README.md - EC2 instance → Public IP output: provides address
README.md - Terraform CLI → Local Terraform state: records state
README.md