mws_vpc_route (Resource)
Последнее обновление
Маршрут — это набор правил, определяющих путь пакетов от источника к получателю
Примеры использования
Schema
Required
destination(Attributes) Назначение (see below for nested schema)network(String) Имя сетиnext_hop(Attributes) Переход (see below for nested schema)route(String) Имя маршрута
Optional
kind(String)metadata(Attributes) Набор общих для всех пользовательских объектов атрибутов. Может быть расширен атрибутами, специфичными для контейнеров (see below for nested schema)project(String) Путь к проекту.timeouts(Attributes) (see below for nested schema)
Read-Only
id(String) The ID of this resource.status(Attributes) (see below for nested schema)
Nested Schema for destination
Required:
spec(Attributes) (see below for nested schema)
Nested Schema for destination.spec
Required:
cidrs(List of String) Набор IP-Адресов подсетей назначения
Nested Schema for next_hop
Optional:
address(Attributes) Адрес (see below for nested schema)nat_gateway(String) NAT-шлюз
Read-Only:
network_local(String) Локальная сеть
Nested Schema for next_hop.address
Required:
ref(String) Ссылка на IP-Адрес назначения
Nested Schema for metadata
Optional:
description(String) Описание ресурсаdisplay_name(String) Отображаемое имя свойстваname(String, Deprecated) Обязательное уникальное, глобально или в пределах проекта, имя. Используется в качестве части составного идентификатора объекта
Read-Only:
create_time(String) Дата создания объекта
Дата в формате RFC3339. Пример: 2006-01-02T15:04:05Z07:00
delete_time(String) Время запроса на удаление ресурса
Дата в формате RFC3339. Пример: 2006-01-02T15:04:05Z07:00
id(String) ID свойстваpurge_time(String) Время удаления ресурса
Дата в формате RFC3339. Пример: 2006-01-02T15:04:05Z07:00
usages(Attributes List) Связи с другими ресурсами. В зависимости от типа связи операции над ресурсом могут быть ограничены (see below for nested schema)
Nested Schema for metadata.usages
Read-Only:
name(String) Имя связи. Требуется для модификации коллекцииresource(String) Ссылка на ресурсusage_type(String) Тип связи. Помимо стандартных “own” и “use” могут быть добавлены специализированные типы для конкретных сервисов
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
Read-Only:
destination(Attributes) (see below for nested schema)next_hop(Attributes) (see below for nested schema)ready(Attributes) Информация о статусе реконсиляции (see below for nested schema)
Nested Schema for status.destination
Read-Only:
cidrs(List of String) Набор IP-Адресов подсетей назначения
Nested Schema for status.next_hop
Read-Only:
address(Attributes) Адрес (see below for nested schema)nat_gateway(String) NAT-шлюзnetwork_local(String) Локальная сеть
Nested Schema for status.next_hop.address
Required:
ip_address(String) Значение IP адреса
IPv4- или IPv6-адрес
ref(String) Относительная ссылка на статический адрес
Nested Schema for status.ready
Read-Only:
message(String) Описание статусаstate(String) Состояние ресурса
Импорт
Импорт поддерживается с использованием следующего синтаксиса:
В Terraform v1.12.0 и новее можно использовать блок import с атрибутом identity, например:
Identity Schema
Required
network(String) Имя сетиroute(String) Имя маршрута
Optional
project(String) Путь к проекту.
В Terraform v1.5.0 и новее можно использовать блок import с атрибутом id, например:
Можно использовать команду terraform import, например: