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

Can't create non-sensitive vercel_project_environment_variable #183

@movinfinex

Description

@movinfinex

Hi, I'm using version 1.10.0 of your provider and v1.6.2 of OpenTofu.

With a config like this:

resource "vercel_project_environment_variable" "test" {
  project_id = vercel_project.test.id
  target     = ["preview"]
  key        = "TEST"
  value      = "value"
  sensitive  = false
}

I get this on apply:

│ Error: Provider produced inconsistent result after apply
│
│ When applying changes to vercel_project_environment_variable.test, provider
│ "provider[\"registry.opentofu.org/vercel/vercel\"]" produced an unexpected new value: .sensitive: was cty.False, but now
│ cty.True.
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.

It works if I remove sensitive = false, but then the values can't be seen in the dashboard, of course.

Are you able to reproduce this, or do you need more info from me?

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