Live Inputs
resource cloudflare_stream_live_input
optional
delete_recording_after_days?: Float64
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.
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"
}
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
delete_recording_after_days: Float64
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.
cloudflare_stream_live_input
data "cloudflare_stream_live_input" "example_stream_live_input" {
account_id = "023e105f4ecef8ad9ca31a8372d0c353"
live_input_identifier = "66be4bf738797e01e1fca35a7bdecdcd"
}