Step Functions
Terraform module to create AWS Step Functions
Inputs
40 / 42
attach_cloudwatch_logs_policyoptionalboolControls whether CloudWatch Logs policy should be added to IAM role for Lambda Function
trueattach_policiesoptionalboolControls whether list of policies should be added to IAM role
falseattach_policies_for_integrationsoptionalboolWhether to attach AWS Service policies to IAM role
trueattach_policyoptionalboolControls whether policy should be added to IAM role
falseattach_policy_jsonoptionalboolControls whether policy_json should be added to IAM role
falseattach_policy_jsonsoptionalboolControls whether policy_jsons should be added to IAM role
falseattach_policy_statementsoptionalboolControls whether policy_statements should be added to IAM role
falseaws_region_assume_roleoptionalstringName of AWS regions where IAM role can be assumed by the Step Function
""cloudwatch_log_group_kms_key_idoptionalstringThe ARN of the KMS Key to use when encrypting log data.
nullcloudwatch_log_group_nameoptionalstringName of Cloudwatch Logs group name to use.
nullcloudwatch_log_group_retention_in_daysoptionalnumberSpecifies the number of days you want to retain log events in the specified log group. Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1827, and 3653.
nullcloudwatch_log_group_tagsoptionalmap(string)A map of tags to assign to the resource.
{}createoptionalboolWhether to create Step Function resource
truecreate_roleoptionalboolWhether to create IAM role for the Step Function
truedefinitionoptionalstringThe Amazon States Language definition of the Step Function
""encryption_configurationoptionalanyDefines what encryption configuration is used to encrypt data in the State Machine.
{}logging_configurationoptionalmap(string)Defines what execution history events are logged and where they are logged
{}nameoptionalstringThe name of the Step Function
""number_of_policiesoptionalnumberNumber of policies to attach to IAM role
0number_of_policy_jsonsoptionalnumberNumber of policies JSON to attach to IAM role
0policiesoptionallist(string)List of policy statements ARN to attach to IAM role
[]policyoptionalstringAn additional policy document ARN to attach to IAM role
nullpolicy_jsonoptionalstringAn additional policy document as JSON to attach to IAM role
nullpolicy_jsonsoptionallist(string)List of additional policy documents as JSON to attach to IAM role
[]policy_pathoptionalstringPath of IAM policies to use for Step Function
nullpolicy_statementsoptionalanyMap of dynamic policy statements to attach to IAM role
{}publishoptionalboolDetermines whether to set a version of the state machine when it is created.
falseregionoptionalstringRegion where the resource(s) will be managed. Defaults to the region set in the provider configuration
nullrole_arnoptionalstringThe Amazon Resource Name (ARN) of the IAM role to use for this Step Function
""role_descriptionoptionalstringDescription of IAM role to use for Step Function
nullrole_force_detach_policiesoptionalboolSpecifies to force detaching any policies the IAM role has before destroying it.
truerole_nameoptionalstringName of IAM role to use for Step Function
nullrole_pathoptionalstringPath of IAM role to use for Step Function
nullrole_permissions_boundaryoptionalstringThe ARN of the policy that is used to set the permissions boundary for the IAM role used by Step Function
nullrole_tagsoptionalmap(string)A map of tags to assign to IAM role
{}service_integrationsoptionalanyMap of AWS service integrations to allow in IAM role policy
{}sfn_state_machine_timeoutsoptionalmap(string)Create, update, and delete timeout configurations for the step function.
{}tagsoptionalmap(string)Maps of tags to assign to the Step Function
{}trusted_entitiesoptionallist(string)Step Function additional trusted entities for assuming roles (trust relationship)
[]typeoptionalstringDetermines whether a Standard or Express state machine is created. The default is STANDARD. Valid Values: STANDARD | EXPRESS
STANDARDAll 42 are optional — the module deploys with none of them set. Showing 40, so the site stays a static download — the remaining 2 are in the source.
Outputs
10
cloudwatch_log_group_arnThe ARN of the CloudWatch log group created for the Step Function
cloudwatch_log_group_nameThe name of the CloudWatch log group created for the Step Function
role_arnThe ARN of the IAM role created for the Step Function
role_nameThe name of the IAM role created for the Step Function
state_machine_arnThe ARN of the Step Function
state_machine_creation_dateThe date the Step Function was created
state_machine_idThe ARN of the Step Function
state_machine_nameThe Name of the Step Function
state_machine_statusThe current status of the Step Function
state_machine_version_arnThe ARN of state machine version
What the agent wires into the next module. An edge on the architecture diagram is one of these consumed by something else.