ASCII art in an API

2 Methods of deployment

  • deploy.sh script uses Azure CLI to deploy.
  • terraform, using azurerm and azapi providers, which essentially wraps the Azure API with a terraform/bicep blend.

Git and Devconainters (Codespaces)

HTTPS with Git Credential manager should automatically be forwarded to the Codespace/Devcontainer.

For ssh key configuration inside the container:

Linux

eval "$(ssh-agent -s)"
ssh-add $HOME/.ssh/id_rsa
docker ps
docker cp ~/.ssh/id_rsa <container id>:/home/vscode/.ssh

Windows

# Make sure you're running as an Administrator
Set-Service ssh-agent -StartupType Automatic
Start-Service ssh-agent
Get-Service ssh-agent
ssh-add $HOME/.ssh/github_rsa
docker cp "$env.USERPROFILE"/.ssh/id_rsa <container id>:/home/vscode/.ssh

macOS

ssh-add $HOME/.ssh/github_rsa