Skip to content

v48.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 05 Oct 13:53
· 1420 commits to main since this release
db80209

48.0.0 (2022-10-05)

  • feat!: remove support for VPC SSM parameters in GuVPC construct (abcdc3d)

BREAKING CHANGES

  • Support for VPC SSM parameters has been removed.
    You will need to migrate to guardian/aws-account-setup instead.
    See the migration section below for more info on how to do this.

Account setup, including VPC parameters is now done via:

https://github.com/guardian/aws-account-setup

and it is sensible to only manage these in a single place.

As a reminder, the parameters are typically:

/account/vpc/primary/subnets/public
/account/vpc/primary/subnets/private

('primary' may differ if you have overridden the prefix here.)

There is unfortunately no way to transfer Cloudformation
ownership of SSM parameters.

Therefore, to migrate you will need to:

  1. raise a PR to add your account to
    https://github.com/guardian/aws-account-setup but do not merge yet

  2. raise a PR bump guardian/cdk to latest in your projects that use
    the GuVpc constructor but do not merge yet

  3. pause all Cloudformation deployments that use the VPC-related
    SSM parameters for that VPC

  4. merge and deploy (2) - this will delete your existing parameters

  5. merge and deploy (1) - this will recreate them via aws-account-setup

  6. unpause any deployments from (3)

'pause' in (3) is probably best achieved by adding temporary RR
deployment restrictions. See:

https://riffraff.gutools.co.uk/deployment/restrictions