# daws-84s/terraform-aws-eks architecture

> Architecture diagram of the GitHub repository daws-84s/terraform-aws-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/daws-84s/terraform-aws-eks
- Repository: https://github.com/daws-84s/terraform-aws-eks

## Overview

This repository appears to define AWS infrastructure as separate Terraform stacks: networking, administrative access and identity, container resources, and application ingress with TLS. The directory names support those product capabilities, but no README or source excerpts were provided. Consequently, the graph shows the stacks without asserting provisioning order, dependencies, or runtime traffic relationships.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_network["Networking"]
  node_vpc["VPC<br/>[main.tf]"]
  node_security_groups["Security groups<br/>[main.tf]"]
end

subgraph group_access["Access and identity"]
  node_bastion["Bastion host<br/>[main.tf]"]
  node_iam["IAM roles and policies<br/>[main.tf]"]
end

subgraph group_containers["Container platform"]
  node_ecr["Container registry<br/>[main.tf]"]
  node_eks["Kubernetes cluster<br/>[main.tf]"]
end

subgraph group_ingress["Ingress and TLS"]
  node_acm["TLS certificates<br/>[main.tf]"]
  node_alb["Frontend load balancer<br/>[main.tf]"]
end

click node_vpc "https://github.com/daws-84s/terraform-aws-eks/blob/main/00-vpc/main.tf"
click node_security_groups "https://github.com/daws-84s/terraform-aws-eks/blob/main/10-sg/main.tf"
click node_bastion "https://github.com/daws-84s/terraform-aws-eks/blob/main/20-bastion/main.tf"
click node_iam "https://github.com/daws-84s/terraform-aws-eks/blob/main/40-iam/main.tf"
click node_ecr "https://github.com/daws-84s/terraform-aws-eks/blob/main/30-ecr/main.tf"
click node_eks "https://github.com/daws-84s/terraform-aws-eks/blob/main/80-eks/main.tf"
click node_acm "https://github.com/daws-84s/terraform-aws-eks/blob/main/60-acm/main.tf"
click node_alb "https://github.com/daws-84s/terraform-aws-eks/blob/main/70-frontend-alb/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_vpc,node_security_groups toneBlue
class node_bastion,node_iam toneAmber
class node_ecr,node_eks toneMint
class node_acm,node_alb toneRose
```

## Components

### Networking

- [VPC](https://github.com/daws-84s/terraform-aws-eks/blob/main/00-vpc/main.tf): `00-vpc/main.tf`
- [Security groups](https://github.com/daws-84s/terraform-aws-eks/blob/main/10-sg/main.tf): `10-sg/main.tf`

### Access and identity

- [Bastion host](https://github.com/daws-84s/terraform-aws-eks/blob/main/20-bastion/main.tf): `20-bastion/main.tf`
- [IAM roles and policies](https://github.com/daws-84s/terraform-aws-eks/blob/main/40-iam/main.tf): `40-iam/main.tf`

### Container platform

- [Container registry](https://github.com/daws-84s/terraform-aws-eks/blob/main/30-ecr/main.tf): `30-ecr/main.tf`
- [Kubernetes cluster](https://github.com/daws-84s/terraform-aws-eks/blob/main/80-eks/main.tf): `80-eks/main.tf`

### Ingress and TLS

- [TLS certificates](https://github.com/daws-84s/terraform-aws-eks/blob/main/60-acm/main.tf): `60-acm/main.tf`
- [Frontend load balancer](https://github.com/daws-84s/terraform-aws-eks/blob/main/70-frontend-alb/main.tf): `70-frontend-alb/main.tf`
