From 0076646786a0a9a3701c1d8e9f7e5f6675c241e6 Mon Sep 17 00:00:00 2001 From: Ansgar Mertens Date: Thu, 20 Jun 2024 08:02:48 +0200 Subject: [PATCH] fix: remove obsolete variable region is no variable in any of the component sources anymore. The region is now implicitly set via the aws provider passed to the components. --- components.tfstack.hcl | 6 ------ 1 file changed, 6 deletions(-) diff --git a/components.tfstack.hcl b/components.tfstack.hcl index 1c4b76f..5b8540c 100644 --- a/components.tfstack.hcl +++ b/components.tfstack.hcl @@ -4,10 +4,6 @@ component "s3" { source = "./s3" - inputs = { - region = var.region - } - providers = { aws = provider.aws.this random = provider.random.this @@ -18,7 +14,6 @@ component "lambda" { source = "./lambda" inputs = { - region = var.region bucket_id = component.s3.bucket_id } @@ -34,7 +29,6 @@ component "api_gateway" { source = "./api-gateway" inputs = { - region = var.region lambda_function_name = component.lambda.function_name lambda_invoke_arn = component.lambda.invoke_arn }