guardian / security-hq

Centralised security information for AWS accounts
https://security-hq.gutools.co.uk/
12 stars 4 forks source link

Update cdk to v58.0.0 with necessary changes to be compatible #1122

Closed michaelwmcnamara closed 4 months ago

michaelwmcnamara commented 4 months ago

What does this change?

This change moves the cdk version from 54.1.0 to 58.0.0

For compatibility this requires some changes - specifically focused on handling of AWSBackups opt in. As of cdk v58.0.0 this will be handled by opting in on the individual construct definitions rather than at the stack level (see cdk release notes).

Specific changes made in this PR:

Breaking or Major changes moving from 54.1.0 to earlier versions that may apply or be of interest:

What is the value of this?

SecurityHQ is using a very old version of cdk and if the gap grows updating will be increasingly more difficult and more risky.

Will this require CloudFormation and/or updates to the AWS StackSet?

Will need to check what this is asking for.

The Cloudformation template will be changed as a result of this cdk update and the changes in this PR:

Will this require changes to config?

Any additional notes?

github-actions[bot] commented 4 months ago

Deploy build 2822 of security-hq to CODE

All deployment options - [Deploy build 2822 of `security-hq` to CODE](https://riffraff.gutools.co.uk/deployment/deployAgain?project=security-hq&build=2822&stage=CODE&updateStrategy=MostlyHarmless&action=deploy) - [Deploy parts of build 2822 to CODE by previewing it first](https://riffraff.gutools.co.uk/preview/yaml?project=security-hq&build=2822&stage=CODE&updateStrategy=MostlyHarmless) - [What's on CODE right now?](https://riffraff.gutools.co.uk/deployment/history?projectName=security-hq&stage=CODE)

From guardian/actions-riff-raff.