From aa13e8e31f783882891e529c66a7f662d07d3eeb Mon Sep 17 00:00:00 2001 From: Bill Metangmo <25366207+billmetangmo@users.noreply.github.com> Date: Thu, 28 Nov 2024 22:49:23 +0100 Subject: [PATCH] fix demo_page missing --- infra/main.tf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/infra/main.tf b/infra/main.tf index 39e68d2..188e862 100644 --- a/infra/main.tf +++ b/infra/main.tf @@ -282,6 +282,11 @@ resource "aws_api_gateway_deployment" "test" { stage_name = (terraform.workspace == "mtchoun-mouh-master") ? var.stage_name : "${terraform.workspace}-${var.stage_name}" } +resource "local_file" "demo_page" { + content = local.demo_page + filename = "../html/demo.html" +} + resource "local_file" "index_page" { content = local.index_page filename = "../html/index.html"