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.
Best,
- Mick Bass
47Lining