Fix README documentation for terraform secrets
All checks were successful
/ terraform (push) Successful in 48s
/ ansible (push) Successful in 1m49s

This commit is contained in:
Jake Howard 2023-06-18 17:15:29 +01:00
parent decfbf65c9
commit aeeb097491
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 3 additions and 5 deletions

View file

@ -8,7 +8,7 @@ jobs:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Setup Terraform - name: Setup Terraform
uses: hashicorp/setup-terraform@v2 uses: hashicorp/setup-terraform@v2
- uses: extractions/setup-just@v1 - uses: taiki-e/install-action@just
- name: Init - name: Init
run: just terraform init -backend=false run: just terraform init -backend=false
- name: Lint - name: Lint
@ -22,7 +22,7 @@ jobs:
uses: actions/setup-python@v4 uses: actions/setup-python@v4
with: with:
python-version: 3.11 python-version: 3.11
- uses: extractions/setup-just@v1 - uses: taiki-e/install-action@just
# HACK: https://docs.ansible.com/ansible/devel/reference_appendices/config.html#cfg-in-world-writable-dir # HACK: https://docs.ansible.com/ansible/devel/reference_appendices/config.html#cfg-in-world-writable-dir
- name: Fix permissions - name: Fix permissions

View file

@ -16,9 +16,7 @@
Ansible [integrates](https://theorangeone.net/posts/ansible-vault-bitwarden/) with Bitwarden through its [CLI](https://bitwarden.com/help/article/cli/). Ansible [integrates](https://theorangeone.net/posts/ansible-vault-bitwarden/) with Bitwarden through its [CLI](https://bitwarden.com/help/article/cli/).
Terraform configuration needs to be placed in `terraform/secrets.auto.tfvars`. Terraform secrets are stored in `terraform/.env`, and provisioned using `just update-secrets`.
Terraform backend secrets need to be placed in `terraform/secrets.sh`.
## Deploying ## Deploying