Skip to content

Conversation

@MatthewPopat-NHS
Copy link
Contributor

Summary

  • ✨ New Feature

@github-actions
Copy link

This PR is linked to a ticket in an NHS Digital JIRA Project. Here's a handy link to the ticket:

AEA-6028

export async function deleteUnusedStacks(baseStackName: string, repoName: string, basePath: string): Promise<void> {
const cloudFormationClient = new CloudFormationClient({})
const route53Client = new Route53Client({})
const hostedZoneId = await getHostedZoneId(route53Client)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what if this errors or returns nothing (eg running in the wrong environment)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If it errors this will bubble up to the pipeline, if it returns nothing it will just not cleanup the CNAMES which is probably ok

@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 2, 2026

Quality Gate Failed Quality Gate failed

Failed conditions
3.5% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants