Hello all,
This is the continuation of my other Post creating direct connect gateway. This is the same but using assume roles and cross-account deployment. I have added loops but there are 2 sections which are not working (debug role arns & assume cross account roles). Can some one help?
Error:
TASK [debug role arns] ************************************************************************************************************************************************************************************************************
task path: /home/ec2-user/environment/aws-rxgt-mgmt-platform/ansible/rxgt-ps-rxgtmgmt-playbook.yaml:29
fatal: [infrastructure]: FAILED! => {
“msg”: “template error while templating string: no filter named ‘map’. String: {{ rxgt_identity_account[‘deploy_accounts’]|map(‘extract’, rxgt_identity_account[‘account_config’])|list }}”
}