# iam-veeramalla/terraform-zero-to-hero architecture

> Architecture diagram of the GitHub repository iam-veeramalla/terraform-zero-to-hero, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-10). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/iam-veeramalla/terraform-zero-to-hero
- Repository: https://github.com/iam-veeramalla/terraform-zero-to-hero

## Overview

This repository is a Terraform learning course, not an application. Its principal workflow is for a learner to progress from IaC fundamentals and AWS setup to provisioning an EC2 instance, then study configuration, modularity, state management, provisioners, workspaces, and security. The graph represents documented course topics and hands-on projects; source excerpts are limited to a small Flask example, so implementation-level links between Terraform files are not asserted.

Main entry points: [`Day-2/01-providers.md`](https://github.com/iam-veeramalla/terraform-zero-to-hero/blob/main/Day-2/01-providers.md) (Providers and resources), [`Day-1/01-fundamentals.md`](https://github.com/iam-veeramalla/terraform-zero-to-hero/blob/main/Day-1/01-fundamentals.md) (IaC fundamentals), [`Day-1/02-getting-started.md`](https://github.com/iam-veeramalla/terraform-zero-to-hero/blob/main/Day-1/02-getting-started.md) (Getting started), [`Day-1/03-install.md`](https://github.com/iam-veeramalla/terraform-zero-to-hero/blob/main/Day-1/03-install.md) (Terraform installation)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_foundations["Terraform foundations"]
  node_fundamentals["IaC fundamentals<br/>[01-fundamentals.md]"]
  node_getting_started["Getting started"]
  node_installation["Terraform installation<br/>[03-install.md]"]
  node_aws_connection["AWS connection"]
  node_ec2_project["EC2 project<br/>[main.tf]"]
end

subgraph group_configuration["Configuration and modules"]
  node_providers["Providers and resources<br/>[01-providers.md]"]
  node_multi_provider["Multiple providers"]
  node_regions["Multiple regions"]
  node_variables["Variables and expressions<br/>[05-variables.md]"]
  node_vpc_project["VPC and EC2 project<br/>[main.tf]"]
  node_modules["Reusable modules<br/>[modules.md]"]
  node_module_example["EC2 module example<br/>[main.tf]"]
end

subgraph group_operations["State and operations"]
  node_backend["Remote state backend<br/>[backend.tf]"]
  node_state_scenarios["State scenarios"]
  node_provisioners["Provisioners<br/>[provisioners.md]"]
  node_flask_example["Flask example app<br/>[app.py]"]
  node_workspaces["Workspace configuration<br/>[main.tf]"]
end

subgraph group_advanced["Advanced topics"]
  node_security["Terraform security"]
  node_vault["Vault integration"]
end

node_learner(("Learner"))

node_learner -->|"studies"| node_fundamentals
node_fundamentals -->|"continues to"| node_getting_started
node_getting_started -->|"continues to"| node_installation
node_installation -->|"prepares for"| node_aws_connection
node_aws_connection -->|"configures"| node_ec2_project
node_learner -->|"studies"| node_providers
node_providers -->|"expands to"| node_multi_provider
node_providers -->|"expands to"| node_regions
node_providers -->|"continues to"| node_variables
node_variables -->|"applies in"| node_vpc_project
node_learner -->|"studies"| node_modules
node_modules -->|"demonstrates"| node_module_example
node_learner -->|"studies"| node_backend
node_backend -->|"explores"| node_state_scenarios
node_learner -->|"studies"| node_provisioners
node_provisioners -.->|"illustrated by"| node_flask_example
node_learner -->|"studies"| node_workspaces
node_learner -->|"studies"| node_security
node_security -->|"integrates"| node_vault

click node_fundamentals "https://github.com/iam-veeramalla/terraform-zero-to-hero/blob/main/Day-1/01-fundamentals.md"
click node_getting_started "https://github.com/iam-veeramalla/terraform-zero-to-hero/blob/main/Day-1/02-getting-started.md"
click node_installation "https://github.com/iam-veeramalla/terraform-zero-to-hero/blob/main/Day-1/03-install.md"
click node_aws_connection "https://github.com/iam-veeramalla/terraform-zero-to-hero/blob/main/Day-1/04-aws-connection.md"
click node_ec2_project "https://github.com/iam-veeramalla/terraform-zero-to-hero/blob/main/Day-1/PROJECT-ec2-instance-creation/main.tf"
click node_providers "https://github.com/iam-veeramalla/terraform-zero-to-hero/blob/main/Day-2/01-providers.md"
click node_multi_provider "https://github.com/iam-veeramalla/terraform-zero-to-hero/blob/main/Day-2/02-multiple-providers.md"
click node_regions "https://github.com/iam-veeramalla/terraform-zero-to-hero/blob/main/Day-2/03-multiple-regions.md"
click node_variables "https://github.com/iam-veeramalla/terraform-zero-to-hero/blob/main/Day-2/05-variables.md"
click node_vpc_project "https://github.com/iam-veeramalla/terraform-zero-to-hero/blob/main/Day-2/PROJECT-vpc-with-ec2/main.tf"
click node_modules "https://github.com/iam-veeramalla/terraform-zero-to-hero/blob/main/Day-3/modules.md"
click node_module_example "https://github.com/iam-veeramalla/terraform-zero-to-hero/blob/main/Day-3/modules/ec2_instance/main.tf"
click node_backend "https://github.com/iam-veeramalla/terraform-zero-to-hero/blob/main/Day-4/backend.tf"
click node_state_scenarios "https://github.com/iam-veeramalla/terraform-zero-to-hero/blob/main/Day-4/statefile_scenarios.md"
click node_provisioners "https://github.com/iam-veeramalla/terraform-zero-to-hero/blob/main/Day-5/provisioners.md"
click node_flask_example "https://github.com/iam-veeramalla/terraform-zero-to-hero/blob/main/Day-5/app.py"
click node_workspaces "https://github.com/iam-veeramalla/terraform-zero-to-hero/blob/main/Day-6/main.tf"
click node_security "https://github.com/iam-veeramalla/terraform-zero-to-hero/blob/main/Day-7/01-secure-terraform.md"
click node_vault "https://github.com/iam-veeramalla/terraform-zero-to-hero/blob/main/Day-7/02-vault-integration.md"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_fundamentals,node_getting_started,node_installation,node_aws_connection,node_ec2_project toneBlue
class node_providers,node_multi_provider,node_regions,node_variables,node_vpc_project,node_modules,node_module_example toneAmber
class node_backend,node_state_scenarios,node_provisioners,node_flask_example,node_workspaces toneMint
class node_security,node_vault toneRose
class node_learner toneIndigo
```

## Components

### Terraform foundations

- [IaC fundamentals](https://github.com/iam-veeramalla/terraform-zero-to-hero/blob/main/Day-1/01-fundamentals.md): `Day-1/01-fundamentals.md`
- [Getting started](https://github.com/iam-veeramalla/terraform-zero-to-hero/blob/main/Day-1/02-getting-started.md): `Day-1/02-getting-started.md`
- [Terraform installation](https://github.com/iam-veeramalla/terraform-zero-to-hero/blob/main/Day-1/03-install.md): `Day-1/03-install.md`
- [AWS connection](https://github.com/iam-veeramalla/terraform-zero-to-hero/blob/main/Day-1/04-aws-connection.md): `Day-1/04-aws-connection.md`
- [EC2 project](https://github.com/iam-veeramalla/terraform-zero-to-hero/blob/main/Day-1/PROJECT-ec2-instance-creation/main.tf): `Day-1/PROJECT-ec2-instance-creation/main.tf`

### Configuration and modules

- [Providers and resources](https://github.com/iam-veeramalla/terraform-zero-to-hero/blob/main/Day-2/01-providers.md): `Day-2/01-providers.md`
- [Multiple providers](https://github.com/iam-veeramalla/terraform-zero-to-hero/blob/main/Day-2/02-multiple-providers.md): `Day-2/02-multiple-providers.md`
- [Multiple regions](https://github.com/iam-veeramalla/terraform-zero-to-hero/blob/main/Day-2/03-multiple-regions.md): `Day-2/03-multiple-regions.md`
- [Variables and expressions](https://github.com/iam-veeramalla/terraform-zero-to-hero/blob/main/Day-2/05-variables.md): `Day-2/05-variables.md`
- [VPC and EC2 project](https://github.com/iam-veeramalla/terraform-zero-to-hero/blob/main/Day-2/PROJECT-vpc-with-ec2/main.tf): `Day-2/PROJECT-vpc-with-ec2/main.tf`
- [Reusable modules](https://github.com/iam-veeramalla/terraform-zero-to-hero/blob/main/Day-3/modules.md): `Day-3/modules.md`
- [EC2 module example](https://github.com/iam-veeramalla/terraform-zero-to-hero/blob/main/Day-3/modules/ec2_instance/main.tf): `Day-3/modules/ec2_instance/main.tf`

### State and operations

- [Remote state backend](https://github.com/iam-veeramalla/terraform-zero-to-hero/blob/main/Day-4/backend.tf): `Day-4/backend.tf`
- [State scenarios](https://github.com/iam-veeramalla/terraform-zero-to-hero/blob/main/Day-4/statefile_scenarios.md): `Day-4/statefile_scenarios.md`
- [Provisioners](https://github.com/iam-veeramalla/terraform-zero-to-hero/blob/main/Day-5/provisioners.md): `Day-5/provisioners.md`
- [Flask example app](https://github.com/iam-veeramalla/terraform-zero-to-hero/blob/main/Day-5/app.py): `Day-5/app.py`
- [Workspace configuration](https://github.com/iam-veeramalla/terraform-zero-to-hero/blob/main/Day-6/main.tf): `Day-6/main.tf`

### Advanced topics

- [Terraform security](https://github.com/iam-veeramalla/terraform-zero-to-hero/blob/main/Day-7/01-secure-terraform.md): `Day-7/01-secure-terraform.md`
- [Vault integration](https://github.com/iam-veeramalla/terraform-zero-to-hero/blob/main/Day-7/02-vault-integration.md): `Day-7/02-vault-integration.md`

### Other components

- **Learner**

## Connections

- Learner → IaC fundamentals: studies (evidence: `README.md`)
- IaC fundamentals → Getting started: continues to (evidence: `README.md`)
- Getting started → Terraform installation: continues to (evidence: `README.md`)
- Terraform installation → AWS connection: prepares for (evidence: `README.md`)
- AWS connection → EC2 project: configures (evidence: `README.md`)
- Learner → Providers and resources: studies (evidence: `README.md`)
- Providers and resources → Multiple providers: expands to (evidence: `README.md`)
- Providers and resources → Multiple regions: expands to (evidence: `README.md`)
- Providers and resources → Variables and expressions: continues to (evidence: `README.md`)
- Variables and expressions → VPC and EC2 project: applies in (evidence: `README.md`)
- Learner → Reusable modules: studies (evidence: `README.md`)
- Reusable modules → EC2 module example: demonstrates (evidence: `README.md`)
- Learner → Remote state backend: studies (evidence: `README.md`)
- Remote state backend → State scenarios: explores (evidence: `README.md`)
- Learner → Provisioners: studies (evidence: `README.md`)
- Provisioners → Flask example app: illustrated by
- Learner → Workspace configuration: studies (evidence: `README.md`)
- Learner → Terraform security: studies (evidence: `README.md`)
- Terraform security → Vault integration: integrates (evidence: `README.md`)
