From 230174c66dbe8ce583737649e822f029b94a86e7 Mon Sep 17 00:00:00 2001
From: Felix Hammerl <felix.hammerl@gmail.com>
Date: Fri, 20 Oct 2023 11:23:13 +0200
Subject: [PATCH] Use the website bucket to store transformed index.html

---
 infra/main.tf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/infra/main.tf b/infra/main.tf
index 8a351f8..3f41bc0 100644
--- a/infra/main.tf
+++ b/infra/main.tf
@@ -187,7 +187,7 @@ module "step_transform" {
   iam_policy_json = data.aws_iam_policy_document.step_transform_iam_policy.json
   env = {
     REPORT_BUCKET  = aws_s3_bucket.scan_results.id
-    WEBSITE_BUCKET = aws_s3_bucket.scan_results.id
+    WEBSITE_BUCKET = aws_s3_bucket.website_bucket.id
   }
 }