mws_iam_hmac_key (Resource)
Заголовок раздела «mws_iam_hmac_key (Resource)»HMAC-ключ (англ. Hash-based Message Authentication Code) — это статический ключ, необходимый для аутентификации сервисного аккаунта в AWS-совместимом API
Пример использования
Заголовок раздела «Пример использования»resource "mws_iam_service_account" "example" { service_account = var.service_account_name}
resource "mws_iam_hmac_key" "example" { key_name = var.hmac_key_name service_account = mws_iam_service_account.example.service_account
metadata = { display_name = "Example HMAC Key" }}
variable "service_account_name" { type = string default = "my-test-service-account" description = "Service account name"}
variable "hmac_key_name" { type = string default = "my-test-hmac-key" description = "HMAC Key name"}Required
Заголовок раздела «Required»key_name(String)service_account(String)
Optional
Заголовок раздела «Optional»expiration_time(String) Время истечения срока действия ключа.kind(String)metadata(Attributes) (see below for nested schema)project(String) Путь к проектуtimeouts(Attributes) (see below for nested schema)
Read-Only
Заголовок раздела «Read-Only»id(String) The ID of this resource.status(Attributes) (see below for nested schema)
Nested Schema for metadata
Заголовок раздела «Nested Schema for metadata»Optional:
description(String) Описание ресурса.display_name(String) Отображаемое имя. Необязательное поле, можно свободно задавать и изменять для удобства организации ресурсов.
Read-Only:
create_time(String) Дата создания объекта.delete_time(String) Время запроса на удаление ресурса (не фактическое время удаления).id(String) ID свойстваpurge_time(String)usages(Attributes List) Связи с другими ресурсами. В зависимости от типа связи, операции над ресурсом могут быть ограничены. (see below for nested schema)
Nested Schema for metadata.usages
Заголовок раздела «Nested Schema for metadata.usages»Read-Only:
name(String) Имя связи, требуется для модификации коллекцииresource(String) ссылка на ресурсusage_type(String) Тип связи. Помимо стандартных own и use могут быть добавлены специализированные типы для конкретных сервисов
Nested Schema for timeouts
Заголовок раздела «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).
Nested Schema for status
Заголовок раздела «Nested Schema for status»Read-Only:
access_key_id(String) Идентификатор ключа (readOnly).last_auth_time(String) Время последней аутентификации.ready(Attributes) Информация о статусе реконсиляции (see below for nested schema)secret_access_key(String, Sensitive) HMAC-ключ (readOnly).
Nested Schema for status.ready
Заголовок раздела «Nested Schema for status.ready»Read-Only:
message(String) Описание статусаstate(String) Состояние ресурса