resource "aws_ecr_repository" "jodconverter-repo" {
  # checkov:skip=CKV_AWS_136:Ensure that ECR repositories are encrypted using KMS
  force_delete         = null
  image_tag_mutability = "MUTABLE"
  name                 = "jodconverter"
  tags = {
    "Business-Unit" = "GRPS"
    "Environment"   = "Dev"
    "Project-Code"  = "2000-0497G"
    "Project-Name"  = "GRPS"
  }
  tags_all = {
    "Business-Unit" = "GRPS"
    "Environment"   = "Dev"
    "Project-Code"  = "2000-0497G"
    "Project-Name"  = "GRPS"
  }
  encryption_configuration {
    encryption_type = "AES256"
    kms_key         = null
  }
  image_scanning_configuration {
    scan_on_push = true
  }
}

resource "aws_ecr_repository" "akita" {
  # checkov:skip=CKV_AWS_136:Ensure that ECR repositories are encrypted using KMS
  force_delete         = null
  image_tag_mutability = "MUTABLE"
  name                 = "akita"
  tags = {
    "Business-Unit" = "GRPS"
    "Environment"   = "prod"
    "Project-Code"  = "2000-0497G"
    "Project-Name"  = "GRPS"
  }
  tags_all = {
    "Business-Unit" = "GRPS"
    "Environment"   = "prod"
    "Project-Code"  = "2000-0497G"
    "Project-Name"  = "GRPS"
  }
  encryption_configuration {
    encryption_type = "AES256"
    kms_key         = null
  }
  image_scanning_configuration {
    scan_on_push = true
  }
}