#resource "aws_batch_compute_environment" "media-conversion-batch-c5-on-demand-prod-03" {
#    compute_environment_name = "media-conversion-batch-c5-on-demand-prod-03"
#    service_role             = "arn:aws:iam::638682502729:role/aws-service-role/batch.amazonaws.com/AWSServiceRoleForBatch"
#    state                    = "ENABLED"
#    tags                     = {}
#    tags_all                 = {}
#    type                     = "MANAGED"
#    lifecycle {
#        ignore_changes = [compute_resources[0].desired_vcpus]
#    }
#    compute_resources {
#        allocation_strategy = "BEST_FIT_PROGRESSIVE"
#        bid_percentage      = 0
#        desired_vcpus       = 0
#        instance_role       = "arn:aws:iam::638682502729:instance-profile/ecsInstanceRole"
#        instance_type       = [
#           "c6i.4xlarge", 
#           "c6i.8xlarge",
#        ]
#        max_vcpus           = 2048
#        min_vcpus           = 0
#        security_group_ids  = [
#            "sg-0f03bc66c1e9c7975",
#        ]
#        subnets             = [
#            "subnet-0c46bcf15c20e56d8",
#            "subnet-014ab173dc8da32a7",
#        ]
#        tags                = {
#            "Name" = "aws-batch-instance-on-demand-prod"
#        }
#        type                = "EC2"#

#        ec2_configuration {
#            image_type = "ECS_AL2"
#        }#

#        launch_template {
#            launch_template_name = "media-conversion-batch-c5-template"
#            version              = "$Latest"
#        }
#    }
#}
## aws_batch_compute_environment.media-conversion-batch-c5-emergency-:
#resource "aws_batch_compute_environment" "media-conversion-batch-c5-emergency-prod-03" {
#    compute_environment_name = "media-conversion-batch-c5-emergency-prod-03"
#    service_role             = "arn:aws:iam::638682502729:role/aws-service-role/batch.amazonaws.com/AWSServiceRoleForBatch"
#    state                    = "ENABLED"
#    tags                     = {}
#    tags_all                 = {}
#    type                     = "MANAGED"
#    lifecycle {
#        ignore_changes = [compute_resources[0].desired_vcpus]
#    }
#    compute_resources {
#        allocation_strategy = "BEST_FIT_PROGRESSIVE"
#        bid_percentage      = 0
#        desired_vcpus       = 0
#        instance_role       = "arn:aws:iam::638682502729:instance-profile/ecsInstanceRole"
#        instance_type       = [
#           "c6i.4xlarge", 
#           "c6i.8xlarge",
#        ]
#        max_vcpus           = 2048
#        min_vcpus           = 0
#        security_group_ids  = [
#            "sg-0f03bc66c1e9c7975",
#        ]
#        subnets             = [
#            "subnet-0c46bcf15c20e56d8",
#            "subnet-014ab173dc8da32a7",
#        ]
#        tags                = {
#            "Name" = "aws-batch-instance-emergeny-prod"
#        }
#        type                = "EC2"#

#        ec2_configuration {
#            image_type = "ECS_AL2"
#        }#

#        launch_template {
#            launch_template_name = "media-conversion-batch-c5-template"
#            version              = "$Latest"
#        }
#    }
#}
## aws_batch_compute_environment.media-conversion-batch-c5-spot-stage2:
#resource "aws_batch_compute_environment" "media-conversion-batch-c5-spot-prod-03" {
#    compute_environment_name = "media-conversion-batch-c5-spot-prod-03"
#    service_role             = "arn:aws:iam::638682502729:role/aws-service-role/batch.amazonaws.com/AWSServiceRoleForBatch"
#    state                    = "ENABLED"
#    tags                     = {}
#    tags_all                 = {}
#    type                     = "MANAGED"
#    lifecycle {
#        ignore_changes = [compute_resources[0].desired_vcpus]
#    }
#    compute_resources {
#        allocation_strategy = "BEST_FIT_PROGRESSIVE"
#        bid_percentage      = 50
#        desired_vcpus       = 0
#        instance_role       = "arn:aws:iam::638682502729:instance-profile/ecsInstanceRole"
#        instance_type       = [
#           "c6i.4xlarge", 
#           "c6i.8xlarge",
#        ]
#        max_vcpus           = 2048
#        min_vcpus           = 0
#        security_group_ids  = [
#            "sg-0f03bc66c1e9c7975",
#        ]
#        subnets             = [
#            "subnet-0c46bcf15c20e56d8",
#            "subnet-014ab173dc8da32a7",
#        ]
#        tags                = {
#            "Name" = "aws-batch-instance-spot-prod"
#        }
#        type                = "EC2"#

#        ec2_configuration {
#            image_type = "ECS_AL2"
#        }#

#        launch_template {
#            launch_template_name = "media-conversion-batch-c5-template"
#            version              = "$Latest"
#        }
#    }
#}#

