ExtractAslFromTerraformParams
Defined in: src/types/index.ts:1285
Parameters for extractAslFromTerraform (from the sfn-diagram/terraform subpath).
Properties
Section titled “Properties”config
Section titled “config”config: string | Record<string, unknown>;Defined in: src/types/index.ts:1290
Raw Terraform configuration: HCL (.tf) text, .tf.json text, or an already-parsed
.tf.json object.
format?
Section titled “format?”format?: "auto" | "json" | "hcl";Defined in: src/types/index.ts:1292
Input format. ‘auto’ (default) treats text starting with { as .tf.json and anything else as HCL.
resourceId?
Section titled “resourceId?”resourceId?: string;Defined in: src/types/index.ts:1297
Name of the aws_sfn_state_machine resource to extract when the configuration has more
than one: the bare name (orders) or the address (aws_sfn_state_machine.orders).