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

Fix tagging contract tests #32

Closed jormello closed 2 years ago

jormello commented 2 years ago

Description of changes: After adding the Tagging property to the resource schema in #29 , contract tests for state machine's tagging capability started running instead of being skipped. These tests expect the contract test inputs to include tags in order to validate the tagging behaviour of the resource.

This change adds the Tags property to the create and update contract test inputs for the state machine resource. The invalid input does not require tags, as it is not part of the tagging contract tests.

This activity resource's contract test inputs already have the Tags property, so no update is needed there.

Testing: Successfully ran cfn test --enforceTimeout 240 for the state machine resource.

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