From 16d042943d1327366132c1a443a86beea501bfd3 Mon Sep 17 00:00:00 2001 From: Jan Sebastian Siwy Date: Mon, 23 Sep 2024 11:06:39 +0200 Subject: [PATCH] Unify structure of module variables --- _test/main.tf | 2 +- variables.tf | 54 +++++++++++++++++++++++++++++++++++++-------------- 2 files changed, 40 insertions(+), 16 deletions(-) diff --git a/_test/main.tf b/_test/main.tf index 31415e7..e8ce173 100644 --- a/_test/main.tf +++ b/_test/main.tf @@ -3,7 +3,7 @@ provider "aws" { } module "lambda" { - source = "./.." + source = "./.." function_name = "example" description = "This is an example" diff --git a/variables.tf b/variables.tf index eca2c0f..db44944 100644 --- a/variables.tf +++ b/variables.tf @@ -5,64 +5,84 @@ variable "archive_file" { }) default = null - description = "An instance of the `archive_file` data source containing the code of the Lambda function. Conflicts with `source_dir`." + description = <