From c5d08f9020c1f91e14bafef52bdec69ab1a2c78f Mon Sep 17 00:00:00 2001 From: Marcello Romani Date: Sun, 29 Oct 2023 21:46:27 +0000 Subject: [PATCH] add output web endpoint --- infra/__main__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/infra/__main__.py b/infra/__main__.py index d73ab60..c8cdac0 100644 --- a/infra/__main__.py +++ b/infra/__main__.py @@ -41,6 +41,7 @@ def build_public_read_policy_for_bucket(bucket_name): ) ) pulumi.export('site_s3_bucket', site_s3_bucket.id) +pulumi.export('site_s3_bucket_url', site_s3_bucket.website_endpoint) # The bucket must be public public_access_block = aws.s3.BucketPublicAccessBlock(