yeah, what gives? The CLI commands work fine in my environment too.
On Thursday, August 13, 2015 at 12:25:53 PM UTC-5, Vicent Soria wrote:
>
> Anyone?
>
> El miércoles, 5 de agosto de 2015, 17:36:52 (UTC+2), Vicent Soria escribió:
>>
>> Hi,
>>
>> I'm trying to manage a cloudformation stack with assume role credentials.
>>
>> I exported AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY and
>> AWS_SECURITY_TOKEN as environment variables.
>>
>> - name: my cloudformation task
>> cloudformation:
>> stack_name: "my_stack"
>> region: "{{ region }}"
>> template: "template.json"
>> state: present
>>
>>
>> When I run the playbook, this is the error:
>>
>> failed: [localhost] => {"failed": true}
>>> msg: The security token included in the request is invalid.
>>
>>
>>
>> If I try to create an ec2 key, it works fine:
>>
>> - name: test
>> ec2_key:
>> region: "{{ region }}"
>> name: example
>>
>> state: present
>>
>>
>>
>> I tried with temporary credentials created with aws cli and boto.
>>
>> I have ansible 1.9.2 and boto 2.38 installed.
>>
>> Could you help me?
>>
>> Thank you!
>>
>
--
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/b2177a20-bd44-4a8e-8f59-c5d934ce6eed%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.