Skip to content

Commit 7749ef2

Browse files
committed
Replace default values with computed
1 parent deaabec commit 7749ef2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

internal/provider/resource_gitlab_runner.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,19 +46,19 @@ The runner will be registered at a group level if the token used is from a group
4646
Description: `Whether the runner should ignore new jobs.`,
4747
Type: schema.TypeBool,
4848
Optional: true,
49-
Default: gitlab.Bool(false),
49+
Computed: true,
5050
},
5151
"locked": {
5252
Description: `Whether the runner should be locked for current project.`,
5353
Type: schema.TypeBool,
5454
Optional: true,
55-
Default: gitlab.Bool(false),
55+
Computed: true,
5656
},
5757
"run_untagged": {
5858
Description: `Whether the runner should handle untagged jobs.`,
5959
Type: schema.TypeBool,
6060
Optional: true,
61-
Default: gitlab.Bool(true),
61+
Computed: true,
6262
},
6363
"tag_list": {
6464
Description: `List of runner’s tags.`,
@@ -71,7 +71,7 @@ The runner will be registered at a group level if the token used is from a group
7171
Type: schema.TypeString,
7272
Optional: true,
7373
ValidateFunc: validation.StringInSlice(runnerAccessLevelAllowedValues, true),
74-
Default: "not_protected",
74+
Computed: true,
7575
},
7676
"maximum_timeout": {
7777
Description: `Maximum timeout set when this runner handles the job.`,

0 commit comments

Comments
 (0)