cloudtools / cloudtools/troposphere

CloudFormation template created by troposphere is not following the template anatomy

Open
#1,029 0 comments 6 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
4.9k
Forks
1.4k
PR merge metrics
No merged PRs in 30d

Description

Hi,

I am trying to create an AWS CloudFormation template using the troposphere. Template got created how I wanted but the AWS template anatomy is not followed meaning, If I write an AWS CF template manually I start from template fragments AWSTemplateFormatVersion, Description, Parameters, Mappings, Conditions, Resources, Outputs. This is the anatomy that I follow but when I create the same template using the troposphere program it's outputting the template in alphabetical order like AWSTemplateFormatVersion, Conditions, Description, Mappings, Outputs, Parameters, Resources.

The template works fine in either case but I am trying to not change the structure of the templates. Because we are adopted to AWS template anatomy and it is more readable then in the alphabetically sorted template.

Let me know if there is any way to create the template which follows AWS template anatomy.

Thanks

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.