Skip to content

Fix EFS_FQDN_RE to support ADC DNS suffixes with hyphens#325

Merged
samuhale merged 1 commit intoaws:masterfrom
ANorwell:fix-adc-fqdn-regex
Feb 23, 2026
Merged

Fix EFS_FQDN_RE to support ADC DNS suffixes with hyphens#325
samuhale merged 1 commit intoaws:masterfrom
ANorwell:fix-adc-fqdn-regex

Conversation

@ANorwell
Copy link

The dns_name_suffix capture group in EFS_FQDN_RE used [a-z0-9.] which does not match hyphens. ADC regions like NCL use DNS suffix 'cloud.adc-e.uk' which contains a hyphen, causing mount.efs to reject the FQDN with 'did not resolve to a valid DNS name for an EFS mount target'.

Add hyphen to the character class: [a-z0-9.-], and associated test

The dns_name_suffix capture group in EFS_FQDN_RE used [a-z0-9.] which
does not match hyphens. ADC regions like NCL use DNS suffix
'cloud.adc-e.uk' which contains a hyphen, causing mount.efs to reject
the FQDN with 'did not resolve to a valid DNS name for an EFS mount
target'.

Add hyphen to the character class: [a-z0-9.-]
@samuhale samuhale merged commit e23020f into aws:master Feb 23, 2026
1 check passed
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