# danangelo6/terraform-practice-labs architecture

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

- Interactive diagram: https://gitdiagram.com/danangelo6/terraform-practice-labs
- Repository: https://github.com/danangelo6/terraform-practice-labs

## Overview

This repository is a small Terraform practice lab for deploying basic AWS networking with public and private subnets. The documented workflow is to enter the VPC lab and follow its instructions to deploy infrastructure with Terraform. The file tree identifies the Terraform configuration and variables, but no source excerpts or lab-specific instructions were provided, so their detailed responsibilities and interactions cannot be verified.

Main entry points: [`VPC/main.tf`](https://github.com/danangelo6/terraform-practice-labs/blob/master/VPC/main.tf) (AWS VPC)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_vpc_lab["VPC lab"]
  node_config["Lab configuration<br/>[main.tf]"]
  node_variables["Lab variables<br/>[variables.tf]"]
  node_vpc["AWS VPC<br/>[main.tf]"]
  node_public_subnets["Public subnets<br/>[main.tf]"]
  node_private_subnets["Private subnets<br/>[main.tf]"]
end

node_learner(("Learner"))
node_terraform["Terraform"]

node_learner -->|"chooses lab"| node_config
node_learner -->|"deploys with"| node_terraform
node_config -->|"defines networking"| node_vpc
node_vpc -->|"includes"| node_public_subnets
node_vpc -->|"includes"| node_private_subnets

click node_config "https://github.com/danangelo6/terraform-practice-labs/blob/master/VPC/main.tf"
click node_variables "https://github.com/danangelo6/terraform-practice-labs/blob/master/VPC/variables.tf"
click node_vpc "https://github.com/danangelo6/terraform-practice-labs/blob/master/VPC/main.tf"
click node_public_subnets "https://github.com/danangelo6/terraform-practice-labs/blob/master/VPC/main.tf"
click node_private_subnets "https://github.com/danangelo6/terraform-practice-labs/blob/master/VPC/main.tf"

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_config,node_variables,node_vpc,node_public_subnets,node_private_subnets toneBlue
class node_learner,node_terraform toneIndigo
```

## Components

### VPC lab

- [Lab configuration](https://github.com/danangelo6/terraform-practice-labs/blob/master/VPC/main.tf): `VPC/main.tf`
- [Lab variables](https://github.com/danangelo6/terraform-practice-labs/blob/master/VPC/variables.tf): `VPC/variables.tf`
- [AWS VPC](https://github.com/danangelo6/terraform-practice-labs/blob/master/VPC/main.tf): `VPC/main.tf`
- [Public subnets](https://github.com/danangelo6/terraform-practice-labs/blob/master/VPC/main.tf): `VPC/main.tf`
- [Private subnets](https://github.com/danangelo6/terraform-practice-labs/blob/master/VPC/main.tf): `VPC/main.tf`

### Other components

- **Learner**
- **Terraform**

## Connections

- Learner → Lab configuration: chooses lab (evidence: `README.md`)
- Learner → Terraform: deploys with (evidence: `README.md`)
- Lab configuration → AWS VPC: defines networking (evidence: `README.md`)
- AWS VPC → Public subnets: includes (evidence: `README.md`)
- AWS VPC → Private subnets: includes (evidence: `README.md`)
