Hi All -
I’m trying iterate over a list of dicts stored in an external file.
My variables file (vpc.yml) is as follows:
`
Hi All -
I’m trying iterate over a list of dicts stored in an external file.
My variables file (vpc.yml) is as follows:
`
Ok - It appears to be an issue with the indentation level of with_items - I’ve dropped if back a level but an now receiving:
`
TASK: [Create ASG for each zone] **********************************************
fatal: [127.0.0.1] => with_items expects a list or a set
FATAL: all hosts have already failed – aborting
`
how does region tie to eu-west-1?
Hi Brian - eu-west-1 is the region.
still, how does that become?
with_items: {{ region[environment] }}
also note that - is not a good character for variable names