» flexibleengine_csbs_backup_v1

Provides an FlexibleEngine Backup of Resources.

» Example Usage

 variable "backup_name" { }
 variable "resource_id" { }

 resource "flexibleengine_csbs_backup_v1" "backup_v1" {
   backup_name = "${var.backup_name}"
   resource_id = "${var.resource_id}"
   resource_type = "OS::Nova::Server"
 }

» Argument Reference

The following arguments are supported:

  • backup_name - (Optional) Name for the backup. The value consists of 1 to 255 characters and can contain only letters, digits, underscores (_), and hyphens (-). Changing backup_name creates a new backup.

  • description - (Optional) Backup description. The value consists of 0 to 255 characters and must not contain a greater-than sign (>) or less-than sign (<). Changing description creates a new backup.

  • resource_id - (Required) ID of the target to which the backup is restored. Changing this creates a new backup.

  • resource_type - (Optional) Type of the target to which the backup is restored. The default value is OS::Nova::Server for an ECS. Changing this creates a new backup.

» Attributes Reference

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

» Import

Backup can be imported using backup_record_id, e.g.

$ terraform import flexibleengine_csbs_backup_v1.backup_v1.backup_v1 7056d636-ac60-4663-8a6c-82d3c32c1c64