Skip to content

Commit fad9b66

Browse files
authored
0.1.2 Update (#8)
* 0.1.2 update
1 parent 8d64d81 commit fad9b66

File tree

5 files changed

+38
-5
lines changed

5 files changed

+38
-5
lines changed

.header.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,20 @@ pre-configured in line with industry best practices and highly efficient running
2323

2424
- A domain name either hosted with AWS, or with its DNS delegated to a Route53 hosted zone.
2525
- A VPC configured with at least one public subnet in your desired deployment region.
26+
- Desired deployment region **cannot** be one of the following, as Aurora Serverless v1 is not yet supported there:
27+
- Africa (Cape Town)
28+
- Asia Pacific (Hong Kong)
29+
- Asia Pacific (Osaka)
30+
- Europe (Milan)
31+
- Europe (Stockholm)
32+
- Middle East (Bahrain)
33+
- South America (São Paulo)
34+
- AWS GovCloud (US-East)
35+
- AWS GovCloud (US-West)
36+
- China (Beijing)
37+
- China (Ningxia)
38+
39+
Alternatives for Aurora Serverless will be supported in a future release.
2640

2741
## Provider Set-up
2842

@@ -153,7 +167,7 @@ resource "null_resource" "update_nameservers" {
153167
nameservers = aws_route53_zone.apex.id
154168
}
155169
provisioner "local-exec" {
156-
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"
170+
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"
157171
}
158172
depends_on = [aws_route53_zone.apex]
159173
}

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## 0.1.2 - 23rd June 2021
4+
5+
Bugfix: Changed special characters used in RDS password generation to ensure compatibility.
6+
Docs: Updated to fix typos in helper commands, and detailed supported RDS Aurora v1 regions.
7+
38
## 0.1.1 - 19th June 2021
49

510
Bugfix: Refactor md5 calculation on archive_file in codebuild child module.

README.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,20 @@ pre-configured in line with industry best practices and highly efficient running
2424

2525
- A domain name either hosted with AWS, or with its DNS delegated to a Route53 hosted zone.
2626
- A VPC configured with at least one public subnet in your desired deployment region.
27+
- Desired deployment region **cannot** be one of the following, as Aurora Serverless v1 is not yet supported there:
28+
- Africa (Cape Town)
29+
- Asia Pacific (Hong Kong)
30+
- Asia Pacific (Osaka)
31+
- Europe (Milan)
32+
- Europe (Stockholm)
33+
- Middle East (Bahrain)
34+
- South America (São Paulo)
35+
- AWS GovCloud (US-East)
36+
- AWS GovCloud (US-West)
37+
- China (Beijing)
38+
- China (Ningxia)
39+
40+
Alternatives for Aurora Serverless will be supported in a future release.
2741

2842
## Provider Set-up
2943

@@ -154,7 +168,7 @@ resource "null_resource" "update_nameservers" {
154168
nameservers = aws_route53_zone.apex.id
155169
}
156170
provisioner "local-exec" {
157-
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"
171+
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"
158172
}
159173
depends_on = [aws_route53_zone.apex]
160174
}

docs/examples/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ module "peterdotcloud_vpc" {
1313

1414
module "peterdotcloud_website" {
1515
source = "TechToSpeech/serverless-static-wordpress/aws"
16-
version = "0.1.0"
16+
version = "0.1.2"
1717
main_vpc_id = "vpc-e121c09b"
1818
subnet_ids = ["subnet-04b97235", "subnet-08fb235", "subnet-04b97734"]
1919
aws_account_id = data.aws_caller_identity.current.account_id
@@ -80,7 +80,7 @@ resource "null_resource" "update_nameservers" {
8080
nameservers = aws_route53_zone.apex.id
8181
}
8282
provisioner "local-exec" {
83-
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"
83+
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"
8484
}
8585
depends_on = [aws_route53_zone.apex]
8686
}

rds.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
resource "random_password" "serverless_wordpress_password" {
22
length = 16
33
special = true
4-
override_special = "_%@"
4+
override_special = "!#%&*()-_=+[]<>"
55
}
66

77
resource "aws_security_group" "aurora_serverless_group" {

0 commit comments

Comments
 (0)