Resource
dcloud_ci_runner_group
A runner group: which runs self-hosted CI runners in it may take (repositories, refs, protected branches only, pull requests). Runners holding deploy credentials belong in a group with protected_refs_only.
Example Usage
resource "dcloud_ci_runner_group" "deploy" {
name = "deploy"
protected_refs_only = true
allow_pull_requests = false
}Schema
Required
name(String) Name of the group, 1 to 100 characters: letters, digits, spaces, . _ -, starting with a letter or digit; unique in the organization (409). Up to 100 characters.
Optional
allow_pull_requests(Boolean) Whether pull-request runs reach it; on when omittedprotected_refs_only(Boolean) Only branches covered by a branch protection rule; for runners that hold deploy credentials. Off when omittedrefs(List of String) Ref globs it serves (main,release/*,refs/tags/v*), up to 50 of up to 200 characters (letters, digits, * . _ / -); omitted or empty: any refrepository_ids(List of String) Repositories the group serves, up to 500, each a repository of this organization (404 otherwise); null or omitted: every repository.
Read-Only
id(String) The resource's id.
Generated from the provider's schema.
Related