-
Notifications
You must be signed in to change notification settings - Fork 311
Open
Description
Subject of the issue
Attempting to use J2 extensions such as this fails:
j2_environment:
extensions:
- jinja2_ansible_filters.AnsibleCoreFiltersExtension
project_code: "{{ var.BucketName | regex_replace('^[^a-zA-Z]+', '') }}"
This could be the expected behaviour although if so it is confusing and some of the code in the Reader class also seems to imply that the author expected these extensions to be available.
It could be a bug or something that requires better docs.
Your environment
- version of sceptre (sceptre --version) latest
- version of python (python --version) 3.10
- which OS/distro ubuntu
Steps to reproduce
See above.
Expected behaviour
I expected this to work and the regex_replace filter to be available.
Actual behaviour
sceptre.exceptions.SceptreException: config.yaml - No filter named 'regex_replace'.
Metadata
Metadata
Assignees
Labels
No labels