Skip to content

[BUG] Branch tracking on preview environment not properly enabled #331

@bartkooijman

Description

@bartkooijman

Describe the bug

When I create a project and go to the preview environment settings after creation of the project it looks like this:

Image

The branche tracking has not been enabled and for some reason the save button can be clicked (it is black instead of greyed out). We have to manually click save first, then set it to Enabled and finally save it again. It is only then that the configuration is like we want looking like this:

Image

I have not been able to find a Terraform resource or property of a resource in which you can explicitly set the branche tracking to enabled so maybe this might also be a feature request. If so, it would be nice to also be able to explicitly enable/disable branch tracking on custom environments.

To Reproduce

Create a Vercel project with Terraform.

Terraform and Vercel Provider Version

Terraform v1.11.4
on linux_amd64
+ provider registry.terraform.io/hashicorp/aws v5.98.0
+ provider registry.terraform.io/vercel/vercel v3.3.0

Additional Details

No response

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