diff --git a/.header.md b/.header.md index 43b8b2c..f3f5bb2 100644 --- a/.header.md +++ b/.header.md @@ -23,6 +23,20 @@ pre-configured in line with industry best practices and highly efficient running - A domain name either hosted with AWS, or with its DNS delegated to a Route53 hosted zone. - A VPC configured with at least one public subnet in your desired deployment region. +- Desired deployment region **cannot** be one of the following, as Aurora Serverless v1 is not yet supported there: + - Africa (Cape Town) + - Asia Pacific (Hong Kong) + - Asia Pacific (Osaka) + - Europe (Milan) + - Europe (Stockholm) + - Middle East (Bahrain) + - South America (São Paulo) + - AWS GovCloud (US-East) + - AWS GovCloud (US-West) + - China (Beijing) + - China (Ningxia) + +Alternatives for Aurora Serverless will be supported in a future release. ## Provider Set-up @@ -153,7 +167,7 @@ resource "null_resource" "update_nameservers" { nameservers = aws_route53_zone.apex.id } provisioner "local-exec" { - command = "aws route53domains update-domain-nameservers --region us-east-1 --domain-name ${local.site_domain} --nameservers Name=${aws_route53_zone.apex.name_servers.0}Name=${aws_route53_zone.apex.name_servers.1} Name=${aws_route53_zone.apex.name_servers.2} Name=${aws_route53_zone.apex.name_servers.3} --profile peterdotcloud" + command = "aws route53domains update-domain-nameservers --region us-east-1 --domain-name ${local.site_domain} --nameservers Name=${aws_route53_zone.apex.name_servers.0} Name=${aws_route53_zone.apex.name_servers.1} Name=${aws_route53_zone.apex.name_servers.2} Name=${aws_route53_zone.apex.name_servers.3} --profile peterdotcloud" } depends_on = [aws_route53_zone.apex] } diff --git a/CHANGELOG.md b/CHANGELOG.md index 82695be..69d0c09 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 0.1.2 - 23rd June 2021 + +Bugfix: Changed special characters used in RDS password generation to ensure compatibility. +Docs: Updated to fix typos in helper commands, and detailed supported RDS Aurora v1 regions. + ## 0.1.1 - 19th June 2021 Bugfix: Refactor md5 calculation on archive_file in codebuild child module. diff --git a/README.md b/README.md index 8756087..b60f4c5 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,20 @@ pre-configured in line with industry best practices and highly efficient running - A domain name either hosted with AWS, or with its DNS delegated to a Route53 hosted zone. - A VPC configured with at least one public subnet in your desired deployment region. +- Desired deployment region **cannot** be one of the following, as Aurora Serverless v1 is not yet supported there: + - Africa (Cape Town) + - Asia Pacific (Hong Kong) + - Asia Pacific (Osaka) + - Europe (Milan) + - Europe (Stockholm) + - Middle East (Bahrain) + - South America (São Paulo) + - AWS GovCloud (US-East) + - AWS GovCloud (US-West) + - China (Beijing) + - China (Ningxia) + +Alternatives for Aurora Serverless will be supported in a future release. ## Provider Set-up @@ -154,7 +168,7 @@ resource "null_resource" "update_nameservers" { nameservers = aws_route53_zone.apex.id } provisioner "local-exec" { - command = "aws route53domains update-domain-nameservers --region us-east-1 --domain-name ${local.site_domain} --nameservers Name=${aws_route53_zone.apex.name_servers.0}Name=${aws_route53_zone.apex.name_servers.1} Name=${aws_route53_zone.apex.name_servers.2} Name=${aws_route53_zone.apex.name_servers.3} --profile peterdotcloud" + command = "aws route53domains update-domain-nameservers --region us-east-1 --domain-name ${local.site_domain} --nameservers Name=${aws_route53_zone.apex.name_servers.0} Name=${aws_route53_zone.apex.name_servers.1} Name=${aws_route53_zone.apex.name_servers.2} Name=${aws_route53_zone.apex.name_servers.3} --profile peterdotcloud" } depends_on = [aws_route53_zone.apex] } diff --git a/docs/examples/main.tf b/docs/examples/main.tf index a0c5f9a..c5375db 100644 --- a/docs/examples/main.tf +++ b/docs/examples/main.tf @@ -13,7 +13,7 @@ module "peterdotcloud_vpc" { module "peterdotcloud_website" { source = "TechToSpeech/serverless-static-wordpress/aws" - version = "0.1.0" + version = "0.1.2" main_vpc_id = "vpc-e121c09b" subnet_ids = ["subnet-04b97235", "subnet-08fb235", "subnet-04b97734"] aws_account_id = data.aws_caller_identity.current.account_id @@ -80,7 +80,7 @@ resource "null_resource" "update_nameservers" { nameservers = aws_route53_zone.apex.id } provisioner "local-exec" { - command = "aws route53domains update-domain-nameservers --region us-east-1 --domain-name ${local.site_domain} --nameservers Name=${aws_route53_zone.apex.name_servers.0}Name=${aws_route53_zone.apex.name_servers.1} Name=${aws_route53_zone.apex.name_servers.2} Name=${aws_route53_zone.apex.name_servers.3} --profile peterdotcloud" + command = "aws route53domains update-domain-nameservers --region us-east-1 --domain-name ${local.site_domain} --nameservers Name=${aws_route53_zone.apex.name_servers.0} Name=${aws_route53_zone.apex.name_servers.1} Name=${aws_route53_zone.apex.name_servers.2} Name=${aws_route53_zone.apex.name_servers.3} --profile peterdotcloud" } depends_on = [aws_route53_zone.apex] } diff --git a/rds.tf b/rds.tf index 3b99683..bcba0ae 100644 --- a/rds.tf +++ b/rds.tf @@ -1,7 +1,7 @@ resource "random_password" "serverless_wordpress_password" { length = 16 special = true - override_special = "_%@" + override_special = "!#%&*()-_=+[]<>" } resource "aws_security_group" "aurora_serverless_group" {