File tree Expand file tree Collapse file tree 1 file changed +47
-0
lines changed
infrastructure/custom-domain Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Original file line number Diff line number Diff line change 1+ AWSTemplateFormatVersion : 2010-09-09
2+ Description : AWS ParallelCluster UI - Custom Domain
3+
4+ Parameters :
5+ CustomDomainName :
6+ Description : Custom domain name.
7+ Type : String
8+ AllowedPattern : ^(\*\.)?(((?!-)[A-Za-z0-9-]{0,62}[A-Za-z0-9])\.)+((?!-)[A-Za-z0-9-]{1,62}[A-Za-z0-9])$
9+ MinLength : 1
10+ MaxLength : 253
11+
12+ HostedZoneId :
13+ Description : HostedZoneId
14+ Type : AWS::Route53::HostedZone::Id
15+
16+ Metadata :
17+ AWS::CloudFormation::Interface :
18+ ParameterGroups :
19+ - Label :
20+ default : Domain
21+ Parameters :
22+ - CustomDomainName
23+ - Label :
24+ default : Networking
25+ Parameters :
26+ - HostedZoneId
27+
28+ Resources :
29+ CustomDomainCertificate :
30+ Type : AWS::CertificateManager::Certificate
31+ Properties :
32+ DomainName : !Ref CustomDomainName
33+ DomainValidationOptions :
34+ - DomainName : !Ref CustomDomainName
35+ HostedZoneId : !Ref HostedZoneId
36+ KeyAlgorithm : RSA_2048
37+ SubjectAlternativeNames :
38+ - !Sub " *.${CustomDomainName}"
39+ ValidationMethod : DNS
40+
41+ Outputs :
42+ CustomDomainName :
43+ Value : !Ref CustomDomainName
44+ Description : Custom domain name.
45+ CustomDomainCertificate :
46+ Value : !Ref CustomDomainCertificate
47+ Description : ACM certificate to certify the custom domain name and its subdomains.
You can’t perform that action at this time.
0 commit comments