Live Inputs
resource cloudflare_stream_live_input
optional
Indicates the number of days after which the live inputs recordings will be deleted. When a stream completes and the recording is ready, the value is used to calculate a scheduled deletion date for that recording. Omit the field to indicate no change, or include with a null value to remove an existing scheduled deletion.
A user modifiable key-value store used to reference other systems of record for managing live inputs.
cloudflare_stream_live_input
resource "cloudflare_stream_live_input" "example_stream_live_input" {
account_id = "023e105f4ecef8ad9ca31a8372d0c353"
default_creator = "defaultCreator"
delete_recording_after_days = 45
enabled = true
meta = {
name = "test stream 1"
}
prefer_low_latency = true
recording = {
allowed_origins = ["example.com"]
hide_live_viewer_count = false
mode = "off"
require_signed_urls = false
timeout_seconds = 0
}
}
data cloudflare_stream_live_input
required
computed
Indicates the number of days after which the live inputs recordings will be deleted. When a stream completes and the recording is ready, the value is used to calculate a scheduled deletion date for that recording. Omit the field to indicate no change, or include with a null value to remove an existing scheduled deletion.
The date and time the live input keys were last rotated. Omitted for live inputs that have never had their keys rotated.
cloudflare_stream_live_input
data "cloudflare_stream_live_input" "example_stream_live_input" {
account_id = "023e105f4ecef8ad9ca31a8372d0c353"
live_input_identifier = "66be4bf738797e01e1fca35a7bdecdcd"
}