# binaya-sharma/databricks-aws-terraform architecture

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

- Interactive diagram: https://gitdiagram.com/binaya-sharma/databricks-aws-terraform
- Repository: https://github.com/binaya-sharma/databricks-aws-terraform

## Overview

This repository is a Terraform learning project whose active product is AWS networking for a future Databricks Classic workspace; it is not currently provisioning Databricks. The documented active layers are remote-state bootstrap, a dev environment, a platform composition module, and networking. The README also identifies retained but unstarted Databricks IAM, storage, and workspace modules. No source excerpts were provided, so edges show only relationships stated in the README; the exact invocation path from the dev root is therefore omitted.

Main entry points: [`infrastructure/bootstrap/main.tf`](https://github.com/binaya-sharma/databricks-aws-terraform/blob/main/infrastructure/bootstrap/main.tf) (State bootstrap), [`infrastructure/modules/platform/main.tf`](https://github.com/binaya-sharma/databricks-aws-terraform/blob/main/infrastructure/modules/platform/main.tf) (Platform composition), [`infrastructure/modules/networking/main.tf`](https://github.com/binaya-sharma/databricks-aws-terraform/blob/main/infrastructure/modules/networking/main.tf) (AWS networking)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_active_infrastructure["Active infrastructure"]
  node_bootstrap["State bootstrap<br/>[main.tf]"]
  node_state_bucket[("Remote state bucket")]
  node_dev_root["Dev environment root<br/>[main.tf]"]
  node_platform["Platform composition<br/>[main.tf]"]
  node_networking["AWS networking<br/>[main.tf]"]
end

subgraph group_future_databricks["Future Databricks"]
  node_databricks_iam["Databricks IAM<br/>[main.tf]"]
  node_databricks_storage["Databricks storage<br/>[main.tf]"]
  node_databricks_workspace["Databricks workspace<br/>[main.tf]"]
end

node_operator(("Infrastructure operator"))
node_terraform["Terraform CLI"]

node_bootstrap -->|"creates"| node_state_bucket
node_platform -->|"composes"| node_networking

click node_bootstrap "https://github.com/binaya-sharma/databricks-aws-terraform/blob/main/infrastructure/bootstrap/main.tf"
click node_dev_root "https://github.com/binaya-sharma/databricks-aws-terraform/blob/main/infrastructure/environments/dev/main.tf"
click node_platform "https://github.com/binaya-sharma/databricks-aws-terraform/blob/main/infrastructure/modules/platform/main.tf"
click node_networking "https://github.com/binaya-sharma/databricks-aws-terraform/blob/main/infrastructure/modules/networking/main.tf"
click node_databricks_iam "https://github.com/binaya-sharma/databricks-aws-terraform/blob/main/tobeimplement-temp/databricks/modules/iam/main.tf"
click node_databricks_storage "https://github.com/binaya-sharma/databricks-aws-terraform/blob/main/tobeimplement-temp/databricks/modules/storage/main.tf"
click node_databricks_workspace "https://github.com/binaya-sharma/databricks-aws-terraform/blob/main/tobeimplement-temp/databricks/modules/databricks-workspace/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_bootstrap,node_state_bucket,node_dev_root,node_platform,node_networking toneBlue
class node_databricks_iam,node_databricks_storage,node_databricks_workspace toneAmber
class node_operator,node_terraform toneIndigo
```

## Components

### Active infrastructure

- [State bootstrap](https://github.com/binaya-sharma/databricks-aws-terraform/blob/main/infrastructure/bootstrap/main.tf): `infrastructure/bootstrap/main.tf`
- **Remote state bucket**
- [Dev environment root](https://github.com/binaya-sharma/databricks-aws-terraform/blob/main/infrastructure/environments/dev/main.tf): `infrastructure/environments/dev/main.tf`
- [Platform composition](https://github.com/binaya-sharma/databricks-aws-terraform/blob/main/infrastructure/modules/platform/main.tf): `infrastructure/modules/platform/main.tf`
- [AWS networking](https://github.com/binaya-sharma/databricks-aws-terraform/blob/main/infrastructure/modules/networking/main.tf): `infrastructure/modules/networking/main.tf`

### Future Databricks

- [Databricks IAM](https://github.com/binaya-sharma/databricks-aws-terraform/blob/main/tobeimplement-temp/databricks/modules/iam/main.tf): `tobeimplement-temp/databricks/modules/iam/main.tf`
- [Databricks storage](https://github.com/binaya-sharma/databricks-aws-terraform/blob/main/tobeimplement-temp/databricks/modules/storage/main.tf): `tobeimplement-temp/databricks/modules/storage/main.tf`
- [Databricks workspace](https://github.com/binaya-sharma/databricks-aws-terraform/blob/main/tobeimplement-temp/databricks/modules/databricks-workspace/main.tf): `tobeimplement-temp/databricks/modules/databricks-workspace/main.tf`

### Other components

- **Infrastructure operator**
- **Terraform CLI**

## Connections

- State bootstrap → Remote state bucket: creates (evidence: `README.md`)
- Platform composition → AWS networking: composes (evidence: `README.md`)
