mws_vpc_external_address (Resource)
Внешний адрес — IP-адрес, который используется для связи ресурсов с интернетом
Пример использования
terraform
resource "mws_vpc_external_address" "vm_external_address" {
external_address = var.external_address_name
}
variable "external_address_name" {
type = string
default = "my-test-external-address"
description = "External address name"
}Schema
Required
external_address(String) Имя внешнего IP-адреса
Optional
kind(String)metadata(Attributes) Метаданные внешнего адреса. (see below for nested schema)nat_gateway(String) Шлюз, к которому относится адрес. Если шлюз не указан, для трансляции IP-адресов используется шлюз по умолчанию для выхода в интернет (ref=natGateways/internet-gateway, vrfId=555)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 metadata
Optional:
description(String) Описание ресурсаdisplay_name(String) Отображаемое имя свойстваname(String, Deprecated) Обязательное уникальное, глобально или в пределах проекта, имя. Используется в качестве части составного идентификатора объекта.
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
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:
active(Boolean) Состояние внешнего адреса активен или не активен.ip_address(String) Присвоенный адрес.ready(Attributes) Информация о статусе реконсиляции (see below for nested schema)
Nested Schema for status.ready
Read-Only:
message(String) Описание статусаstate(String) Состояние ресурса