TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

After using both, I regretted switching from Terraform to CloudFormation

3 点作者 vs2超过 5 年前

1 comment

robbya超过 5 年前
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>