GithubHelp home page GithubHelp logo

Comments (8)

dglsparsons avatar dglsparsons commented on June 9, 2024 1

He @DavidS-ovm, thanks for raising this. It looks like a provider bug around the vercel_project data source. - I'll investigate and hopefully have a fix out soon 🙏

from terraform-provider-vercel.

DavidS-ovm avatar DavidS-ovm commented on June 9, 2024

Thanks for the quick reply.

It looks like a provider bug around the vercel_project data source.

Yup, we're using the vercel_project data source.

from terraform-provider-vercel.

dglsparsons avatar dglsparsons commented on June 9, 2024

Hi @DavidS-ovm, this should be fixed in v1.9.1 of the provider. Please upgrade and feel free to re-open this if the issue continues 🙏

from terraform-provider-vercel.

DavidS-ovm avatar DavidS-ovm commented on June 9, 2024

A slight improvement:

Error: Value Conversion Error
  with data.vercel_project.frontend,
  on frontend.tf line 18, in data "vercel_project" "frontend":
  18: data "vercel_project" "frontend" ***
An unexpected error was encountered trying to convert from struct into an
object. This is always an error in the provider. Please report the following
to the provider developer:
Mismatch between struct and object type: Struct defines fields not found in
object: deploy_hooks.
Struct: vercel.GitRepository
Object type: types.ObjectType["production_branch":basetypes.StringType,
"repo":basetypes.StringType, "type":basetypes.StringType]
Error: Value Conversion Error
  with data.vercel_project.docs-overmind-tech,
  on frontend.tf line 22, in data "vercel_project" "docs-overmind-tech":
  22: data "vercel_project" "docs-overmind-tech" ***
An unexpected error was encountered trying to convert from struct into an
object. This is always an error in the provider. Please report the following
to the provider developer:
Mismatch between struct and object type: Struct defines fields not found in
object: deploy_hooks.
Struct: vercel.GitRepository
Object type: types.ObjectType["production_branch":basetypes.StringType,
"repo":basetypes.StringType, "type":basetypes.StringType]
Releasing state lock. This may take a few moments...
Error: Process completed with exit code 1.

from terraform-provider-vercel.

DavidS-ovm avatar DavidS-ovm commented on June 9, 2024

PS: I don't have enough permissions on this repo to re-open issues

from terraform-provider-vercel.

dglsparsons avatar dglsparsons commented on June 9, 2024

Oh no. I'm not sure why i can't reproduce these issues myself. I think you perhaps have an old project that doesn't match what the API is expected to return.

from terraform-provider-vercel.

dglsparsons avatar dglsparsons commented on June 9, 2024

Ah, i was able to reproduce this one. Fix coming soon.

from terraform-provider-vercel.

dglsparsons avatar dglsparsons commented on June 9, 2024

Okay @DavidS-ovm, that should be fixed in v1.9.2. 🙏
Again, just let me know if there are any issues.

from terraform-provider-vercel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.