#resource "aws_batch_compute_environment" "media-conversion-batch-c5-on-demand-lp-prod-03" {
#    compute_environment_name = "media-conversion-batch-c5-on-demand-lp-prod-03"
#    service_role             = "arn:aws:iam::638682502729:role/aws-service-role/batch.amazonaws.com/AWSServiceRoleForBatch"
#    state                    = "ENABLED"
#    tags                     = {}
#    tags_all                 = {}
#    type                     = "MANAGED"
#    lifecycle {
#        ignore_changes = [compute_resources[0].desired_vcpus]
#    }
#    compute_resources {
#        allocation_strategy = "BEST_FIT_PROGRESSIVE"
#        bid_percentage      = 0
#        desired_vcpus       = 0
#        instance_role       = "arn:aws:iam::638682502729:instance-profile/ecsInstanceRole"
#        instance_type       = [
#           "c6i.4xlarge", 
#           "c6i.8xlarge",
#        ]
#        max_vcpus           = 2048
#        min_vcpus           = 0
#        security_group_ids  = [
#            "sg-0f03bc66c1e9c7975",
#        ]
#        subnets             = [
#            "subnet-0567462d2ecbf60d8",
#            "subnet-011267639fccf7cae",
#        ]
#        tags                = {
#            "Name" = "aws-batch-instance-on-demand-lp-prod"
#        }
#        type                = "EC2"#

#        ec2_configuration {
#            image_type = "ECS_AL2"
#        }#

#        launch_template {
#            launch_template_name = "media-conversion-batch-c5-template"
#            version              = "$Latest"
#        }
#    }
#}
## aws_batch_compute_environment.media-conversion-batch-c5-emergency-:
#resource "aws_batch_compute_environment" "media-conversion-batch-c5-emergency-lp-prod-03" {
#    compute_environment_name = "media-conversion-batch-c5-emergency-lp-prod-03"
#    service_role             = "arn:aws:iam::638682502729:role/aws-service-role/batch.amazonaws.com/AWSServiceRoleForBatch"
#    state                    = "ENABLED"
#    tags                     = {}
#    tags_all                 = {}
#    type                     = "MANAGED"
#    lifecycle {
#        ignore_changes = [compute_resources[0].desired_vcpus]
#    }
#    compute_resources {
#        allocation_strategy = "BEST_FIT_PROGRESSIVE"
#        bid_percentage      = 0
#        desired_vcpus       = 0
#        instance_role       = "arn:aws:iam::638682502729:instance-profile/ecsInstanceRole"
#        instance_type       = [
#           "c6i.4xlarge", 
#           "c6i.8xlarge",
#        ]
#        max_vcpus           = 2048
#        min_vcpus           = 0
#        security_group_ids  = [
#            "sg-0f03bc66c1e9c7975",
#        ]
#        subnets             = [
#            "subnet-0567462d2ecbf60d8",
#            "subnet-011267639fccf7cae",
#        ]
#        tags                = {
#            "Name" = "aws-batch-instance-emergeny-lp-prod"
#        }
#        type                = "EC2"#

#        ec2_configuration {
#            image_type = "ECS_AL2"
#        }#

#        launch_template {
#            launch_template_name = "media-conversion-batch-c5-template"
#            version              = "$Latest"
#        }
#    }
#}
## aws_batch_compute_environment.media-conversion-batch-c5-spot-stage2:
#resource "aws_batch_compute_environment" "media-conversion-batch-c5-spot-lp-prod-03" {
#    compute_environment_name = "media-conversion-batch-c5-spot-lp-prod-03"
#    service_role             = "arn:aws:iam::638682502729:role/aws-service-role/batch.amazonaws.com/AWSServiceRoleForBatch"
#    state                    = "ENABLED"
#    tags                     = {}
#    tags_all                 = {}
#    type                     = "MANAGED"
#    lifecycle {
#        ignore_changes = [compute_resources[0].desired_vcpus]
#    }
#    compute_resources {
#        allocation_strategy = "BEST_FIT_PROGRESSIVE"
#        bid_percentage      = 50
#        desired_vcpus       = 0
#        instance_role       = "arn:aws:iam::638682502729:instance-profile/ecsInstanceRole"
#        instance_type       = [
#           "c6i.4xlarge", 
#           "c6i.8xlarge",
#        ]
#        max_vcpus           = 2048
#        min_vcpus           = 0
#        security_group_ids  = [
#            "sg-0f03bc66c1e9c7975",
#        ]
#        subnets             = [
#            "subnet-0567462d2ecbf60d8",
#            "subnet-011267639fccf7cae",
#        ]
#        tags                = {
#            "Name" = "aws-batch-instance-spot-lp-prod"
#        }
#        type                = "EC2"#

#        ec2_configuration {
#            image_type = "ECS_AL2"
#        }#

#        launch_template {
#            launch_template_name = "media-conversion-batch-c5-template"
#            version              = "$Latest"
#        }
#    }
#}
