Skip to content

Commit

Permalink
Added state_machine_arn when unchanged. (ansible-collections#302)
Browse files Browse the repository at this point in the history
* Added state_machine_arn when unchanged.
* Add integration test
* changelog
* Shorten role/function names in integration tests

Co-authored-by: Mark Chappell <[email protected]>
  • Loading branch information
ThePrankMonkey and tremble authored Mar 16, 2021
1 parent 3fa8dd9 commit 572274f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aws_step_functions_state_machine.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def manage_state_machine(state, sfn_client, module):
remove(state_machine_arn, sfn_client, module)

check_mode(module, msg='State is up-to-date.')
module.exit_json(changed=False)
module.exit_json(changed=False, state_machine_arn=state_machine_arn)


def create(sfn_client, module):
Expand Down

0 comments on commit 572274f

Please sign in to comment.