forked from Cardfree/terraform-provider-teamcity
-
Notifications
You must be signed in to change notification settings - Fork 0
/
test2.tf
42 lines (33 loc) · 767 Bytes
/
test2.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
resource "teamcity_project" "default" {
name = "default-project"
parameter {
name = "env.READ_ONLY"
type = "text"
read_only = true
# validation_mode = "any"
}
}
resource "teamcity_build_configuration" "default" {
project = "${teamcity_project.default.id}"
name = "default-build-configuration"
parameter {
allow_multiple = "false"
name = "secure-string"
type = "password"
}
parameter_values {
foo = "bar"
}
step {
type = "simpleRunner"
name = "second"
properties = {
script.content = "echo 'Terraform'"
use.custom.script = "true"
}
}
}
resource "teamcity_agent_pool_attachment" "foo" {
pool = "123"
project = "${teamcity_project.default.id}"
}