aws-cloudformation / cloudformation-cli

The CloudFormation Provider Development Toolkit allows you to author your own resource providers and modules that can be used by CloudFormation.
Apache License 2.0
316 stars 158 forks source link

fix(contract): added regex for JSON string formats date-time, date, time, and email #930

Closed mmaeng closed 1 year ago

mmaeng commented 1 year ago

Part of Issue #118 :

cfn was throwing Key Error during cfn test when using valid JSON string format types. e.g. "date-time" which is one of the examples generated during cfn init

added regex for

date-time date time email

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.