这是indexloc提供的服务,不要输入任何密码
Skip to content

Error inconsistent result after apply #138

@jiri-dxheroes

Description

@jiri-dxheroes

I am having problems with the vercel_deployment. Here is the full error message:

│ Error: Provider produced inconsistent result after apply
│ 
│ When applying changes to vercel_deployment.deploy, provider
│ "provider[\"registry.terraform.io/vercel/vercel\"]" produced an unexpected
│ new value: .team_id: was null, but now
│ cty.StringVal(<MY_TEAM_ID>).
│ 
│ This is a bug in the provider, which should be reported in the provider's
│ own issue tracker.

Funny thing is that the deployment goes through and the project goes live into production, but it cancels my pipeline, which sucks.

I tried rerunning my old pipelines, which used to work, but they now fail too, so I am fairly certain this is not an issue in my code.

I am using this terraform configuration for this:

terraform {
  required_providers {
    vercel = {
      source  = "vercel/vercel"
      version = "~> 0.4"
    }
  }
}

provider "vercel" {
  api_token = var.vercel_account_token
  team      = var.vercel_team_id
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions