So I have a list of AWS Instance Ids
ok: [localhost] => { "instance_running.instance_ids": [ "i-05a765076f4cbf03b", "i-096b8a656d875f38a", "i-0b5156565ac17c9e4", "i-0865656657565edd5" ] }
and I want to assign it to a dict variable to use in the targets parameter the port is the same for all the ids and is another variable
`
targets:
- Id: “{{ instance_id }}”
Port: “{{ host_port }}”
`
I am confused by the map function and the community.general.dict