I have multiple projects with a CFT stored in Git. However, these CFT files are too large (exceed Amazon's 51k byte limit) and have to be stored in S3. What is an effective method that would allow these templates to be stored in S3 and SCM? Our CloudFormation stacks are deployed via jenkins pipelines.

  • Try Nested Stacks to Create Reusable Templates in cloud formation. – santosh reddy Aug 31 '18 at 5:58
  • The simplest approach and one that we use (so simple I'm not sure it's worth a full answer) is to have a deployment task that copies your templates into S3, then trigger the CFN stack creation or update. – Marakai Sep 3 '18 at 0:09

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.