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

The CloudFormation Resource Provider Package For AWS CloudFormation
https://aws.amazon.com/cloudformation/
Apache License 2.0
47 stars 35 forks source link

[ModuleVersion] Fix intermittent contract test failures by renaming schema.json #114

Closed MalikAtalla-AWS closed 1 year ago

MalikAtalla-AWS commented 1 year ago

Description of changes:

There appears to be a bug that confuses the schema.json file, which is meant for a Module, with the resource schema. The contract tests end up trying to register a resource with a module schema which obviously fails. I tested this first by running the contract tests in my personal account then by deploying this to our gamma environments and confirmed that the intermittent (but quite frequent) issue does not appear anymore.

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