Hi
I am trying to use Asset Bundles to deploy a job with email notifications active only on production environment.
I tried to use such if statement but it does not seem to do anything.
resources:
jobs:
Master_Load:
name: Master Load
email_notifications:
${{ if eq(${var.env}, 'prd') }}:
on_failure:
- user1@smth.com
- user2@smth.com
Is it possible to even use if statements in a job definition?
Best!