Onboarding to Azure CAF framework - GlennChia/terraform-azurerm-caf GitHub Wiki

The following installation steps have been tested on Windows 10.

Installation steps

  1. Install the following
  2. With Chocolatey, install
  3. Install Ubuntu 20.04 from the Microsoft Store.
  4. In Docker Desktop, configure Docker WSL integration with Ubuntu 20.04
  5. Open the Ubuntu 20.04 app and generate the SSH keys that will be used for git commands. Follow Generating a new SSH key and adding it to the ssh-agent. The keys must be registered on GitHub as well
  6. [Optional] Create directories following the path ~/git/github.com/aztfmod where repositories are cloned in aztfmod
  7. Open the Ubuntu 20.04 app and clone the repo into the ~/git/github.com/aztfmod directory. Link to the aztfmod/terraform-azurerm-caf repo
  8. Change directory to the repository's code and open Visual Studio Code from there with code .
  9. Install the Remote Development extension on VS code. This can be done directly in VS code. Alternatively, follow VisualStudio Marketplace - Remote Development
  10. Use the Remote Development Extension to Reopen in in Container. It then shows Dev Container: Azure CAF module. Verify that Terraform and Azure CLI are installed