Skip to content

feat(registration): Bring second NS1 CNAME record into CloudFormation - #1669

Merged
akash1810 merged 1 commit into
mainfrom
aa/version-control-second-ns1-record
Feb 2, 2026
Merged

feat(registration): Bring second NS1 CNAME record into CloudFormation#1669
akash1810 merged 1 commit into
mainfrom
aa/version-control-second-ns1-record

Conversation

@akash1810

@akash1810 akash1810 commented Feb 2, 2026

Copy link
Copy Markdown
Member

What does this change?

Follows #1654 and brings the second CNAME into CloudFormation to ease its removal at a later date; removal can be done via a standard CloudFormation update.

How to test

This change adds a Guardian::DNS::RecordSet resource to the CloudFormation stack; this resource type requires all properties to exactly match the current CNAME, therefore to the test is to confirm the DNS record details and deploy to CODE.

Comment thread cdk/lib/registration.ts
* @see https://metrics.gutools.co.uk/goto/zF4xr1HvR?orgId=1
*/
private addLegacyCname({ app, intermediateCname }: RegistrationProps) {
const route53Domain = this.parameters['DomainName'];

@akash1810 akash1810 Feb 2, 2026

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

See

DomainName:
Type: String
Description: The domain name of the ELB, should contain the trailing dot stuff.zone.example.com.
for the YAML template and https://metrics.gutools.co.uk/goto/xVMwCJHDg?orgId=1 for the value of the parameter as deployed.

@akash1810
akash1810 marked this pull request as ready for review February 2, 2026 12:35
@akash1810
akash1810 requested a review from a team as a code owner February 2, 2026 12:35
Brings the second CNAME into CloudFormation to ease its removal at a later date;
removal can be done via a standard CloudFormation update.
@akash1810
akash1810 force-pushed the aa/version-control-second-ns1-record branch from 18c8d6c to e6b76c1 Compare February 2, 2026 12:37
@github-actions

github-actions Bot commented Feb 2, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actions Bot commented Feb 2, 2026

Copy link
Copy Markdown
Contributor

Comment thread cdk/lib/registration.ts
*
* @see https://metrics.gutools.co.uk/goto/zF4xr1HvR?orgId=1
*/
private addLegacyCname({ app, intermediateCname }: RegistrationProps) {

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Not entirely convinced about this function name, however it is only temporary. Suggestions for a clearer name welcomed!

@akash1810
akash1810 merged commit 99bdd56 into main Feb 2, 2026
8 checks passed
@akash1810
akash1810 deleted the aa/version-control-second-ns1-record branch February 2, 2026 12:46
@akash1810

Copy link
Copy Markdown
Member Author

@akash1810 akash1810 added the feature Departmental tracking: work on a new feature label Feb 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature Departmental tracking: work on a new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants