mirror of
https://github.com/dap-ps/infra-dapps.git
synced 2025-02-22 09:08:04 +00:00
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>
14 lines
463 B
HCL
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."
|
|
}
|