TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

After using both, I regretted switching from Terraform to CloudFormation

3 pointsby vs2over 5 years ago

1 comment

robbyaover 5 years ago
Having also used both, terraform is a significant improvement over CloudFormation. As a DevOps engineer working on AWS, I push very hard against CloudFormation.<p>Both languages suffer when you try to do some advanced things, but CloudFormation falls apart way earlier.<p>One example, triggering a lambda from an S3 upload event is a prime use case for both services. However CloudFormation fails to do that because the S3 bucket takes time to be created. You need to either deploy twice, expecting the first to fail or trigger a lambda in CFN to setup the notification. Seriously you need python code uploaded in a zip file to handle this? Both are hacks for a classic example.<p>1. <a href="https:&#x2F;&#x2F;forums.aws.amazon.com&#x2F;thread.jspa?threadID=167470" rel="nofollow">https:&#x2F;&#x2F;forums.aws.amazon.com&#x2F;thread.jspa?threadID=167470</a> 2. <a href="https:&#x2F;&#x2F;aws.amazon.com&#x2F;premiumsupport&#x2F;knowledge-center&#x2F;cloudformation-s3-notification-lambda&#x2F;" rel="nofollow">https:&#x2F;&#x2F;aws.amazon.com&#x2F;premiumsupport&#x2F;knowledge-center&#x2F;cloud...</a>