From 48325a00d797cc9223004a10f910aeb2247c9b94 Mon Sep 17 00:00:00 2001 From: Khalim Conn-Kowlessar Date: Fri, 14 Jul 2023 14:38:47 +0100 Subject: [PATCH] Added root level allowed_origins variable --- infrastructure/terraform/variables.tf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/infrastructure/terraform/variables.tf b/infrastructure/terraform/variables.tf index bcdbc6be..65b4e0d6 100644 --- a/infrastructure/terraform/variables.tf +++ b/infrastructure/terraform/variables.tf @@ -26,4 +26,9 @@ variable instance_class { variable database_name { description = "The name of the database to create when the DB instance is created" type = string +} + +variable "allowed_origins" { + description = "Allowed origins for CORS policy" + type = list(string) } \ No newline at end of file