# azure/vscode-remote-try-bicep architecture

> Architecture diagram of the GitHub repository azure/vscode-remote-try-bicep, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-30). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/azure/vscode-remote-try-bicep
- Repository: https://github.com/azure/vscode-remote-try-bicep

## Overview

This repository provides a Bicep authoring devcontainer and a sample deployment entry point. The documented workflow is to open the repository in VS Code Remote or Codespaces, edit `main.bicep`, authenticate with Azure CLI, create a resource group, and deploy the template. The README documents these relationships; no source excerpts were provided, so the template’s contents and the devcontainer’s internal configuration are not detailed here.

Main entry points: [`main.bicep`](https://github.com/azure/vscode-remote-try-bicep/blob/main/main.bicep) (Bicep template), [`.devcontainer`](https://github.com/azure/vscode-remote-try-bicep/tree/main/.devcontainer) (Devcontainer)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_workspace["Authoring environment"]
  node_workspace["VS Code / Codespaces"]
  node_devcontainer["Devcontainer<br/>[.devcontainer]"]
end

subgraph group_deployment["Azure deployment"]
  node_template["Bicep template<br/>[main.bicep]"]
  node_cli["Azure CLI"]
  node_azure["Azure"]
  node_resourcegroup["Resource group"]
end

node_author(("Author"))

node_author -->|"opens repository"| node_workspace
node_workspace -->|"opens container"| node_devcontainer
node_author -->|"edits"| node_template
node_author -->|"runs commands"| node_cli
node_cli -->|"authenticates"| node_azure
node_cli -->|"creates"| node_resourcegroup
node_cli -->|"reads for deployment"| node_template
node_cli -->|"deploys to"| node_azure

click node_devcontainer "https://github.com/azure/vscode-remote-try-bicep/tree/main/.devcontainer"
click node_template "https://github.com/azure/vscode-remote-try-bicep/blob/main/main.bicep"

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_workspace,node_devcontainer toneBlue
class node_template,node_cli,node_azure,node_resourcegroup toneAmber
class node_author toneIndigo
```

## Components

### Authoring environment

- **VS Code / Codespaces**
- [Devcontainer](https://github.com/azure/vscode-remote-try-bicep/tree/main/.devcontainer): `.devcontainer`

### Azure deployment

- [Bicep template](https://github.com/azure/vscode-remote-try-bicep/blob/main/main.bicep): `main.bicep`
- **Azure CLI**
- **Azure**
- **Resource group**

### Other components

- **Author**

## Connections

- Author → VS Code / Codespaces: opens repository (evidence: `README.md`)
- VS Code / Codespaces → Devcontainer: opens container (evidence: `README.md`)
- Author → Bicep template: edits (evidence: `README.md`)
- Author → Azure CLI: runs commands (evidence: `README.md`)
- Azure CLI → Azure: authenticates (evidence: `README.md`)
- Azure CLI → Resource group: creates (evidence: `README.md`)
- Azure CLI → Bicep template: reads for deployment (evidence: `README.md`)
- Azure CLI → Azure: deploys to (evidence: `README.md`)
