Yandex Cloud
Search
Contact UsGet started
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • AI for business
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
© 2025 Direct Cursus Technology L.L.C.
Terraform in Yandex Cloud
  • Getting started
  • Solution library
    • Overview
    • Release notes
          • gitlab_instance

In this article:

  • Example usage
  • Schema
  • Optional
  • Read-Only
  • Nested Schema for timeouts
  1. Terraform reference
  2. Resources
  3. Managed Service for GitLab
  4. Data Sources
  5. gitlab_instance

yandex_gitlab_instance (Data Source)

Written by
Yandex Cloud
Updated at August 7, 2025
  • Example usage
  • Schema
    • Optional
    • Read-Only
    • Nested Schema for timeouts

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>"
}

SchemaSchema

OptionalOptional

  • approval_rules_id (String) Approval rules configuration. One of: NONE, BASIC, STANDARD, ADVANCED.
  • approval_rules_token (String, Sensitive) Approval rules token.
  • deletion_protection (Boolean) The true value means that resource is protected from accidental deletion.
  • description (String) The resource description.
  • folder_id (String) The folder identifier that resource belongs to. If it is not provided, the default provider folder-id is used.
  • id (String) The resource identifier.
  • labels (Map of String) A set of key/value label pairs which assigned to resource.
  • maintenance_delete_untagged (Boolean) The true value means that untagged images will be deleted during maintenance.
  • timeouts (Block, Optional) (see below for nested schema)

Read-OnlyRead-Only

  • admin_email (String) An email of admin user in Gitlab.
  • admin_login (String) A login of admin user in Gitlab.
  • backup_retain_period_days (Number) Auto backups retain period in days.
  • created_at (String) The creation timestamp of the resource.
  • disk_size (Number) Amount of disk storage available to a instance in GB.
  • domain (String) Domain of the Gitlab instance.
  • gitlab_version (String) Version of Gitlab on instance.
  • name (String) The resource name.
  • resource_preset_id (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 (String) Status of the instance.
  • subnet_id (String) ID of the subnet where the GitLab instance is located.
  • updated_at (String) The timestamp when the instance was updated.

Nested Schema for Nested Schema for timeouts

Was the article helpful?

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