CloudFormation deployment tools/libraries

106 views
Skip to first unread message

Daniel Scott

unread,
Oct 14, 2021, 9:51:29 AM10/14/21
to cloudtools-dev
Hi,

I'm currently using Troposphere with Stacker (https://github.com/cloudtools/stacker), which is currently 'dormant' and doesn't seem to be getting any updates.

Does anyone know of other similar tools which can be used to deploy multiple CloudFormation templates into multiple accounts/regions? I have multiple dev/test/prod accounts, as well as some 'infrastructure' accounts, all managed with stacker CloudFormation at the moment. I also have some 'global' stacks (IAM roles mainly) as well as some which need to be deployed into one or more regions in the same account.

Ideally, I would like the following features:
 - Automatic handling of S3 bucket creation for upload of templates
 - Integrated lambda builds/uploads to S3 buckets
 - Can be called via library/api, rather than just from the command line (or the ability to inject arbitrary code into various stages), ideally in python.

I have found:
 - AWS CDK/SAM

However all of the above push me towards writing a config file and executing on the command line. I'd prefer to pass config to a library/api call. I guess AWS CDK is probably my best bet, if there is no better alternative.

Does anyone know of any other tools/libraries which would be good?

Thanks,

Dan

Philip Caviness

unread,
May 6, 2022, 11:56:08 AM5/6/22
to cloudtools-dev
Since troposphere is already native python, we opted to use AWS boto3 python library to distribute the CloudFormation changes to different regions. Boto3 has been around for years and is very stable and well maintained by AWS. Boto3 (botocore) is also the supporting library for the AWS CLI. Anything you can do with AWS CLI or CDK, you can do with boto3 using native python custom classes (just like the way troposphere works).

Mark Peek

unread,
May 6, 2022, 12:09:54 PM5/6/22
to cloudtools-dev
Thank you Philip for that reply. I'll also note there is an example of this in the troposphere cfn script.

Mark

--
You received this message because you are subscribed to the Google Groups "cloudtools-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloudtools-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cloudtools-dev/e733d16a-30b6-4d32-b261-ffb185e1422dn%40googlegroups.com.

Daniel Scott

unread,
May 12, 2022, 8:41:43 AM5/12/22
to cloudtools-dev
Thanks for the reply. I know boto3 fairly well and have used it quite a bit. I'm not aware of it supporting any of the features I requested though? (I admit that I can use boto3 to do this myself, but I'm hoping for an existing project).

The projects I listed above are 99% of the way there, the part that is missing for me is to call them via a library/api call, rather than executing them in a separate process.

 - 

Reply all
Reply to author
Forward
0 new messages