diff --git a/.changelog/37565.txt b/.changelog/37565.txt new file mode 100644 index 00000000000..d3a4f22a0af --- /dev/null +++ b/.changelog/37565.txt @@ -0,0 +1,3 @@ +```release-note:bug +resource/aws_route53_record: Change region default to us-east-1 +``` diff --git a/internal/service/route53/service_package.go b/internal/service/route53/service_package.go index 9fa349bc7a6..42a03315fbe 100644 --- a/internal/service/route53/service_package.go +++ b/internal/service/route53/service_package.go @@ -21,7 +21,8 @@ func (p *servicePackage) NewConn(ctx context.Context, m map[string]any) (*route5 // Force "global" services to correct Regions. switch m["partition"].(string) { case endpoints_sdkv1.AwsPartitionID: - config.Region = aws_sdkv1.String(endpoints_sdkv1.UsWest2RegionID) + // https://docs.aws.amazon.com/general/latest/gr/r53.html Setting default to us-east-1 + config.Region = aws_sdkv1.String(endpoints_sdkv1.UsEast1RegionID) case endpoints_sdkv1.AwsCnPartitionID: // The AWS Go SDK is missing endpoint information for Route 53 in the AWS China partition. // This can likely be removed in the future.