opentelekomcloud_er_propagation_v3

Manages a propagation resource under the route table for ER service within OpenTelekomCloud.

Example Usage

variable "instance_id" {}
variable "route_table_id" {}
variable "attachment_id" {}

resource "opentelekomcloud__er_propagation_v3" "test" {
  instance_id    = var.instance_id
  route_table_id = var.route_table_id
  attachment_id  = var.attachment_id
}

Argument Reference

The following arguments are supported:

  • instance_id - (Required, String, ForceNew) Specifies the ID of the ER instance to which the route table and the attachment belongs.

  • route_table_id - (Required, String, ForceNew) Specifies the ID of the route table to which the propagation belongs.

  • attachment_id - (Required, String, ForceNew) Specifies the ID of the attachment corresponding to the propagation.

Attribute Reference

In addition to all arguments above, the following attributes are exported:

  • id - The resource ID.

  • attachment_type - The type of the attachment corresponding to the propagation.

  • status - The current status of the propagation.

  • created_at - The creation time.

  • updated_at - The latest update time.

  • region - The region where the ER instance and route table are located.

Timeouts

This resource provides the following timeouts configuration options:

  • create - Default is 5 minutes.

  • delete - Default is 2 minutes.

Import

Propagations can be imported using their id and the related instance_id and route_table_id, separated by slashes (/), e.g.

$ terraform import opentelekomcloud__er_propagation_v3.test instance_id/troute_table_id/id