resource "aws_ecr_repository" "txmgr-vault-service" {
  # checkov:skip=CKV_AWS_136: Ensure that ECR repositories are encrypted using KMS
  provider             = aws.eu-central-1
  force_delete         = null
  image_tag_mutability = "MUTABLE"
  name                 = "txmgr-vault-service"
  tags                 = {}
  tags_all             = {}
  encryption_configuration {
    encryption_type = "AES256"
    kms_key         = null
  }
  image_scanning_configuration {
    scan_on_push = true
  }
}

resource "aws_ecr_repository" "aoma-amazoncorretto" {
  # checkov:skip=CKV_AWS_136: Ensure that ECR repositories are encrypted using KMS
  provider             = aws.eu-central-1
  force_delete         = null
  image_tag_mutability = "MUTABLE"
  name                 = "aoma-amazoncorretto"
  tags                 = {}
  tags_all             = {}
  encryption_configuration {
    encryption_type = "AES256"
    kms_key         = null
  }
  image_scanning_configuration {
    scan_on_push = true
  }
}

resource "aws_ecr_repository" "aomap-txmgr-tpc-checker" {
  # checkov:skip=CKV_AWS_136: Ensure that ECR repositories are encrypted using KMS
  provider             = aws.eu-central-1
  force_delete         = null
  image_tag_mutability = "MUTABLE"
  name                 = "aomap-txmgr-tpc-checker"
  tags                 = {}
  tags_all             = {}
  encryption_configuration {
    encryption_type = "AES256"
    kms_key         = null
  }
  image_scanning_configuration {
    scan_on_push = true
  }
}