File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -67,17 +67,20 @@ resources:
67
67
Aliases :
68
68
Fn::If :
69
69
- CustomDomain
70
- - - '${self:custom.settings.environment.CUSTOM_DOMAIN, self:custom.empty }'
70
+ - - '${self:custom.settings.environment.CUSTOM_DOMAIN, "" }'
71
71
- Ref : AWS::NoValue
72
72
ViewerCertificate :
73
73
Fn::If :
74
+ - ArnCertificate
75
+ - MinimumProtocolVersion : ' TLSv1'
76
+ SslSupportMethod : ' sni-only'
77
+ AcmCertificateArn : ${self:custom.settings.environment.ACM_CERTIFICATE_ARN,''}
78
+ - Fn::If :
74
79
- CreateCertificate
75
- - AcmCertificateArn : !If
76
- - ArnCertificate
77
- - self:custom.settings.environment.ACM_CERTIFICATE_ARN
78
- - Ref : Certificate
80
+ - MinimumProtocolVersion : ' TLSv1'
79
81
SslSupportMethod : ' sni-only'
80
- MinimumProtocolVersion : ' TLSv1'
82
+ AcmCertificateArn :
83
+ Ref : Certificate
81
84
- Ref : AWS::NoValue
82
85
Certificate :
83
86
Type : AWS::CertificateManager::Certificate
You can’t perform that action at this time.
0 commit comments