Yandex Cloud
Documentation
PresentationContact UsTry it for free
© 2026 Direct Cursus Technology L.L.C.
Terraform in Yandex Cloud
  • Getting started
  • Setting up Yandex Cloud Terraform provider authentication
  • Solution library
    • Overview
    • Release notes
          • gitlab_instance

In this article:

  • Example usage
  • Arguments & Attributes Reference
  1. Terraform reference
  2. Resources
  3. Managed Service for Gitlab
  4. Data Sources
  5. gitlab_instance

yandex_gitlab_instance (DataSource)

Written by
Yandex Cloud
Updated at September 23, 2026
View in Markdown
  • Example usage
  • Arguments & Attributes Reference

Managed Gitlab instance.

Example usageExample usage

//
// Get information about GitLab instance by id
//
data "yandex_gitlab_instance" "gitlab_instance_by_id" {
  id = "<gitlab-instance-id>"
}

Arguments & Attributes ReferenceArguments & Attributes Reference

  • admin_email (Read-Only) (String). An email of admin user in Gitlab.
  • admin_login (Read-Only) (String). A login of admin user in Gitlab.
  • approval_rules_id (String). Approval rules configuration. One of: NONE, BASIC, STANDARD, ADVANCED.
  • approval_rules_token (String). Approval rules token.
  • backup_retain_period_days (Read-Only) (Number). Auto backups retain period in days.
  • created_at (Read-Only) (String). The creation timestamp of the resource.
  • deletion_protection (Bool). The true value means that resource is protected from accidental deletion.
  • description (String). The resource description.
  • disk_size (Read-Only) (Number). Amount of disk storage available to a instance in GB.
  • domain (Read-Only) (String). Domain of the Gitlab instance.
  • folder_id (String). The folder identifier that resource belongs to. If it is not provided, the default provider folder-id is used.
  • gitlab_version (Read-Only) (String). Version of Gitlab on instance.
  • id (String). The resource identifier.
  • labels (Map Of String). A set of key/value label pairs which assigned to resource.
  • maintenance_delete_untagged (Bool). The true value means that untagged images will be deleted during maintenance.
  • name (Read-Only) (String). The resource name.
  • resource_preset_id (Read-Only) (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 (Read-Only) (String). ID of the subnet where the GitLab instance is located.
  • updated_at (Read-Only) (String). The timestamp when the instance was updated.
  • timeouts [Block].

Was the article helpful?

Previous
mdb_clickhouse_user
Next
gitlab_instance
© 2026 Direct Cursus Technology L.L.C.