-
Notifications
You must be signed in to change notification settings - Fork 31
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Hey!
It looks like it is not possible to use "../"
as the project root directory which contradicts with the documentation at the provider's docs.
However, using an additional path after the upward path, e.g. "../foo"
seems to work.
data "vercel_project_directory" "foo" {
path = "../"
}
resource "vercel_deployment" "foo" {
project_id = vercel_project.foo.id
files = data.vercel_project_directory.foo.files
production = true
project_settings = {
root_directory = "../"
}
}
Could not create deployment, unexpected error: invalid_root_directory - If defined, the Root
Directory must be a relative path not starting with `./` and not including `../` or other special
characters.
I often hold my terraform files in a separate folder in my repository while keeping the app at root so this is a bit problematic as I would need to change folder structure. I can work with it for now but I assume this is a bug?
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working