is there any way to use templates in workflows? I ...
# terraform
w
is there any way to use templates in workflows? I tried using a
!template
yaml function to apply a sprig template but it doesn't seem to work
Copy code
The following command failed to execute:

 atmos terraform plan aws_federated_access -s !template entau-{{ env STAGE }}-{{ env BRAND }}-awsapse2
👀 1
e
Do you have templating enabled in your atmos config?
w
yes we do, 2 iterations
e
@Andriy Knysh (Cloud Posse) ☝️
a
templates are not supported in workflows currently. @Gabriela Campana (Cloud Posse) please add a task to add support for templates and YAML functions in Atmos workflows
✅ 1
g
w
To be clear, the use case for this is that we have a number of tenants that are all built using the same components but some of those components depend on changes made in other tenants or cloud providers (like RAM sharing or cloudflare zones). The workflow I'm trying to make is to allow me to apply components in different stacks/tenants in the same workflow without explicitly defining a workflow for every tenant that would be hard to maintain.