# chanti786/terraform-zero-to-hero architecture

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

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

## Overview

This repository is a Terraform learning course, not a deployable application. Its main workflow is for a learner to progress through concepts, then inspect hands-on Terraform examples covering AWS provisioning, reusable modules, state, provisioners, workspaces, and secrets. The graph treats lessons and labs as course stages; the README documents their topics, but does not establish runtime calls between the Terraform examples. The Flask sample is included as a Day 5 artifact, without assuming how it is used. Source excerpts were limited, so unsampled implementation details are not inferred.

Main entry points: [`Day-1/01-fundamentals.md`](https://github.com/chanti786/terraform-zero-to-hero/blob/main/Day-1/01-fundamentals.md) (Terraform basics), [`Day-1/04-aws-connection.md`](https://github.com/chanti786/terraform-zero-to-hero/blob/main/Day-1/04-aws-connection.md) (Setup and AWS), [`Day-2/01-providers.md`](https://github.com/chanti786/terraform-zero-to-hero/blob/main/Day-2/01-providers.md) (Providers and variables), [`Day-3/modules.md`](https://github.com/chanti786/terraform-zero-to-hero/blob/main/Day-3/modules.md) (Reusable modules)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_foundations["Terraform foundations"]
  node_intro["Terraform basics<br/>[01-fundamentals.md]"]
  node_setup["Setup and AWS"]
end

subgraph group_configuration["Configuration skills"]
  node_providers["Providers and variables<br/>[01-providers.md]"]
  node_moduleslesson["Reusable modules<br/>[modules.md]"]
end

subgraph group_infrastructure["Infrastructure labs"]
  node_ec2lab["EC2 project<br/>[main.tf]"]
  node_vpcproject["VPC and EC2 project<br/>[main.tf]"]
  node_ec2module["EC2 module<br/>[main.tf]"]
  node_flask["Flask sample<br/>[app.py]"]
end

subgraph group_operations["State and operations"]
  node_state["State management"]
  node_backend["Remote backend<br/>[backend.tf]"]
  node_provisioners["Provisioners<br/>[provisioners.md]"]
  node_workspace["Workspaces<br/>[main.tf]"]
end

subgraph group_security["Security topics"]
  node_security["Terraform security"]
  node_vault["Vault integration"]
  node_day8["Day 8 material<br/>[README.md]"]
end

node_learner(("Learner"))

node_learner -->|"studies"| node_intro
node_learner -->|"studies"| node_setup
node_learner -->|"practices with"| node_ec2lab
node_learner -->|"studies"| node_providers
node_learner -->|"practices with"| node_vpcproject
node_learner -->|"studies"| node_moduleslesson
node_learner -->|"practices with"| node_ec2module
node_learner -->|"studies"| node_state
node_learner -->|"studies"| node_backend
node_learner -->|"studies"| node_provisioners
node_learner -->|"studies"| node_workspace
node_learner -->|"studies"| node_security
node_learner -->|"studies"| node_vault

click node_intro "https://github.com/chanti786/terraform-zero-to-hero/blob/main/Day-1/01-fundamentals.md"
click node_setup "https://github.com/chanti786/terraform-zero-to-hero/blob/main/Day-1/04-aws-connection.md"
click node_ec2lab "https://github.com/chanti786/terraform-zero-to-hero/blob/main/Day-1/PROJECT-ec2-instance-creation/main.tf"
click node_providers "https://github.com/chanti786/terraform-zero-to-hero/blob/main/Day-2/01-providers.md"
click node_vpcproject "https://github.com/chanti786/terraform-zero-to-hero/blob/main/Day-2/PROJECT-vpc-with-ec2/main.tf"
click node_moduleslesson "https://github.com/chanti786/terraform-zero-to-hero/blob/main/Day-3/modules.md"
click node_ec2module "https://github.com/chanti786/terraform-zero-to-hero/blob/main/Day-3/modules/ec2_instance/main.tf"
click node_state "https://github.com/chanti786/terraform-zero-to-hero/blob/main/Day-4/statefile_scenarios.md"
click node_backend "https://github.com/chanti786/terraform-zero-to-hero/blob/main/Day-4/backend.tf"
click node_provisioners "https://github.com/chanti786/terraform-zero-to-hero/blob/main/Day-5/provisioners.md"
click node_flask "https://github.com/chanti786/terraform-zero-to-hero/blob/main/Day-5/app.py"
click node_workspace "https://github.com/chanti786/terraform-zero-to-hero/blob/main/Day-6/main.tf"
click node_security "https://github.com/chanti786/terraform-zero-to-hero/blob/main/Day-7/01-secure-terraform.md"
click node_vault "https://github.com/chanti786/terraform-zero-to-hero/blob/main/Day-7/02-vault-integration.md"
click node_day8 "https://github.com/chanti786/terraform-zero-to-hero/blob/main/Day-8/README.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_intro,node_setup toneBlue
class node_providers,node_moduleslesson toneAmber
class node_ec2lab,node_vpcproject,node_ec2module,node_flask toneMint
class node_state,node_backend,node_provisioners,node_workspace toneRose
class node_security,node_vault,node_day8,node_learner toneIndigo
```

## Components

### Terraform foundations

- [Terraform basics](https://github.com/chanti786/terraform-zero-to-hero/blob/main/Day-1/01-fundamentals.md): `Day-1/01-fundamentals.md`
- [Setup and AWS](https://github.com/chanti786/terraform-zero-to-hero/blob/main/Day-1/04-aws-connection.md): `Day-1/04-aws-connection.md`

### Configuration skills

- [Providers and variables](https://github.com/chanti786/terraform-zero-to-hero/blob/main/Day-2/01-providers.md): `Day-2/01-providers.md`
- [Reusable modules](https://github.com/chanti786/terraform-zero-to-hero/blob/main/Day-3/modules.md): `Day-3/modules.md`

### Infrastructure labs

- [EC2 project](https://github.com/chanti786/terraform-zero-to-hero/blob/main/Day-1/PROJECT-ec2-instance-creation/main.tf): `Day-1/PROJECT-ec2-instance-creation/main.tf`
- [VPC and EC2 project](https://github.com/chanti786/terraform-zero-to-hero/blob/main/Day-2/PROJECT-vpc-with-ec2/main.tf): `Day-2/PROJECT-vpc-with-ec2/main.tf`
- [EC2 module](https://github.com/chanti786/terraform-zero-to-hero/blob/main/Day-3/modules/ec2_instance/main.tf): `Day-3/modules/ec2_instance/main.tf`
- [Flask sample](https://github.com/chanti786/terraform-zero-to-hero/blob/main/Day-5/app.py): `Day-5/app.py`

### State and operations

- [State management](https://github.com/chanti786/terraform-zero-to-hero/blob/main/Day-4/statefile_scenarios.md): `Day-4/statefile_scenarios.md`
- [Remote backend](https://github.com/chanti786/terraform-zero-to-hero/blob/main/Day-4/backend.tf): `Day-4/backend.tf`
- [Provisioners](https://github.com/chanti786/terraform-zero-to-hero/blob/main/Day-5/provisioners.md): `Day-5/provisioners.md`
- [Workspaces](https://github.com/chanti786/terraform-zero-to-hero/blob/main/Day-6/main.tf): `Day-6/main.tf`

### Security topics

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

### Other components

- **Learner**

## Connections

- Learner → Terraform basics: studies (evidence: `README.md`)
- Learner → Setup and AWS: studies (evidence: `README.md`)
- Learner → EC2 project: practices with (evidence: `README.md`)
- Learner → Providers and variables: studies (evidence: `README.md`)
- Learner → VPC and EC2 project: practices with (evidence: `README.md`)
- Learner → Reusable modules: studies (evidence: `README.md`)
- Learner → EC2 module: practices with (evidence: `README.md`)
- Learner → State management: studies (evidence: `README.md`)
- Learner → Remote backend: studies (evidence: `README.md`)
- Learner → Provisioners: studies (evidence: `README.md`)
- Learner → Workspaces: studies (evidence: `README.md`)
- Learner → Terraform security: studies (evidence: `README.md`)
- Learner → Vault integration: studies (evidence: `README.md`)
