layout | page_title | sidebar_current | description |
---|---|---|---|
teamcity |
TeamCity: project |
docs-teamcity-resource-project |
Provides a TeamCity Project resource. |
Provides a TeamCity Project resource.
resource "teamcity_project" "default" {
parent = "_Root"
name = "default-project"
parameter {
name = "env.TEAMCITY_PASSWORD"
type = "password"
}
parameter {
name = "env.TEST"
type = "text"
validation_mode = "not_empty"
label = "Test framework"
description = "Name of the test framework to use"
}
parameter_values {
env.TEST = "Hello"
env.EXAMPLE = "Hush Hush"
}
}
The following arguments are supported:
name
- (Required) Name of the Project.project
- (Optional) ID of the Project the Project resides within. Defaults to_Root
description
- (Optional) Description of the Project.parameter
- (Optional) parameter/s defined for the Project.parameter_values
- (Optional) parameter value/s defined for the Project.
The following attributes are exported:
id
- The Project IDname
- The name of the Projectproject
- ID of the Project the Project resides within.description
- Description of the Project.
Projects can be imported using the id
, e.g.
$ terraform import teamcity_project.default DefaultProject