Troposphere is a library to create AWS CloudFormation templates.
The Troposphere library allows for easier creation of the AWS CloudFormation JSON by writing Python code to describe the AWS resources. As an addition to the Troposphere library, Troposphere noe supports setting up an Elastigroup via CloudFormation as well.
How to use Troposphere
We created a Git repository for the library accessible here: https://github.com/spotinst/spotinst-troposphere
Object reference: Elastigroup Create Object Reference
For additional information please see: Spotinst CloudFormation