Skip to content

Commit

Permalink
Merge pull request #2095 from guardian/changeset-release/main
Browse files Browse the repository at this point in the history
🦋 Release package updates
  • Loading branch information
akash1810 authored Nov 6, 2023
2 parents 6935c82 + 5e0aae6 commit b2d4bad
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 20 deletions.
19 changes: 0 additions & 19 deletions .changeset/chatty-rabbits-cry.md

This file was deleted.

21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
# @guardian/cdk

## 52.1.0

### Minor Changes

- 8541732ec: feat(riff-raff.yaml): Support cross stack dependencies

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.

This does not work in the scenario where we have:

- Stack A containing a bucket
- Stack B CODE containing an app that uses A's bucket
- Stack B PROD containing an app that uses A's bucket

That is, we can't guarantee Stack A is deployed first.

In this change we add support for the scenario where we have a shared resources stack.
The generated `riff-raff.yaml` file will describe that Stack B CODE, and Stack B PROD depend on Stack A.

It uses the AWS CDK mechanism https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.Stack.html#addwbrdependencytarget-reason.

## 52.0.0

### Major Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@guardian/cdk",
"description": "Generic Guardian flavoured AWS CDK components",
"version": "52.0.0",
"version": "52.1.0",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"files": [
Expand Down

0 comments on commit b2d4bad

Please sign in to comment.