Skip to content

Maintenance: adopt AWS CDK cli library #1623

Closed
@dreamorosi

Description

@dreamorosi

Summary

To run our integration (e2e) tests we deploy resources to an AWS account via CDK. These resources are spun up right before the test and then destroyed immediately afterwards. When we first wrote this infrastructure, CDK didn't allow programmatic use and so we had to rely on some workarounds. In the past months however CDK has released a new alpha module called @aws-cdk/cli-lib-alpha (link) that could potentially replace our workarounds.

We should look into this module and create an utility that can be used in all the tests that require AWS resources.

Why is this needed?

The current implementation relies on an internal CDK API. As such, its implementation can change at any time and break our test infrastructure. This has happened in one of the latest releases of CDK.

Which area does this relate to?

Tests

Solution

No response

Acknowledgment

Future readers

Please react with 👍 and your use case to help us understand customer demand.

Metadata

Metadata

Assignees

Labels

completedThis item is complete and has been merged/shippedinternalPRs that introduce changes in governance, tech debt and chores (linting setup, baseline, etc.)testsPRs that add or change tests

Type

No type

Projects

Status

Shipped

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions