You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Also the apex record will always manage the apex record, which may not be the desired outcome.
On my scenario, i have got an existing website with an already set www and apex records which i don't want to change. I want an additional recordset to test this module that would run in parallel with the existing website.
Woudn't it make more sense for this module to only manage the recordset defined and in site_prefix and give the users the flexibility of managing their apex and www records differently?
That could also help address #43, by giving users the possibility of setting the non-canonical address to another endpoint which would handle the redirect.
The text was updated successfully, but these errors were encountered:
This is a very fair call-out. The module is currently built with some hard assumptions - as you note I've assumed wordpress is at the apex of your domain either with or without the www. You may want to have it in a sub-domain, like blog.example.com, and currently this doesn't handle that.
It also occurs to me that this probably wouldn't work if you wanted example.com/blog - you could make WP2Static output to the correct part of the S3 bucket and substitute the correct target URL, but CloudFront would then need to have multiple origins configured (and we don't have that right now either) - one where the apex points at, say, a load balancer, and the /blog directory goes to S3 as expected.
Perhaps I'm missing something, but can't see how the implementation of the Route53 entries honours the
site_prefix
variable.The
www
record is not taking thesite_prefix
variable https://github.com/TechToSpeech/terraform-aws-serverless-static-wordpress/blob/master/r53.tf#L3.Also the
apex
record will always manage the apex record, which may not be the desired outcome.On my scenario, i have got an existing website with an already set
www
andapex
records which i don't want to change. I want an additional recordset to test this module that would run in parallel with the existing website.Woudn't it make more sense for this module to only manage the recordset defined and in
site_prefix
and give the users the flexibility of managing theirapex
andwww
records differently?That could also help address #43, by giving users the possibility of setting the non-canonical address to another endpoint which would handle the redirect.
The text was updated successfully, but these errors were encountered: