I've encountered this too. After some investigation, I've discovered its a 
bug <https://github.com/boto/boto/pull/2100> in Ansible/boto. The security 
token is not being passed through to boto and the AWS API call.

Looking at GitHub, it has been fixed, and the fix is in the v2.0 code, but 
it did not make it to the 1.9.x code. Go figure.

I got around it by copying the v2 cloudformation module code into my module 
library. That works properly with assumed role credentials, and appears to 
be otherwise backward compatible.


-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/d503ba9f-9065-4cde-a9ae-3b004a841234%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to