Облачная платформаEvolution

cloudru_evolution_organization_project (Resource)


Example Usage

resource "cloudru_evolution_organization_project" "resource_project" {
name = "61dad2fa-f125-4879-b58e-cfc2f856f710"
description = "4971270f-9588-40f7-9b5a-7a77b7a799cf"
organization_unit_id = "041e00ae-6bf7-4bd6-9adf-6e22d4d2fdb0"
# Позволяет переопределить дефолтный таймаут провайдера для определенного метода. Если нужно указать бесконечный таймаут, то нужно указать например 0s, тогда таймаута не будет.
timeouts {
create = "60m"
update = "30m"
delete = "20m"
}
# Игнорировать изменения таймаутов: это предотвращает лишние обновления ресурса при смене значений таймаутов в конфигурации
# Но следует учитывать, что метод delete в ресурсе читает значение таймаута из стейта и, если его нужно изменить, то этот блок стоит закомментировать
lifecycle {
ignore_changes = [timeouts]
}
}

Schema

Required

  • description (String) Описание проекта.

  • name (String) Название проекта.

  • organization_unit_id (String) Идентификатор департамента.

Optional

Read-Only

  • created_at (String) Дата создания проекта.

  • customer_id (String) Идентификатор клиента.

  • id (String) Идентификатор проекта.

  • status (String) Статус проекта.

  • updated_at (String) Дата обновления проекта.

Nested Schema for timeouts

Optional:

  • create (String) A string that can be parsed as a duration consisting of numbers and unit suffixes, such as «30s» or «2h45m». Valid time units are «s» (seconds), «m» (minutes), «h» (hours).

  • delete (String) A string that can be parsed as a duration consisting of numbers and unit suffixes, such as «30s» or «2h45m». Valid time units are «s» (seconds), «m» (minutes), «h» (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.

  • update (String) A string that can be parsed as a duration consisting of numbers and unit suffixes, such as «30s» or «2h45m». Valid time units are «s» (seconds), «m» (minutes), «h» (hours).