This file contains hidden or 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
#!/bin/bash | |
# Create resource record sets for migrating a hosted zone to a different AWS account. | |
# Ref: https://docs.aws.amazon.com/en_us/Route53/latest/DeveloperGuide/hosted-zones-migrating.html | |
# | |
# Usage: aws route53 list-resource-record-sets --hosted-zone-id XXXXXXXXXXXXXX | bash migrate-r53-hosted-zone.sh | |
# | |
if [ -z $(command -v jq) ] ;then | |
echo "command not found: jq" | |
exit 1 |
This file contains hidden or 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
<!-- | |
Parameters: | |
type - (Required) album / track / playlist / artist | |
id - (Required) Target ID | |
width - (Optional) width | |
height - (Optional) height | |
--> | |
{{ if .IsNamedParams }} | |
<iframe src="https://open.spotify.com/embed/{{ .Get "type" }}/{{ .Get "id" }}" |
This file contains hidden or 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
AWSTemplateFormatVersion: 2010-09-09 | |
Description: CloudFront Distribution with a S3 Static Website Hosting | |
Parameters: | |
CustomDomain: | |
Type: String | |
Description: Domain name of your website. | |
CertificateARN: | |
Type: String | |
Description: SSL Certificate ARN. SSL Certificate must be in us-east-1 region. | |
Resources: |
This file contains hidden or 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
AWSTemplateFormatVersion: 2010-09-09 | |
Description: CloudFront Distribution with a S3 Origin (ristrict direct access to S3 using OAI) | |
Parameters: | |
CustomDomain: | |
Type: String | |
Description: Domain name of your website. | |
CertificateARN: | |
Type: String | |
Description: SSL Certificate ARN. SSL Certificate must be in us-east-1 region. | |
Resources: |