File tree Expand file tree Collapse file tree 5 files changed +38
-5
lines changed Expand file tree Collapse file tree 5 files changed +38
-5
lines changed Original file line number Diff line number Diff 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} 
Original file line number Diff line number Diff line change 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
510Bugfix: Refactor md5 calculation on archive_file in codebuild child module.
Original file line number Diff line number Diff 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} 
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ module "peterdotcloud_vpc" {
1313
1414module  "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  =  . 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}
Original file line number Diff line number Diff line change 11resource  "random_password"  "serverless_wordpress_password"  {
22  length            =  16 
33  special           =  true 
4-   override_special  =  " _%@ " 
4+   override_special  =  " !#%&*()-_=+[]<> " 
55}
66
77resource  "aws_security_group"  "aurora_serverless_group"  {
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments