» baiducloud_cds_attachment

Provide a resource to create a CDS attachment, can attach a CDS volume with instance.

» Example Usage

resource "baiducloud_cds_attachment" "default" {
  cds_id      = "v-FJjJeTiG"
  instance_id = "i-tgZhS50C"

» Argument Reference

The following arguments are supported:

  • cds_id - (Required, ForceNew) CDS volume ID
  • instance_id - (Required, ForceNew) The ID of Instance which will attach CDS volume

» Attributes Reference

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

» Import

CDS attachment can be imported, e.g.

$ terraform import baiducloud_cds_attachment.default id