# nextopsvideos/terraformyt architecture

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

- Interactive diagram: https://gitdiagram.com/nextopsvideos/terraformyt
- Repository: https://github.com/nextopsvideos/terraformyt

## Overview

This repository is a collection of Terraform examples associated with the NextOps Videos YouTube channel. Its apparent user workflow is to choose an example and use it as a Terraform configuration; the README does not document execution steps or relationships between examples and infrastructure providers, and no source excerpts were provided. The groups below reflect capabilities named by the directory tree, not verified implementation details. Dashed links represent the inferred user-to-configuration workflow; provider resources and internal calls are omitted rather than guessed.

Main entry points: [`AWS_Example/main.tf`](https://github.com/nextopsvideos/terraformyt/blob/main/AWS_Example/main.tf) (AWS example), [`Azure_Example_AKS/main.tf`](https://github.com/nextopsvideos/terraformyt/blob/main/Azure_Example_AKS/main.tf) (AKS example), [`Azure_Example_Count/main.tf`](https://github.com/nextopsvideos/terraformyt/blob/main/Azure_Example_Count/main.tf) (Count example), [`Azure_Example_Datasources/main.tf`](https://github.com/nextopsvideos/terraformyt/blob/main/Azure_Example_Datasources/main.tf) (Data sources)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_aws["AWS example"]
  node_aws_example["AWS example<br/>[main.tf]"]
end

subgraph group_azure_patterns["Azure patterns"]
  node_aks["AKS example<br/>[main.tf]"]
  node_count["Count example<br/>[main.tf]"]
  node_datasources["Data sources<br/>[main.tf]"]
  node_foreach["ForEach example<br/>[main.tf]"]
  node_functions["Functions example<br/>[main.tf]"]
  node_locals["Locals example<br/>[main.tf]"]
end

subgraph group_azure_structure["Azure structure"]
  node_full["Full example<br/>[main.tf]"]
  node_modules["Modules example<br/>[main.tf]"]
end

subgraph group_azure_state["Azure state"]
  node_import["Import example<br/>[main.tf]"]
  node_workspaces["Workspaces example<br/>[main.tf]"]
end

node_user(("Example user"))
node_terraform["Terraform"]

node_user -.->|"runs configurations"| node_terraform
node_terraform -.->|"uses example"| node_aws_example
node_terraform -.->|"uses example"| node_aks
node_terraform -.->|"uses example"| node_count
node_terraform -.->|"uses example"| node_datasources
node_terraform -.->|"uses example"| node_foreach
node_terraform -.->|"uses example"| node_functions
node_terraform -.->|"uses example"| node_locals
node_terraform -.->|"uses example"| node_full
node_terraform -.->|"uses example"| node_modules
node_terraform -.->|"uses example"| node_import
node_terraform -.->|"uses example"| node_workspaces

click node_aws_example "https://github.com/nextopsvideos/terraformyt/blob/main/AWS_Example/main.tf"
click node_aks "https://github.com/nextopsvideos/terraformyt/blob/main/Azure_Example_AKS/main.tf"
click node_count "https://github.com/nextopsvideos/terraformyt/blob/main/Azure_Example_Count/main.tf"
click node_datasources "https://github.com/nextopsvideos/terraformyt/blob/main/Azure_Example_Datasources/main.tf"
click node_foreach "https://github.com/nextopsvideos/terraformyt/blob/main/Azure_Example_ForEach/main.tf"
click node_functions "https://github.com/nextopsvideos/terraformyt/blob/main/Azure_Example_Functions/main.tf"
click node_locals "https://github.com/nextopsvideos/terraformyt/blob/main/Azure_Example_Locals/main.tf"
click node_full "https://github.com/nextopsvideos/terraformyt/blob/main/Azure_Example_Full/main.tf"
click node_modules "https://github.com/nextopsvideos/terraformyt/blob/main/Azure_Example_Modules/modules/main.tf"
click node_import "https://github.com/nextopsvideos/terraformyt/blob/main/Azure_Example_Import/main.tf"
click node_workspaces "https://github.com/nextopsvideos/terraformyt/blob/main/Azure_Example_Workspaces/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_aws_example,node_user toneBlue
class node_aks,node_count,node_datasources,node_foreach,node_functions,node_locals toneAmber
class node_full,node_modules toneMint
class node_import,node_workspaces toneRose
class node_terraform toneIndigo
```

## Components

### AWS example

- [AWS example](https://github.com/nextopsvideos/terraformyt/blob/main/AWS_Example/main.tf): `AWS_Example/main.tf`

### Azure patterns

- [AKS example](https://github.com/nextopsvideos/terraformyt/blob/main/Azure_Example_AKS/main.tf): `Azure_Example_AKS/main.tf`
- [Count example](https://github.com/nextopsvideos/terraformyt/blob/main/Azure_Example_Count/main.tf): `Azure_Example_Count/main.tf`
- [Data sources](https://github.com/nextopsvideos/terraformyt/blob/main/Azure_Example_Datasources/main.tf): `Azure_Example_Datasources/main.tf`
- [ForEach example](https://github.com/nextopsvideos/terraformyt/blob/main/Azure_Example_ForEach/main.tf): `Azure_Example_ForEach/main.tf`
- [Functions example](https://github.com/nextopsvideos/terraformyt/blob/main/Azure_Example_Functions/main.tf): `Azure_Example_Functions/main.tf`
- [Locals example](https://github.com/nextopsvideos/terraformyt/blob/main/Azure_Example_Locals/main.tf): `Azure_Example_Locals/main.tf`

### Azure structure

- [Full example](https://github.com/nextopsvideos/terraformyt/blob/main/Azure_Example_Full/main.tf): `Azure_Example_Full/main.tf`
- [Modules example](https://github.com/nextopsvideos/terraformyt/blob/main/Azure_Example_Modules/modules/main.tf): `Azure_Example_Modules/modules/main.tf`

### Azure state

- [Import example](https://github.com/nextopsvideos/terraformyt/blob/main/Azure_Example_Import/main.tf): `Azure_Example_Import/main.tf`
- [Workspaces example](https://github.com/nextopsvideos/terraformyt/blob/main/Azure_Example_Workspaces/main.tf): `Azure_Example_Workspaces/main.tf`

### Other components

- **Example user**
- **Terraform**

## Connections

- Example user → Terraform: runs configurations
- Terraform → AWS example: uses example
- Terraform → AKS example: uses example
- Terraform → Count example: uses example
- Terraform → Data sources: uses example
- Terraform → ForEach example: uses example
- Terraform → Functions example: uses example
- Terraform → Locals example: uses example
- Terraform → Full example: uses example
- Terraform → Modules example: uses example
- Terraform → Import example: uses example
- Terraform → Workspaces example: uses example
