Skip to content

Installation

  1. Follow DevContainer documentation to install it
  2. Build the container

Info

  • Every files ending in .crt in ssl folders are copied to /usr/local/share/ca-certificates inside the devcontainer to validate PKI
  • Every files in ~/.kube of your current user will be copied to /home/vscode/.kube and exported to $KUBECONFIG

with binaries

  1. Install (versions are pinned in configuration files)

  2. Setup python

    apt install python3-venv
    python3 -m venv venv
    source venv/bin/activate
    python3 -m pip install --upgrade pip
    pip install '.[just,ansible,terraform,octodns,documentation]'
    

    Info

    Don't forget to source python environment when opening a new shell before doing anything

  3. Install root ca certificates on your machine

    sudo cp ssl/*.crt /usr/local/share/ca-certificates
    sudo update-ca-certificates
    
  4. Init packer plugins

    cd packer
    packer init templates/ubuntu
    
  5. Init terraform plugins

    cd terraform/prod
    terragrunt run-all init