cloudformation module support for AWS Security Token

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

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.

Best,

  • Mick

OK, I’ve just found and reviewed the guidance in Contributing Code (Features or Bugfixes) so I’ll move this discussion over to the Ansible Development list. Thanks!