Skip to content

Commit 2e2d896

Browse files
committed
downcase FQDN for adhoc builds
domain names are always case insensitive (ref: rfc1035#section-2.3.3).
1 parent 67b4fd9 commit 2e2d896

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/cdo/aws/cloud_formation.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class CloudFormation
2121
STACK_NAME = "#{rack_env}-#{BRANCH}".gsub(STACK_NAME_INVALID_REGEX, '-')
2222

2323
# Fully qualified domain name
24-
FQDN = "#{STACK_NAME}.#{DOMAIN}"
24+
FQDN = "#{STACK_NAME}.#{DOMAIN}".downcase
2525
SSH_KEY_NAME = 'server_access_key'
2626
IMAGE_ID = 'ami-df0607b5'
2727
INSTANCE_TYPE = 'c4.xlarge'

0 commit comments

Comments
 (0)