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.83k stars 9.17k forks source link

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

Open camflan opened 1 month ago

camflan commented 1 month 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 1 month ago

Community Note

Voting for Prioritization

Volunteering to Work on This Issue