Skip to content

Step Function Invoker Module

Usage Example

```hcl locals { src_path = "../../../src" }

module "run_migrations" { source = "path_to_module"

state_machine_arn = module.ecs_migration_task.state_machine_arn trigger_hash = sha1(join("", [for f in fileset(path.module, "${local.src_path}/**"): filesha1("${path.module}/${local.src_path}/${f}")])) }

Inputs

Name Description Type Default Required
state_machine_arn The ARN of the Step Function state machine string n/a yes
state_machine_input The input to the Step Function state machine string "{}" no
trigger_hash The hash of the trigger string null no