# iam-veeramalla/terraform-eks architecture

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

- Interactive diagram: https://gitdiagram.com/iam-veeramalla/terraform-eks
- Repository: https://github.com/iam-veeramalla/terraform-eks

## Overview

This repository is a Terraform sample for provisioning an AWS EKS cluster with a VPC. The documented workflow is to configure AWS credentials, initialize Terraform, optionally review a plan, and apply the configuration. The tree identifies separate cluster, networking, security-group, input, output, and version configuration files, but no source excerpts were provided; relationships beyond the README’s stated EKS-with-VPC outcome are therefore omitted.

Main entry points: [`eks-cluster.tf`](https://github.com/iam-veeramalla/terraform-eks/blob/main/eks-cluster.tf) (EKS cluster), [`vpc.tf`](https://github.com/iam-veeramalla/terraform-eks/blob/main/vpc.tf) (VPC)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_networking["Networking"]
  node_vpc["VPC<br/>[vpc.tf]"]
  node_security_groups["Security groups<br/>[security-groups.tf]"]
end

subgraph group_eks["EKS cluster"]
  node_eks_cluster["EKS cluster<br/>[eks-cluster.tf]"]
end

subgraph group_terraform["Terraform configuration"]
  node_variables["Input variables<br/>[variables.tf]"]
  node_outputs["Outputs<br/>[outputs.tf]"]
  node_versions["Provider versions<br/>[versions.tf]"]
end

node_operator(("Operator"))
node_terraform_cli["Terraform CLI"]
node_aws["AWS"]

node_operator -->|"runs apply"| node_terraform_cli
node_terraform_cli -->|"provisions"| node_eks_cluster
node_terraform_cli -->|"provisions"| node_vpc
node_eks_cluster -->|"created with"| node_vpc
node_terraform_cli -->|"connects to"| node_aws

click node_vpc "https://github.com/iam-veeramalla/terraform-eks/blob/main/vpc.tf"
click node_security_groups "https://github.com/iam-veeramalla/terraform-eks/blob/main/security-groups.tf"
click node_eks_cluster "https://github.com/iam-veeramalla/terraform-eks/blob/main/eks-cluster.tf"
click node_variables "https://github.com/iam-veeramalla/terraform-eks/blob/main/variables.tf"
click node_outputs "https://github.com/iam-veeramalla/terraform-eks/blob/main/outputs.tf"
click node_versions "https://github.com/iam-veeramalla/terraform-eks/blob/main/versions.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_vpc,node_security_groups toneBlue
class node_eks_cluster toneAmber
class node_variables,node_outputs,node_versions toneMint
class node_operator,node_terraform_cli,node_aws toneIndigo
```

## Components

### Networking

- [VPC](https://github.com/iam-veeramalla/terraform-eks/blob/main/vpc.tf): `vpc.tf`
- [Security groups](https://github.com/iam-veeramalla/terraform-eks/blob/main/security-groups.tf): `security-groups.tf`

### EKS cluster

- [EKS cluster](https://github.com/iam-veeramalla/terraform-eks/blob/main/eks-cluster.tf): `eks-cluster.tf`

### Terraform configuration

- [Input variables](https://github.com/iam-veeramalla/terraform-eks/blob/main/variables.tf): `variables.tf`
- [Outputs](https://github.com/iam-veeramalla/terraform-eks/blob/main/outputs.tf): `outputs.tf`
- [Provider versions](https://github.com/iam-veeramalla/terraform-eks/blob/main/versions.tf): `versions.tf`

### Other components

- **Operator**
- **Terraform CLI**
- **AWS**

## Connections

- Operator → Terraform CLI: runs apply (evidence: `README.md`)
- Terraform CLI → EKS cluster: provisions (evidence: `README.md`)
- Terraform CLI → VPC: provisions (evidence: `README.md`)
- EKS cluster → VPC: created with (evidence: `README.md`)
- Terraform CLI → AWS: connects to (evidence: `README.md`)
