yandex_gitlab_instance (DataSource)
Written by
Updated at February 9, 2026
Managed Gitlab instance.
Example usage
//
// Get information about GitLab instance by id
//
data "yandex_gitlab_instance" "gitlab_instance_by_id" {
id = "<gitlab-instance-id>"
}
Arguments & Attributes Reference
admin_email(Required)(String). An email of admin user in Gitlab.admin_login(Required)(String). A login of admin user in Gitlab.approval_rules_id(Required)(String). Approval rules configuration. One of: NONE, BASIC, STANDARD, ADVANCED.approval_rules_token(String). Approval rules token.backup_retain_period_days(Required)(Number). Auto backups retain period in days.created_at(Read-Only) (String). The creation timestamp of the resource.deletion_protection(Bool). Thetruevalue means that resource is protected from accidental deletion.description(String). The resource description.disk_size(Required)(Number). Amount of disk storage available to a instance in GB.domain(Required)(String). Domain of the Gitlab instance.folder_id(String). The folder identifier that resource belongs to. If it is not provided, the default providerfolder-idis used.gitlab_version(Read-Only) (String). Version of Gitlab on instance.id(Read-Only) (String). The resource identifier.labels(Map Of String). A set of key/value label pairs which assigned to resource.maintenance_delete_untagged(Bool). Thetruevalue means that untagged images will be deleted during maintenance.name(Required)(String). The resource name.resource_preset_id(Required)(String). ID of the preset for computational resources available to the instance (CPU, memory etc.). One of: s2.micro, s2.small, s2.medium, s2.large.status(Read-Only) (String). Status of the instance.subnet_id(Required)(String). ID of the subnet where the GitLab instance is located.updated_at(Read-Only) (String). The timestamp when the instance was updated.