-
Create a copy of the template secrets file
-
Generate a PGP key pair using a tool like GPG: '''bash gpg --gen-key ''' Follow the prompts to create the key pair.
-
Export and Base64 Encode the Public Key: '''bash gpg --export --armor [email protected] | base64 '''
Replace [email protected] with the email address you used when generating the key pair. This command will print a base64-encoded string to the console.
- Run
terraform plan
- Give in the exported base 64 public key
- Check the result of the plan
- Run
terraform apply
- Give in the exported base 64 public key
- Approve with yes