Skip to content

Commit 5e0aae6

Browse files
Bump package version
1 parent 6935c82 commit 5e0aae6

File tree

3 files changed

+22
-20
lines changed

3 files changed

+22
-20
lines changed

Diff for: .changeset/chatty-rabbits-cry.md

-19
This file was deleted.

Diff for: CHANGELOG.md

+21
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,26 @@
11
# @guardian/cdk
22

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.
23+
324
## 52.0.0
425

526
### Major Changes

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@guardian/cdk",
33
"description": "Generic Guardian flavoured AWS CDK components",
4-
"version": "52.0.0",
4+
"version": "52.1.0",
55
"main": "lib/index.js",
66
"types": "lib/index.d.ts",
77
"files": [

0 commit comments

Comments
 (0)