You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+21
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,26 @@
1
1
# @guardian/cdk
2
2
3
+
## 52.1.0
4
+
5
+
### Minor Changes
6
+
7
+
- 8541732ec: feat(riff-raff.yaml): Support cross stack dependencies
8
+
9
+
Currently the `riff-raff.yaml` generator is not able to create dependencies between `cloud-formation` deployments. This means each `cloud-formation` deployment could happen at the same time.
10
+
11
+
This does not work in the scenario where we have:
12
+
13
+
- Stack A containing a bucket
14
+
- Stack B CODE containing an app that uses A's bucket
15
+
- Stack B PROD containing an app that uses A's bucket
16
+
17
+
That is, we can't guarantee Stack A is deployed first.
18
+
19
+
In this change we add support for the scenario where we have a shared resources stack.
20
+
The generated `riff-raff.yaml` file will describe that Stack B CODE, and Stack B PROD depend on Stack A.
21
+
22
+
It uses the AWS CDK mechanism https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.Stack.html#addwbrdependencytarget-reason.
0 commit comments