@@ -16,9 +16,6 @@ Mappings:
1616 Version : ' v0.4'
1717
1818Parameters :
19- LayerBucket :
20- Description : Layer bucket
21- Type : String
2219 SubDomain :
2320 Description : The part of a website address before your DomainName - e.g. www or img
2421 Type : String
@@ -33,9 +30,6 @@ Resources:
3330 Type : AWS::CloudFormation::Stack
3431 Properties :
3532 TemplateURL : ./custom-resource.yaml
36- Parameters :
37- LayerVersion : !FindInMap [Solution, Constants, Version]
38- LayerBucket : !Ref LayerBucket
3933 Tags :
4034 - Key : Solution
4135 Value : ACFS3
@@ -47,6 +41,7 @@ Resources:
4741 Parameters :
4842 DomainName : !Ref DomainName
4943 CFNCustomProvider : !GetAtt CustomResourceStack.Outputs.CFNCustomProvider
44+ CopyFunction : !GetAtt CustomResourceStack.Outputs.CopyFunction
5045 Tags :
5146 - Key : Solution
5247 Value : ACFS3
@@ -59,28 +54,45 @@ Resources:
5954 CertificateArn : !GetAtt AcmCertificateStack.Outputs.CertificateArn
6055 DomainName : !Ref DomainName
6156 SubDomain : !Ref SubDomain
62- Release : !FindInMap [Solution, Constants, Version]
57+ S3BucketRoot : !GetAtt CustomResourceStack.Outputs.S3BucketRoot
58+ S3BucketRootName : !GetAtt CustomResourceStack.Outputs.S3BucketRootName
59+ S3BucketRootArn : !GetAtt CustomResourceStack.Outputs.S3BucketRootArn
60+ S3BucketLogs : !GetAtt CustomResourceStack.Outputs.S3BucketLogs
61+ S3BucketLogsName : !GetAtt CustomResourceStack.Outputs.S3BucketLogsName
6362 Tags :
6463 - Key : Solution
6564 Value : ACFS3
6665
6766Outputs :
6867 CFNCustomProvider :
68+ Description : ACM helper function
6969 Value : !GetAtt CustomResourceStack.Outputs.CFNCustomProvider
70+ CopyFunction :
71+ Description : S3 helper function
72+ Value : !GetAtt CustomResourceStack.Outputs.CopyFunction
73+ S3BucketLogs :
74+ Description : Logging bucket
75+ Value : !GetAtt CustomResourceStack.Outputs.S3BucketLogs
76+ S3BucketRoot :
77+ Description : Website bucket
78+ Value : !GetAtt CustomResourceStack.Outputs.S3BucketRoot
79+ S3BucketLogsName :
80+ Description : Logging bucket name
81+ Value : !GetAtt CustomResourceStack.Outputs.S3BucketLogsName
82+ S3BucketRootName :
83+ Description : Website bucket name
84+ Value : !GetAtt CustomResourceStack.Outputs.S3BucketRootName
7085 CertificateArn :
86+ Description : Issued certificate
7187 Value : !GetAtt AcmCertificateStack.Outputs.CertificateArn
7288 CFDistributionName :
89+ Description : CloudFront distribution
7390 Value : !GetAtt CloudFrontStack.Outputs.CloudFrontDistribution
7491 LambdaEdgeFunctionVersion :
92+ Description : Security Lambda version
7593 Value : !GetAtt CloudFrontStack.Outputs.LambdaEdgeFunctionVersion
7694 CloudFrontDomainName :
77- Description : Cloudfront Distribution CNAME
95+ Description : Website address
7896 Value : !GetAtt CloudFrontStack.Outputs.CloudFrontDomainName
79- S3BucketLogs :
80- Description : Logging Bucket
81- Value : !GetAtt CloudFrontStack.Outputs.S3BucketLogs
82- S3BucketRoot :
83- Description : Webroot Bucket
84- Value : !GetAtt CloudFrontStack.Outputs.S3BucketRoot
8597 SolutionVersion :
8698 Value : !FindInMap [Solution, Constants, Version]
0 commit comments