# pod5-devops-team-dgwit/ecommerce-project-iac-dgwi architecture

> Architecture diagram of the GitHub repository pod5-devops-team-dgwit/ecommerce-project-iac-dgwi, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-25). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/pod5-devops-team-dgwit/ecommerce-project-iac-dgwi
- Repository: https://github.com/pod5-devops-team-dgwit/ecommerce-project-iac-dgwi

## Overview

This repository defines Terraform-managed AWS and Kubernetes infrastructure. The likely operator workflow is to configure inputs and provider settings, provision a VPC and EKS cluster with supporting resources, then expose cluster services and retrieve access outputs. The tree also identifies Argo CD, storage, flow logging, and a cluster-issuer Helm chart as distinct capabilities. No README or source excerpts were provided, so relationships below are tentative and shown with dashed edges; implementation details and exact call/resource dependencies cannot be verified.

Main entry points: [`09-eks-cluster.tf`](https://github.com/pod5-devops-team-dgwit/ecommerce-project-iac-dgwi/blob/main/09-eks-cluster.tf) (EKS cluster), [`01-vpc.tf`](https://github.com/pod5-devops-team-dgwit/ecommerce-project-iac-dgwi/blob/main/01-vpc.tf) (VPC), [`10-eks-node-group.tf`](https://github.com/pod5-devops-team-dgwit/ecommerce-project-iac-dgwi/blob/main/10-eks-node-group.tf) (EKS node group), [`00-provider.tf`](https://github.com/pod5-devops-team-dgwit/ecommerce-project-iac-dgwi/blob/main/00-provider.tf) (AWS provider)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_configuration["Terraform configuration"]
  node_provider["AWS provider<br/>[00-provider.tf]"]
  node_variables["Input variables<br/>[19-variables.tf]"]
  node_outputs["Terraform outputs<br/>[11-outputs.tf]"]
end

subgraph group_network["Network foundation"]
  node_vpc["VPC<br/>[01-vpc.tf]"]
  node_public_subnets["Public subnets<br/>[02-public-sub.tf]"]
  node_private_subnets["Private subnets<br/>[03-private-sub.tf]"]
  node_internet_gateway["Internet gateway<br/>[04-igw.tf]"]
  node_route_table["Main route table"]
  node_gateway_attachment["Gateway attachment"]
  node_security["Security groups<br/>[07-security.tf]"]
  node_keypair["SSH key pair<br/>[08-keypair.tf]"]
  node_flow_logs["VPC flow logs"]
end

subgraph group_cluster["Kubernetes platform"]
  node_eks["EKS cluster<br/>[09-eks-cluster.tf]"]
  node_node_group["EKS node group"]
  node_kubeconfig["Kubeconfig<br/>[16-kubeconfig.tf]"]
end

subgraph group_services["Platform services"]
  node_cert_manager["Cert manager<br/>[12-cert-manager.tf]"]
  node_nginx["NGINX ingress"]
  node_efs["EFS storage<br/>[14-efs.tf]"]
  node_ebs["EBS storage<br/>[17-ebs.tf]"]
  node_argocd["Argo CD<br/>[15-argocd.tf]"]
  node_issuer_chart["Cluster issuer chart"]
end

node_operator(("Infrastructure operator"))

node_operator -.->|"configures"| node_provider
node_operator -.->|"sets inputs"| node_variables
node_provider -.->|"provisions"| node_vpc
node_vpc -.->|"contains"| node_public_subnets
node_vpc -.->|"contains"| node_private_subnets
node_vpc -.->|"uses"| node_internet_gateway
node_internet_gateway -.->|"attaches"| node_gateway_attachment
node_route_table -.->|"routes"| node_public_subnets
node_security -.->|"secures"| node_eks
node_keypair -.->|"configures access"| node_node_group
node_vpc -.->|"logs traffic"| node_flow_logs
node_vpc -.->|"hosts"| node_eks
node_eks -.->|"runs nodes"| node_node_group
node_eks -.->|"configures access"| node_kubeconfig
node_eks -.->|"exposes values"| node_outputs
node_eks -.->|"hosts"| node_cert_manager
node_eks -.->|"hosts"| node_nginx
node_eks -.->|"hosts"| node_argocd
node_eks -.->|"hosts"| node_issuer_chart
node_node_group -.->|"mounts"| node_efs
node_node_group -.->|"uses"| node_ebs

click node_provider "https://github.com/pod5-devops-team-dgwit/ecommerce-project-iac-dgwi/blob/main/00-provider.tf"
click node_variables "https://github.com/pod5-devops-team-dgwit/ecommerce-project-iac-dgwi/blob/main/19-variables.tf"
click node_vpc "https://github.com/pod5-devops-team-dgwit/ecommerce-project-iac-dgwi/blob/main/01-vpc.tf"
click node_public_subnets "https://github.com/pod5-devops-team-dgwit/ecommerce-project-iac-dgwi/blob/main/02-public-sub.tf"
click node_private_subnets "https://github.com/pod5-devops-team-dgwit/ecommerce-project-iac-dgwi/blob/main/03-private-sub.tf"
click node_internet_gateway "https://github.com/pod5-devops-team-dgwit/ecommerce-project-iac-dgwi/blob/main/04-igw.tf"
click node_route_table "https://github.com/pod5-devops-team-dgwit/ecommerce-project-iac-dgwi/blob/main/05-main-route-table.tf"
click node_gateway_attachment "https://github.com/pod5-devops-team-dgwit/ecommerce-project-iac-dgwi/blob/main/06-internet-gateway-attach.tf"
click node_security "https://github.com/pod5-devops-team-dgwit/ecommerce-project-iac-dgwi/blob/main/07-security.tf"
click node_keypair "https://github.com/pod5-devops-team-dgwit/ecommerce-project-iac-dgwi/blob/main/08-keypair.tf"
click node_flow_logs "https://github.com/pod5-devops-team-dgwit/ecommerce-project-iac-dgwi/blob/main/18-vpc-flow-logs.tf"
click node_eks "https://github.com/pod5-devops-team-dgwit/ecommerce-project-iac-dgwi/blob/main/09-eks-cluster.tf"
click node_node_group "https://github.com/pod5-devops-team-dgwit/ecommerce-project-iac-dgwi/blob/main/10-eks-node-group.tf"
click node_kubeconfig "https://github.com/pod5-devops-team-dgwit/ecommerce-project-iac-dgwi/blob/main/16-kubeconfig.tf"
click node_outputs "https://github.com/pod5-devops-team-dgwit/ecommerce-project-iac-dgwi/blob/main/11-outputs.tf"
click node_cert_manager "https://github.com/pod5-devops-team-dgwit/ecommerce-project-iac-dgwi/blob/main/12-cert-manager.tf"
click node_nginx "https://github.com/pod5-devops-team-dgwit/ecommerce-project-iac-dgwi/blob/main/13-nginx-ingress.tf"
click node_efs "https://github.com/pod5-devops-team-dgwit/ecommerce-project-iac-dgwi/blob/main/14-efs.tf"
click node_ebs "https://github.com/pod5-devops-team-dgwit/ecommerce-project-iac-dgwi/blob/main/17-ebs.tf"
click node_argocd "https://github.com/pod5-devops-team-dgwit/ecommerce-project-iac-dgwi/blob/main/15-argocd.tf"
click node_issuer_chart "https://github.com/pod5-devops-team-dgwit/ecommerce-project-iac-dgwi/tree/main/charts/cluster-issuer"

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_provider,node_variables,node_outputs toneBlue
class node_vpc,node_public_subnets,node_private_subnets,node_internet_gateway,node_route_table,node_gateway_attachment,node_security,node_keypair,node_flow_logs toneAmber
class node_eks,node_node_group,node_kubeconfig toneMint
class node_cert_manager,node_nginx,node_efs,node_ebs,node_argocd,node_issuer_chart toneRose
class node_operator toneIndigo
```

## Components

### Terraform configuration

- [AWS provider](https://github.com/pod5-devops-team-dgwit/ecommerce-project-iac-dgwi/blob/main/00-provider.tf): `00-provider.tf`
- [Input variables](https://github.com/pod5-devops-team-dgwit/ecommerce-project-iac-dgwi/blob/main/19-variables.tf): `19-variables.tf`
- [Terraform outputs](https://github.com/pod5-devops-team-dgwit/ecommerce-project-iac-dgwi/blob/main/11-outputs.tf): `11-outputs.tf`

### Network foundation

- [VPC](https://github.com/pod5-devops-team-dgwit/ecommerce-project-iac-dgwi/blob/main/01-vpc.tf): `01-vpc.tf`
- [Public subnets](https://github.com/pod5-devops-team-dgwit/ecommerce-project-iac-dgwi/blob/main/02-public-sub.tf): `02-public-sub.tf`
- [Private subnets](https://github.com/pod5-devops-team-dgwit/ecommerce-project-iac-dgwi/blob/main/03-private-sub.tf): `03-private-sub.tf`
- [Internet gateway](https://github.com/pod5-devops-team-dgwit/ecommerce-project-iac-dgwi/blob/main/04-igw.tf): `04-igw.tf`
- [Main route table](https://github.com/pod5-devops-team-dgwit/ecommerce-project-iac-dgwi/blob/main/05-main-route-table.tf): `05-main-route-table.tf`
- [Gateway attachment](https://github.com/pod5-devops-team-dgwit/ecommerce-project-iac-dgwi/blob/main/06-internet-gateway-attach.tf): `06-internet-gateway-attach.tf`
- [Security groups](https://github.com/pod5-devops-team-dgwit/ecommerce-project-iac-dgwi/blob/main/07-security.tf): `07-security.tf`
- [SSH key pair](https://github.com/pod5-devops-team-dgwit/ecommerce-project-iac-dgwi/blob/main/08-keypair.tf): `08-keypair.tf`
- [VPC flow logs](https://github.com/pod5-devops-team-dgwit/ecommerce-project-iac-dgwi/blob/main/18-vpc-flow-logs.tf): `18-vpc-flow-logs.tf`

### Kubernetes platform

- [EKS cluster](https://github.com/pod5-devops-team-dgwit/ecommerce-project-iac-dgwi/blob/main/09-eks-cluster.tf): `09-eks-cluster.tf`
- [EKS node group](https://github.com/pod5-devops-team-dgwit/ecommerce-project-iac-dgwi/blob/main/10-eks-node-group.tf): `10-eks-node-group.tf`
- [Kubeconfig](https://github.com/pod5-devops-team-dgwit/ecommerce-project-iac-dgwi/blob/main/16-kubeconfig.tf): `16-kubeconfig.tf`

### Platform services

- [Cert manager](https://github.com/pod5-devops-team-dgwit/ecommerce-project-iac-dgwi/blob/main/12-cert-manager.tf): `12-cert-manager.tf`
- [NGINX ingress](https://github.com/pod5-devops-team-dgwit/ecommerce-project-iac-dgwi/blob/main/13-nginx-ingress.tf): `13-nginx-ingress.tf`
- [EFS storage](https://github.com/pod5-devops-team-dgwit/ecommerce-project-iac-dgwi/blob/main/14-efs.tf): `14-efs.tf`
- [EBS storage](https://github.com/pod5-devops-team-dgwit/ecommerce-project-iac-dgwi/blob/main/17-ebs.tf): `17-ebs.tf`
- [Argo CD](https://github.com/pod5-devops-team-dgwit/ecommerce-project-iac-dgwi/blob/main/15-argocd.tf): `15-argocd.tf`
- [Cluster issuer chart](https://github.com/pod5-devops-team-dgwit/ecommerce-project-iac-dgwi/tree/main/charts/cluster-issuer): `charts/cluster-issuer`

### Other components

- **Infrastructure operator**

## Connections

- Infrastructure operator → AWS provider: configures
- Infrastructure operator → Input variables: sets inputs
- AWS provider → VPC: provisions
- VPC → Public subnets: contains
- VPC → Private subnets: contains
- VPC → Internet gateway: uses
- Internet gateway → Gateway attachment: attaches
- Main route table → Public subnets: routes
- Security groups → EKS cluster: secures
- SSH key pair → EKS node group: configures access
- VPC → VPC flow logs: logs traffic
- VPC → EKS cluster: hosts
- EKS cluster → EKS node group: runs nodes
- EKS cluster → Kubeconfig: configures access
- EKS cluster → Terraform outputs: exposes values
- EKS cluster → Cert manager: hosts
- EKS cluster → NGINX ingress: hosts
- EKS cluster → Argo CD: hosts
- EKS cluster → Cluster issuer chart: hosts
- EKS node group → EFS storage: mounts
- EKS node group → EBS storage: uses
