aws-cloudformation / aws-cloudformation-resource-providers-stepfunctions

The CloudFormation Resource Provider Package For AWS Step Functions
https://aws.amazon.com/step-functions/
Apache License 2.0
6 stars 4 forks source link

Update state machine read handler to return all properties #25

Closed jormello closed 2 years ago

jormello commented 2 years ago

Description of changes: This change updates the State Machine resource's ReadHandler logic to include all of the resource model's property in the response. This involves adding a ListTagsForResource call to fetch the State Machine's tags.

Updated the existing happy path unit test and added a new unit test to cover the ListTagsForResource call failing.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.