Skip to content

Commit

Permalink
aws: Set awsPreferCNAME to true
Browse files Browse the repository at this point in the history
Prevent the switch of CNAME records to Alias A records for CNAMES with
an aws ec2 loadbalancer as the target.  Prevent evaluate target health
automatically being applied to alias targets (Not strictly required
since we don't create any now but turning it off anyway)
  • Loading branch information
mikenairn committed Apr 17, 2024
1 parent 0ff55b5 commit 1c80038
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/provider/aws/aws.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ const (
providerSpecificGeolocationContinentCode = "aws/geolocation-continent-code"
awsBatchChangeSize = 1000
awsBatchChangeInterval = time.Second
awsEvaluateTargetHealth = true
awsPreferCNAME = false
awsEvaluateTargetHealth = false
awsPreferCNAME = true
awsZoneCacheDuration = 0 * time.Second
)

Expand Down

0 comments on commit 1c80038

Please sign in to comment.