aws-cloudformation / cloudformation-cli-go-plugin

The CloudFormation Provider Development Toolkit Go Plugin allows you to autogenerate Go code based on an input schema.
52 stars 31 forks source link

Fix unstringifying of large integers #198

Closed kadrach closed 2 years ago

kadrach commented 3 years ago

Seeing errors in the handler when trying to unmarshal a model containing "large" integers.

Message: Unable to complete request: Marshaling: Unable to convert type
caused by: strconv.ParseInt: parsing "4294967294": value out of range

The use of 32 in strconv.ParseInt strikes me as a typo.

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