Skip to content

Commit

Permalink
Merge pull request #10672 from ngaya-ll/patch-1
Browse files Browse the repository at this point in the history
Don't ignore dualstack prefix in Route 53 alias names
  • Loading branch information
YakDriver authored Jul 26, 2022
2 parents 5fd46ee + c6c03b5 commit 163210e
Show file tree
Hide file tree
Showing 3 changed files with 177 additions and 35 deletions.
3 changes: 3 additions & 0 deletions .changelog/10672.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
resource/aws_route53_record: Don't ignore `dualstack` prefix in Route 53 Record alias names
```
3 changes: 1 addition & 2 deletions internal/service/route53/record.go
Original file line number Diff line number Diff line change
Expand Up @@ -996,8 +996,7 @@ func nilString(s string) *string {
}

func NormalizeAliasName(alias interface{}) string {
input := strings.ToLower(alias.(string))
output := strings.TrimPrefix(input, "dualstack.")
output := strings.ToLower(alias.(string))
return strings.TrimSuffix(output, ".")
}

Expand Down
Loading

0 comments on commit 163210e

Please sign in to comment.