This repo has everything I need to set up all my infrastructure.
-
Install the required tools:
-
Install environment dependencies:
task bootstrap:deps
-
Generate age key pairs. Using SOPS with Age allows us to encrypt secrets.
age-keygen -o secrets/age.key
-
Create the
secret/bootstrap.sops.yaml
configuration file. Fill out the appropriate vars insecret/bootstrap.sops.yaml
.# Decrypt bootstrap secrets task sops:decrypt -- secrets/bootstrap.sops.yaml # Encrypt bootstrap secrets task sops:encrypt -- secrets/bootstrap.sops.yaml
-
Once done run the following command which will verify and generate all the files needed to continue.
task bootstrap:main