Skip to content

SYSTEM Cited by 2 sources

CloudFormation

Definition

AWS CloudFormation is AWS's declarative infrastructure-as-code service. You declare a template (YAML or JSON) listing AWS resources and their properties; CloudFormation plans and applies the diff, tracking state in a named stack. Supports stack updates, deletion protection (DeletionPolicy: Retain), cross-stack references, drift detection, and change sets.

Seen in

  • — used to provision the AWS::S3::Bucket (with WebsiteConfiguration index + error document) and BucketPolicy for Zalando's engineering blog. DeletionPolicy: Retain preserves the bucket if the stack is deleted — a common safety measure for any production data store defined via CloudFormation.
  • sources/2022-04-18-zalando-zalandos-machine-learning-platform — motivating pain-point disclosure: "CloudFormation templates are highly expressive and allow developers to describe even minute details. Unfortunately, CF files can become verbose and are tedious to edit manually." Zalando addresses this with systems/zflow, a Python DSL that compiles (via AWS CDK) to a CloudFormation template, which Zalando's CDP then deploys. Canonical wiki reference for the CloudFormation verbosity problem and the Python-DSL- wrapping-CloudFormation pattern.
  • sources/2024-01-22-zalando-tale-of-metadpata-the-revenge-of-the-supertools — canonical wiki instance of the ChangeSet-as-PR-preview shape. Zalando's post-metadpata remediation reads CreateChangeSet from every AWS account in the organisation, merges into a human-readable PR comment, drops the ChangeSet, and executes on merge. See cloudformation-changeset and pr-preview-of-cloudformation-changeset. The same post also introduces cfn-lint at commit + CI time as the validation tier before ChangeSet preview.

Comparable systems

  • Terraform (HashiCorp) — multi-cloud, providers-based, stores state externally (S3 + DynamoDB lock is the canonical backend). More ecosystem momentum than CloudFormation.
  • AWS CDK — typed abstraction (TS / Python / Java / Go / C#) that synthesises to CloudFormation under the hood.
  • Pulumi — typed multi-cloud, similar spirit to CDK.

Multi-Region custom resources

CloudFormation custom resources have no native multi-Region support: no fan-out, no distributed locking, no automated failover. A reference architecture from AWS Architecture Blog (2026-07-22) solves this with an active-active pattern: SNS cross-region subscriptions fan out lifecycle events to dual SQS queues, DynamoDB Global Tables provide conditional-write locking for exactly-once execution, and Amazon ARC automates failover. (Source: sources/2026-07-22-aws-building-multi-region-resiliency-for-cloudformation-custom-resources)

Last updated · 766 distilled / 2,225 read