# Ansible can read environment variables which AWS CloudFormation creates ?

**URL:** <https://forum.ansible.com/t/ansible-can-read-environment-variables-which-aws-cloudformation-creates/33892>\
**Category:** Ansible Project\
**Tags:** aws\
**Created:** [September 24, 2020, 6:00pm UTC](https://forum.ansible.com/t/ansible-can-read-environment-variables-which-aws-cloudformation-creates/33892 "2020-09-24T18:00:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vineeth\_Joseph\_Abrah](https://avatars.discourse-cdn.com/v4/letter/v/47e85d/32.png) [@Vineeth\_Joseph\_Abrah](https://forum.ansible.com/u/Vineeth_Joseph_Abrah)\
**Post date:** [September 24, 2020, 6:00pm UTC](https://forum.ansible.com/t/ansible-can-read-environment-variables-which-aws-cloudformation-creates/33892/1 "2020-09-24T18:00:37Z")

</div>

Hi All,  
Is there a way Ansible can read environment variables which AWS CloudFormation creates ?.

For example : CloudFormation can create ANSIBLE\_SOURCE env variable with the S3 bucket name that Ansible can read to pull the necessary files for a VM.

Thanks in Advance.  
Vineeth
