https://github.com/davidobrien1985/ansible-troposphere-aws
Example of deploying a Cloudformation stack created by Troposphere in Ansible
https://github.com/davidobrien1985/ansible-troposphere-aws
ansible aws cloudformation python troposphere
Last synced: 3 months ago
JSON representation
Example of deploying a Cloudformation stack created by Troposphere in Ansible
- Host: GitHub
- URL: https://github.com/davidobrien1985/ansible-troposphere-aws
- Owner: davidobrien1985
- Created: 2019-07-14T11:34:56.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-24T23:21:54.000Z (over 2 years ago)
- Last Synced: 2025-03-19T12:08:44.224Z (7 months ago)
- Topics: ansible, aws, cloudformation, python, troposphere
- Language: Python
- Size: 1.95 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Ansible to deploy AWS Cloudformation through Troposphere
This example code is used to show how to leverage [Ansible](ansible.com) to deploy an AWS CloudFormation stack that was described using the open source python library [troposphere](https://github.com/cloudtools/troposphere).
## Installation of prereqs
This code uses python 3.
To install the prerequisites using pip3.
`pip3 install -r requirements.txt`
## Execution
`ansible-playbook -i localhost, deploy-cloudformation.yaml -e 'ansible_python_interpreter=/usr/bin/python3' -vvv`
The script uses the AWS credentials from the environment, so make sure you have your AWS profile configured.