Skip to content

Commit bc74f27

Browse files
author
guslington
committed
fix dns record
1 parent 5a2bd13 commit bc74f27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redis.cfndsl.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
Tags tags + [{ Key: 'Name', Value: FnJoin('-', [ Ref(:EnvironmentName), component_name, 'cache-cluster' ]) }]
7171
}
7272

73-
record = (defined? dns_record ? "#{dns_record}" : 'redis')
73+
record = (defined?(dns_record) ? "#{dns_record}" : 'redis')
7474

7575
Route53_RecordSet(:RedisHostRecord) {
7676
HostedZoneName FnJoin('', [ Ref(:EnvironmentName), '.', Ref(:DnsDomain), '.'])

0 commit comments

Comments
 (0)