From fa8856c4ca8817ace4fa1dc8aaec6a95bb9a928a Mon Sep 17 00:00:00 2001 From: Marcello Romani Date: Wed, 1 Nov 2023 22:56:35 +0000 Subject: [PATCH] remove www prefix --- infra/__main__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/infra/__main__.py b/infra/__main__.py index 42928c3..20954bf 100644 --- a/infra/__main__.py +++ b/infra/__main__.py @@ -35,8 +35,8 @@ def build_public_read_policy_for_bucket(bucket_name): # Create s3 bucket to serve static content from site_s3_bucket = aws.s3.Bucket( - "www.lmgify.net", - bucket="www.lmgify.net", + "lmgify.net", + bucket="lmgify.net", website=aws.s3.BucketWebsiteArgs( index_document="index.html", ) @@ -76,7 +76,7 @@ def build_public_read_policy_for_bucket(bucket_name): www_site_record = aws.route53.Record( "www", zone_id=lmgify_net_zone.id, - name="www.lmgify.net", + name="lmgify.net", type="A", aliases=[ aws.route53.RecordAliasArgs(