Skip to content

Commit

Permalink
fix: Support sensitive attribute for stacks variables (#401)
Browse files Browse the repository at this point in the history
* fix: Allow any type as inputs to components per default

* fix: Support sensitive attribute for stacks variables
  • Loading branch information
ansgarm committed Sep 23, 2024
1 parent 76c3da6 commit cacce31
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions internal/schema/stacks/1.9/variable_block.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@ func variableBlockSchema() *schema.BlockSchema {
IsOptional: true,
Description: lang.Markdown("Description to document the purpose of the variable and what value is expected"),
},
"sensitive": {
Constraint: schema.LiteralType{Type: cty.Bool},
DefaultValue: schema.DefaultValue{Value: cty.False},
IsOptional: true,
Description: lang.Markdown("Whether the variable contains sensitive material and should be hidden in the UI"),
},
"ephemeral": {
Constraint: schema.LiteralType{Type: cty.Bool},
IsOptional: true,
Expand Down

0 comments on commit cacce31

Please sign in to comment.