alicloud_vod_editing_project

Provides a VOD Editing Project resource.

For information about VOD Editing Project and how to use it, see What is Editing Project.

Example Usage

Basic Usage

variable "name" {
  default = "tfexample"
}
data "alicloud_regions" "default" {
  current = true
}
resource "alicloud_vod_editing_project" "example" {
  editing_project_name = var.name
  title                = var.name
  timeline             = <<EOF
  {
    "VideoTracks":[
      {
        "VideoTrackClips":[
          {
          "MediaId":"0c60e6f02dae71edbfaa472190a90102",
          "In":2811
          }
        ]
      }
    ]
  }
  EOF
  cover_url            = "https://demo.aliyundoc.com/6AB4D0E1E1C74468883516C2349D1FC2-6-2.png"
  division             = data.alicloud_regions.default.regions.0.id
}
  {
    "VideoTracks":[
      {
        "VideoTrackClips":[
          {
          "MediaId":"0c60e6f02dae71edbfaa472190a90102",
          "In":2811
          }
        ]
      }
    ]
  }
  EOF
  cover_url            = "https://demo.aliyundoc.com/6AB4D0E1E1C74468883516C2349D1FC2-6-2.png"
  division             = data.alicloud_regions.default.regions.0.id
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

Timeouts

The timeouts block allows you to specify timeouts for certain actions:

Import

VOD Editing Project can be imported using the id, e.g.

$ terraform import alicloud_vod_editing_project.example <id>