layout | page_title | description |
---|---|---|
azuredevops |
AzureDevops: azuredevops_build_folder |
Manages a Build Folder. |
Manages a Build Folder.
resource "azuredevops_project" "example" {
name = "Example Project"
visibility = "private"
version_control = "Git"
work_item_template = "Agile"
}
resource "azuredevops_build_folder" "example" {
project_id = azuredevops_project.example.id
path = "\\ExampleFolder"
description = "ExampleFolder description"
}
The following arguments are supported:
-
project_id
- (Required) The ID of the project in which the folder will be created. -
path
- (Required) The folder path.
description
- (Optional) Folder Description.
The timeouts
block allows you to specify timeouts for certain actions:
create
- (Defaults to 30 minutes) Used when creating the Build Folder.read
- (Defaults to 5 minute) Used when retrieving the Build Folder.update
- (Defaults to 30 minutes) Used when updating the Build Folder.delete
- (Defaults to 30 minutes) Used when deleting the Build Folder.
Build Folders can be imported using the project name/path
or project id/path
, e.g.
terraform import azuredevops_build_folder.example "Example Project/\\ExampleFolder"
or
terraform import azuredevops_build_folder.example 00000000-0000-0000-0000-000000000000/\\ExampleFolder