aws-cloudformation / aws-cloudformation/cloudformation-cli-go-plugin
cfn test returned model mismatch
- Dominant language
- Go
- Stars
- 53
- Forks
- 31
- PR merge metrics
- No merged PRs in 30d
Description
Hi, I am trying to create a cfn resource type in go. But the contract tests are failing on the following:
```shell
E Request Model : {'MyBoolean': False, 'MyInteger': 10}
E Returned Model : {'MyBoolean': 'false', 'MyInteger': '10'}
E Value for property MyBoolean in Request Model(False) and Response Model(false) does not match
```
In the returned model the values are strings while the input is a boolean and an integer....
They are defined as:
```json
{
"properties": {
"MyBoolean": {
"description": "My description",
"type": "boolean"
},
"MyInteger": {
"description": "My description",
"type": "integer"
}
}
}
```
Am I doing something wrong here? I am using `cfn v0.2.32`
Contributor guide
Assessment
This issue has not been assessed yet.