# resource "aws_instance" "i-071156f3f25f1f632" {
#   ami                  = "ami-0a4db9a52c0047857"
#   instance_type        = "m5.2xlarge"
#   iam_instance_profile = "sme-media-conversion-dev-gen"
#   vpc_security_group_ids = [
#     "sg-036937cacb1bdae59",
#     "sg-0ebc0dbc2d92324a6"
#   ]
#   availability_zone = "eu-central-1a"
#   key_name          = "bastionkp"
#   tags = merge(
#     var.common_tags,
#     {
#       Name        = "mcond-vantage-server01",
#       Environment = "Dev",
#       SERVER_TYPE = "EC2",
#       OS          = "WIN-2016",
#       ME-Joined   = "NO"
#     }
#   )
#   lifecycle {
#     ignore_changes = [user_data]
#   }
# }


# resource "aws_instance" "i-078f80d5a6b2262e9" {
#   ami                  = "ami-0203e1f4e10f78261"
#   instance_type        = "m5.large"
#   iam_instance_profile = "mcond-wipadmin"
#   vpc_security_group_ids = [
#     "sg-96a09aff"
#   ]
#   availability_zone = "eu-central-1a"
#   key_name          = "mc-key-dev-01"
#   tags = merge(
#     var.common_tags,
#     {
#       Name           = "mcond-logstash01",
#       Environment    = "Dev",
#       SERVER_TYPE    = "EC2",
#       OS             = "AL2",
#       "Patch Group"  = "General",
#       CLOPS_APPROVED = "YES"
#     }
#   )
#   lifecycle {
#     ignore_changes = [user_data]
#   }
# }

resource "aws_instance" "i-035421f2a91bd593d" {
  # checkov:skip=CKV_AWS_8: EBS encryption not configured for this legacy EC2 instance
  # checkov:skip=CKV_AWS_79: IMDSv2 not enforced for this legacy EC2 instance
  # checkov:skip=CKV_AWS_126: Detailed monitoring not enabled for this legacy EC2 instance
  # checkov:skip=CKV_AWS_135: EBS optimization not configured for this legacy EC2 instance
  ami                  = "ami-0144c22e721262052"
  instance_type        = "m5.4xlarge"
  iam_instance_profile = "sme-media-conversion-dev-gen"
  vpc_security_group_ids = [
    "sg-036937cacb1bdae59",
    "sg-0ebc0dbc2d92324a6"
  ]
  availability_zone = "eu-central-1a"
  key_name          = "bastionkp"
  tags = merge(
    var.common_tags,
    {
      "Name"           = "mcond-vantage-server02",
      "Environment"    = "Dev",
      "SERVER_TYPE"    = "EC2",
      "OS"             = "Windows",
      "Patch Group"    = "General",
      "Business-Unit"  = "AOMA-Conversion",
      "Project-Code"   = "SME-2000-0306C",
      "Project-Name"   = "Media-Conversion",
      "CLOPS_APPROVED" = "YES",
      "ME-Joined"      = "NO",
      "OPS"            = "STND",
      "DATA"           = "NORMAL",
      "Owner"          = "mandar.padsalgikar@sonymusic.com",
      "Terraform"      = "True",
      "CLOPS_FW"       = "NO",
      "map-migrated"   = "migKNBMDMW06I"
    }
  )
  lifecycle {
    ignore_changes = [user_data]
  }
}


resource "aws_instance" "i-0941d9ebafdf873b9" {
  # checkov:skip=CKV_AWS_79: IMDSv2 not enforced for this legacy EC2 instance
  # checkov:skip=CKV_AWS_126: Detailed monitoring not enabled for this legacy EC2 instance
  ami                                  = "ami-05faae16a98384037"
  associate_public_ip_address          = false
  availability_zone                    = "eu-central-1a"
  disable_api_stop                     = false
  disable_api_termination              = false
  ebs_optimized                        = true
  get_password_data                    = false
  hibernation                          = false
  iam_instance_profile                 = "sme-media-conversion-dev-gen"
  instance_initiated_shutdown_behavior = "stop"
  instance_type                        = "m5.xlarge"
  key_name                             = "bastionkp"
  monitoring                           = false
  placement_partition_number           = 0
  private_ip                           = "172.29.6.92"
  secondary_private_ips                = []
  security_groups                      = []
  source_dest_check                    = true
  subnet_id                            = "subnet-bbbaeed2"
  tags = {
    Business-Unit  = "AOMA-Conversion"
    CLOPS_APPROVED = "YES"
    CLOPS_FW       = "NO"
    DATA           = "NORMAL"
    Environment    = "Dev"
    ME-Joined      = "NO"
    Name           = "mcond-vidchecker-server03"
    OPS            = "STND"
    OS             = "Windows"
    Owner          = "mandar.padsalgikar@sonymusic.com"
    "Patch Group"  = "General"
    Project-Code   = "SME-2000-0306C"
    Project-Name   = "Media-Conversion"
    SERVER_TYPE    = "EC2"
    Terraform      = "False"
  }
  tags_all = {
    Business-Unit  = "AOMA-Conversion"
    CLOPS_APPROVED = "YES"
    CLOPS_FW       = "NO"
    DATA           = "NORMAL"
    Environment    = "Dev"
    ME-Joined      = "NO"
    Name           = "mcond-vidchecker-server03"
    OPS            = "STND"
    OS             = "Windows"
    Owner          = "mandar.padsalgikar@sonymusic.com"
    "Patch Group"  = "General"
    Project-Code   = "SME-2000-0306C"
    Project-Name   = "Media-Conversion"
    SERVER_TYPE    = "EC2"
    Terraform      = "False"
  }
  tenancy                = "default"
  vpc_security_group_ids = ["sg-036937cacb1bdae59", "sg-0ebc0dbc2d92324a6"]
  capacity_reservation_specification {
    capacity_reservation_preference = "open"
  }
  cpu_options {
    core_count       = 2
    threads_per_core = 2
  }
  ebs_block_device {
    delete_on_termination = false
    device_name           = "xvdb"
    encrypted             = true
    iops                  = 3000
    kms_key_id            = "arn:aws:kms:eu-central-1:104858398257:key/36334355-f4ed-48d6-943d-4ebb10ae26de"
    snapshot_id           = "snap-0a4f348fdcc5908e5"
    tags                  = {}
    throughput            = 125
    volume_size           = 500
    volume_type           = "gp3"
  }
  enclave_options {
    enabled = false
  }
  maintenance_options {
    auto_recovery = "default"
  }
  metadata_options {
    http_endpoint               = "enabled"
    http_put_response_hop_limit = 1
    http_tokens                 = "optional"
    instance_metadata_tags      = "disabled"
  }
  private_dns_name_options {
    enable_resource_name_dns_a_record    = false
    enable_resource_name_dns_aaaa_record = false
    hostname_type                        = "ip-name"
  }
  root_block_device {
    delete_on_termination = true
    encrypted             = true
    iops                  = 3000
    kms_key_id            = "arn:aws:kms:eu-central-1:104858398257:key/36334355-f4ed-48d6-943d-4ebb10ae26de"
    tags                  = {}
    throughput            = 125
    volume_size           = 100
    volume_type           = "gp3"
  }
}


# __generated__ by Terraform
