generated from FiV0/clj-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: change deployment to via fiddle
- Loading branch information
1 parent
c3fedb7
commit fac513d
Showing
31 changed files
with
443 additions
and
718 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# This file creates a certificate for CloudFront to use | ||
# It is in a separate file because: | ||
# - CloudFront requires it be created in `us-east-1` | ||
# - Cloudformation only allows deploying resources to one region at a time | ||
--- | ||
# NOTE: Must be created in `us-east-1` because that's a requirement for CloudFront | ||
AWSTemplateFormatVersion: '2010-09-09' | ||
|
||
Parameters: | ||
HostedZoneId: | ||
Type: 'String' | ||
Description: 'The zone id for the hosted zone' | ||
HostedZoneName: | ||
Type: 'String' | ||
Description: 'The zone name for the hosted zone' | ||
|
||
Resources: | ||
Certificate: | ||
Type: AWS::CertificateManager::Certificate | ||
Properties: | ||
DomainName: !Sub | ||
- '*.${Domain}' | ||
- Domain: !Ref HostedZoneName | ||
ValidationMethod: 'DNS' | ||
|
||
DomainValidationOptions: | ||
- DomainName: !Sub | ||
- '*.${Domain}' | ||
- Domain: !Ref HostedZoneName | ||
HostedZoneId: !Ref HostedZoneId | ||
|
||
Outputs: | ||
CertificateArn: | ||
Value: !Ref Certificate |
Oops, something went wrong.