gantrycd_default_runner_group (Resource)
Sets the organization’s default runner group: the group that serves a stack’s deployments when no gantrycd:runner-group:* label selects a more specific one. Singleton per org — declare at most one of this resource per provider configuration.
Example Usage
resource "gantrycd_runner_group" "standard" {
name = "standard"
labels = { tier = "standard" }
}
# Org-wide singleton: serves any stack whose labels do not select a more
# specific runner group. Declare at most one per provider configuration.
resource "gantrycd_default_runner_group" "this" {
runner_group_id = gantrycd_runner_group.standard.id
}
Schema
Required
runner_group_id(String) Id of an existing gantrycd_runner_group to set as the org’s default for stacks whose labels don’t match a more specific runner-group selector.
Read-Only
id(String) Set to the provider’s org_id. Carries no other meaning; this resource is a singleton.identity_realm(String) Identity realm inherited from the configured provider.
Import
Import is supported using the following syntax:
The terraform import command can be used, for example:
# The singleton's id is the organization id.
terraform import gantrycd_default_runner_group.this org_01HXXXXXXXXXXXXXXXXXXXXXXX