I used \'null_resource\' and pass aws cli to \'local-exec\' to update stepfunction:
resource "null_resource" "enable_step_function_xray" { t