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

cloudru_evolution_iam_group (Resource)


Example Usage

resource "cloudru_evolution_iam_group" "resource_group" {
name = "d1ad8d6f-c8f7-4e6f-9bd5-04c8a3183331"
description = "3051d939-3656-4ade-be58-6e46fdeb1d7d"
target = {
# Нужно заполнить одно из значений - customer_id, project_id.
customer_id = "00366ff3-77a2-4324-b00a-1041d06cf446"
project_id = "4564c7b4-4b7c-46f8-844e-aa1d918d472b"
}
ldap_attributes = {
distinguished_name = "e6d1d85f-d613-474b-ae82-e52a6d871d90"
provider_id = "67a8ec28-2a5f-4060-a7ab-5f1c2e206566"
}
# Позволяет переопределить дефолтный таймаут провайдера для определенного метода. Если нужно указать бесконечный таймаут, то нужно указать например 0s, тогда таймаута не будет.
timeouts {
create = "60m"
update = "30m"
delete = "20m"
}
# Игнорировать изменения таймаутов: это предотвращает лишние обновления ресурса при смене значений таймаутов в конфигурации
# Но следует учитывать, что метод delete в ресурсе читает значение таймаута из стейта и, если его нужно изменить, то этот блок стоит закомментировать
lifecycle {
ignore_changes = [timeouts]
}
}

Schema

Required

  • name (String) Name - название группы.

  • target (Attributes) Target - сущность, к которой относится группа. (see below for nested schema)

Optional

  • description (String) Description - описание группы.

  • ldap_attributes (Attributes) LDAPAttributes - LDAP атрибуты группы. (see below for nested schema)

  • timeouts (Block, Optional) (see below for nested schema)

Read-Only

  • created_at (String) CreatedAt - дата создания группы.

  • id (String) ID - идентификатор группы.

  • updated_at (String) UpdatedAt - дата обновления группы.

Nested Schema for target

Optional:

  • customer_id (String) CustomerID - идентификатор организации, если группа создана на уровне организации.

  • project_id (String) ProjectID - идентификатор проекта, если группа создана на уровне проекта.

Nested Schema for ldap_attributes

Required:

  • distinguished_name (String) DistinguishedName - LDAP distinguished name группы.

  • provider_id (String) ProviderID - идентификатор LDAP провайдера.

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).