Introduction: The dependency hell

If you’ve ever worked with AWS CDK or CloudFormation, chances are high you’ve stumbled into a familiar problem: stack dependencies

One stack exports an output-value, another one imports it, you make a small innocent change and suddenly Boom 💥

Your deployment suddenly does not work anymore.

Yeah, I’ve been there too lately, it’s one of those moments where you realise how easy it is for tightly coupled stacks to create hidden deployment traps, circular dependencies, deadlocks, and redeploy nightmares.

In this post, I’ll walk you through an example of how to refactor your CDK code to make it more loosely coupled, reducing cross stack references and giving you more flexibility in deploying and evolving your infrastructure safely.

A hands…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help