How to attach additional IAM policies to Step Functions
masterWhen using EventBridge with Step Functions, you may need to attach additional IAM policies to the role used by the target. The module supports 5 ways to do this:
policy_json: A single JSON string or heredoc (requiresattach_policy_json = true).policy_jsons: A list of JSON strings or heredocs (requiresattach_policy_jsons = true).policy: The ARN of an existing IAM policy (requiresattach_policy = true).policies: A list of ARNs of existing IAM policies (requiresattach_policies = true).policy_statements: A map of maps defining IAM statements that will be generated into a policy (requiresattach_policy_statements = true).