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

cannot change environment variables after project creation #129

@omercnet

Description

@omercnet

changing project environment variables after the resource has been created fails

    error: Error updating project: Could not upsert environment variables for project prj_....., unexpected error: bad_request - Invalid request: should be object.

while the api docs say it's possible to create "one or more" if you look at the payload it accepts a single object and not an array

https://github.com/vercel/terraform-provider-vercel/blob/main/vercel/resource_project.go#L493

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