How geigerjr/iac-on-aws works
This is a small Terraform example for provisioning an AWS EC2 instance and connecting to it over SSH. The documented workflow is: provide a key pair, apply the Terraform configuration, then use the instance’s public IP to connect. The tree contains only main.tf; the README also describes example outputs, but no outputs file is present. Relationships below are based on README documentation, not inspected Terraform source.
Main entry points: main.tf EC2 configuration
Components 6
Other components
- Operator
- Terraform CLI
- EC2 configuration
main.tf - AWS key pair
- EC2 instance
- SSH client
Connections 7
- Operator → Terraform CLI: applies configuration
README.md - Terraform CLI → EC2 configuration: reads configuration
README.md - Terraform CLI → EC2 instance: provisions
README.md - Operator → AWS key pair: creates key pair
README.md - EC2 configuration → AWS key pair: names key pair
README.md - Operator → SSH client: connects using
README.md - SSH client → EC2 instance: connects via public IP
README.md