This commit is contained in:
Matt Reeves 2024-12-31 22:49:23 -05:00
parent 7f13a723ae
commit 8f3ffd06f5

View file

@ -22,7 +22,7 @@
dest: "{{ repo_path }}/.env"
content: |
{% for key, secret_id in env_variables.items() %}
{{ key }}={{ lookup('bitwarden.secrets.lookup', secret_id) }}
{{ key }}={{ lookup('bitwarden.secrets.lookup', secret_id, access_token=bw_access_token) }}
{% endfor %}
- name: Verify .env file content