Skip to content

Commit 4f52384

Browse files
committed
terraform: aws: secret regions now support ALIAS record
Switching to use a CNAME instead of an ALIAS record is no longer needed on C2S regions. Both TC2S and SC2S support ALIAS records now.
1 parent 8d73989 commit 4f52384

File tree

1 file changed

+1
-1
lines changed
  • data/data/aws/cluster/route53

1 file changed

+1
-1
lines changed

data/data/aws/cluster/route53/base.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ locals {
55
// So publish_strategy serves an coordinated proxy for that decision.
66
public_endpoints = var.publish_strategy == "External" ? true : false
77

8-
use_cname = contains(["us-gov-west-1", "us-gov-east-1", "us-iso-east-1"], var.region)
8+
use_cname = contains(["us-gov-west-1", "us-gov-east-1"], var.region)
99
use_alias = ! local.use_cname
1010
}
1111

0 commit comments

Comments
 (0)