From 191f2e04c87e5b54111c867e3f65b1e6befc19d7 Mon Sep 17 00:00:00 2001 From: Ansgar Mertens Date: Wed, 4 Sep 2024 16:53:07 +0200 Subject: [PATCH] fix: Allow any type as inputs to components per default (#400) --- internal/schema/stacks/1.9/component_block.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/schema/stacks/1.9/component_block.go b/internal/schema/stacks/1.9/component_block.go index 7a1f820..c96d957 100644 --- a/internal/schema/stacks/1.9/component_block.go +++ b/internal/schema/stacks/1.9/component_block.go @@ -50,7 +50,7 @@ func componentBlockSchema() *schema.BlockSchema { IsOptional: true, Constraint: schema.Map{ Name: "map of input references", - Elem: schema.Reference{OfScopeId: refscope.ModuleScope}, // TODO: This should be refscope.InputScope ? + Elem: schema.AnyExpression{OfType: cty.DynamicPseudoType}, }, }, "version": {