We have been using the cloudformation module for quite some time, and now need to use it with STS temporary credentials, but the cloudformation module (among others) does not appear to support the AWS Security Token.
Are you open to a pull request to extend get_ec2_creds() in module_utils/ec2.py to include the security token, and to update all consuming modules, including cloudformation, to receive aws_security_token if it is set.
Not sure if it would have been more appropriate to have posted to Ansible Development. Still getting our bearings here. Any steer appreciated - if there’s a better way of approaching getting support for Roles / STS in place within the Ansible cloud modules (and cloudformation in particular, our immediate need) please let us know.