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

Error: Provider produced inconsistent result after apply #56

@taylorsteiger-rad

Description

@taylorsteiger-rad

Hi,

When trying to perform a terraform apply with a new Vercel Project with public_source = false, I got the following error:
Screen Shot 2022-08-22 at 14 03 00

Below is the resource that was attempted to be created (environment has a list of vars not included):

resource "vercel_project" "ecom-storefront" {
  name      = "ecom-storefront-1"
  framework = "nextjs"
  git_repository = {
    type = "github"
    repo = "a-github-repo"
  }
  team_id                    = "a-team-id"
  serverless_function_region = "iad1"
  install_command            = "npm install -g npm-cli-login && npm-cli-login && npm install"
  public_source              = false
  environment = []
}

Steps Taken to Debug:

  1. Verify terraform fmt -check
  2. Verify terraform validate
  3. Verify latest Provider version (using ~> 0.7)
  4. Retry terraform apply (destroy works as expected, creation fails again)

Details from terraform version:

Terraform v1.2.6
on darwin_amd64
+ provider registry.terraform.io/hashicorp/aws v4.27.0
+ provider registry.terraform.io/vercel/vercel v0.7.0

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