Skip to content

Commit ae5886d

Browse files
committed
Fix environment creation from skeleton
Running `cookiecutter skeleton` fails with: Unable to create file 'inventory/group_vars/all/alertmanager.yml' Error message: 'vault_alertmanager_slack_integration_app_creds' is undefined This is caused by cookiecutter templating which needs to be escaped. Fix a typo as well.
1 parent b99b1e9 commit ae5886d

File tree

1 file changed

+2
-2
lines changed
  • environments/skeleton/{{cookiecutter.environment}}/inventory/group_vars/all

1 file changed

+2
-2
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Uncomment below and add Slack bot app creds in the adjacent file
2-
# vault_alertmanager.ym for Slack integration:
2+
# vault_alertmanager.yml for Slack integration:
33
#
44
# alertmanager_slack_integration:
55
# channel: '#alerts'
6-
# app_creds: "{{ vault_alertmanager_slack_integration_app_creds }}"
6+
# app_creds: "{% raw %}{{ vault_alertmanager_slack_integration_app_creds }}{% endraw %}"

0 commit comments

Comments
 (0)