feat(misconf): add action block to Terraform schema (#10035)

Signed-off-by: nikpivkin <nikita.pivkin@smartforce.io>
This commit is contained in:
Nikita Pivkin
2026-01-15 01:45:48 +06:00
committed by GitHub
parent ac061f8e88
commit b06ef6d270
2 changed files with 15 additions and 0 deletions

View File

@@ -42,6 +42,17 @@ moved {
}
action "aws_lambda_invoke" "example" {
config {
function_name = "123456789012:function:my-function:1"
payload = jsonencode({
key1 = "value1"
key2 = "value2"
})
}
}
import {
to = cats_cat.mittens
id = "mittens"

View File

@@ -46,6 +46,10 @@ var Schema = &hcl.BodySchema{
Type: "ephemeral",
LabelNames: []string{"type", "name"},
},
{
Type: "action",
LabelNames: []string{"type", "name"},
},
{
Type: "moved",
},