infra-dapps/dns.tf
Jakub Sokołowski f294580e31
delegate dap.ps domain management to Route53
We have to use Route53 because it provides the option to use an
ALIAS type record which works for apex records and can point to
a CloudFront distribution in a dynamic way.

Without this we'd have to use A records which are static unlike
a CNAME, which would eventually become obsolete and take down
the site when they do.

Details: https://github.com/dap-ps/infra-dapps/issues/18

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-01-27 20:49:05 +01:00

14 lines
463 B
HCL

/* DNS ------------------------------------*/
/** WARNING: The .ps TLD has special status.
* Its registration took extra long time when it was purchased.
* It required help from Gandi support to change the nameservers to AWS ones.
* Make changes to it on Gandi side with that in mind.
**/
/* Configure managing domain with Route53 Hosted Zone */
resource "aws_route53_zone" "dap_ps" {
name = "dap.ps"
comment = "Domain for Dapp Discovery website."
}