Enable AWS S3 IA with terraform

resource "aws_s3_bucket_lifecycle_configuration" "video_service" {
  bucket = "video-record-${terraform.workspace}"
 
  rule {
    id = "transition_to_intelligent_tiering"
    status = "${var.video_record_s3_transition_to_intelligent_tiering_status}"
    transition {
      storage_class= "INTELLIGENT_TIERING"
    }
  }
}

We should not use the terraform resource aws_s3_bucket_intelligent_tiering_configuration, because this configuration is used for moving objects to ARCHIVE_ACCESS or DEEP_ARCHIVE_ACCESS.

See https://github.com/hashicorp/terraform-provider-aws/issues/24010.