terraform-provider-netlify icon indicating copy to clipboard operation
terraform-provider-netlify copied to clipboard

API Error After Enabling GitHub App

Open azohra opened this issue 5 years ago • 0 comments

Hey,

WIll flesh this out when I get a bit more time but wanted to call out that there appears to be a change required in the provider as a result of a breaking change in the Netlify API.

I get this error in terraform plan & terraform apply after installing the Netlify GitHub App for a site made by terraform:

Error: json: cannot unmarshal number into Go struct field RepoInfo.installation_id of type string

Found these posts which provide goodcontext:

  1. https://github.com/netlify/open-api/issues/162
  2. https://community.netlify.com/t/502-cannot-unmarshal-number-into-go-struct-field-apigatewayproxyresponse-multivalueheaders/16350

azohra avatar Sep 02 '20 04:09 azohra