I have a terraform script something like below.
resource "aws_sfn_state_machine" "sfn_state_machine" { name = "my-state-machine