How to set environment dynamically

Hello Guys,

So, i have a vars file with something like this:

`

The easiest thing for you to do would be to nest aws_740 and aws_756 under a parent key, maybe called “aws_env”.

Then you can use: environment: “{{ aws_env[account] }}”