hashicorp / terraform-provider-aws

The AWS Provider enables Terraform to manage AWS resources.
https://registry.terraform.io/providers/hashicorp/aws
Mozilla Public License 2.0
9.85k stars 9.2k forks source link

[Enhancement]: Add RenditionConfiguration support to IVS Channel Recording Configuration #39375

Open camflan opened 2 months ago

camflan commented 2 months ago

Description

aws_ivs_recording_configuration doesn't have any control over its rendition configuration, which means we get the default transcoding options instead of the config we get from clickops

Affected Resource(s) and/or Data Source(s)

aws_ivs_recording_configuration

Potential Terraform Configuration

resource "aws_ivs_recording_configuration" "channel-recording-configuration" {
  name = local.channel_recording_configuration_name

  destination_configuration {
    s3 {
      bucket_name = module.recording-bucket.bucket_name
    }
  }

  recording_reconnect_window_seconds = 300

  rendition_configuration {
    renditions = ["SD", "HD", "FULL_HD"]
    rendition_selection = "CUSTOM"
  }

  thumbnail_configuration {
    recording_mode          = "INTERVAL"
    target_interval_seconds = 60
  }

  tags = {
    environment = local.environment
    name        = local.channel_recording_configuration_name
  }
}

References

https://docs.aws.amazon.com/ivs/latest/LowLatencyAPIReference/API_RecordingConfiguration.html https://docs.aws.amazon.com/ivs/latest/LowLatencyAPIReference/API_RenditionConfiguration.html

Would you like to implement a fix?

No

github-actions[bot] commented 2 months ago

Community Note

Voting for Prioritization

Volunteering to Work on This Issue