4 ms·
> Give me Terraform (as much as I hate it) any day. Just use CloudFormation. Easy to write, declarative, vars (Parameters and Output exports). Trick is not to
by nuker 2y ago
> Give me Terraform (as much as I hate it) any day.
Just use CloudFormation. Easy to write, declarative, vars (Parameters and Output exports). Trick is not to pile everything in one Stack. Use several.
- notyourwork 2y agoCDK is much better to express this. Why cfn?
- nuker 2y agoLess lines, easier to read, declarative (cdk is interactive, less predictable). And it generates shitty CFN, we can do better ourselves :)
- notyourwork 2y agoHow is cdk interactive? I use cdk and have it auto build and deploy.
- nuker 2y agoIt is "imperative", not interactive, sorry. From Wiki: "There are generally two approaches to IaC: declarative (functional) vs. imperative (procedural). The difference between the declarative and the imperative approach is essentially 'what' versus 'how'." https://en.wikipedia.org/wiki/Infrastructure_as_code#Types_of_approaches https://en.wikipedia.org/wiki/Infrastructure_as_code#Types_o...