# Suggested application groups of the run (written by stacktoit). Run f6267c3f-2848-4aa5-89df-5fee8b15b3b9 · source digest sha256:812c5ae3f6cc8530163abbf5b6fbe305ed3b363c4886ec6b87623db857ea0c70
# These groups are a reading of the source (workloads, references, application tags), NOT a statement of yours. Every entry is `review: proposed`,
# and nothing in this file is applied until you edit it: a proposed entry claims no unit and counts as no answer.
#   - to ADOPT a group change `review: proposed` to `review: confirmed` (you may rename it, correct the selectors, add owners or an environment);
#   - to DISMISS a group change it to `review: rejected`, or delete the entry;
#   - then pass the file back with --applications, or keep it as review/applications.yaml.
# Selectors list the addresses of the group's members. A unit that more than one group reaches is shared: it is listed in a comment, never as a member.
# `proposals` records which suggestion an entry came from (id and the digest of its members); do not edit it.
applications:

  # carts - ECS_SERVICE, confidence MEDIUM, anchor module.retail_app_ecs.module.carts_service.aws_ecs_service.this
  # The references of the source make the group; no application tag confirms it.
  # shared with other groups, not members: module.dependencies.module.dynamodb_carts.aws_dynamodb_table.this, module.retail_app_ecs.aws_cloudwatch_log_group.ecs_tasks
  - id: "carts"
    name: "carts"
    review: proposed
    proposals:
      - id: "carts"
        members_sha256: "sha256:de06f8aeb74fd51bc7629421a42d2ae1a5a20ed6494d053986c16ae1d1f70a7c"
    selectors:
      - "module.retail_app_ecs.module.carts_service.aws_ecs_service.this"
      - "module.retail_app_ecs.module.carts_service.aws_iam_role.task_execution_role"
      - "module.retail_app_ecs.module.carts_service.aws_iam_role.task_role"
      - "module.retail_app_ecs.module.carts_service.aws_security_group.this"

  # catalog - ECS_SERVICE, confidence MEDIUM, anchor module.retail_app_ecs.module.catalog_service.aws_ecs_service.this
  # The references of the source make the group; no application tag confirms it.
  # shared with other groups, not members: module.dependencies.module.catalog_rds.aws_rds_cluster.this, module.dependencies.module.catalog_rds.aws_security_group.this, module.retail_app_ecs.aws_cloudwatch_log_group.ecs_tasks, module.retail_app_ecs.aws_kms_key.cmk, module.retail_app_ecs.aws_secretsmanager_secret.catalog_db, module.retail_app_ecs.aws_secretsmanager_secret.catalog_opensearch, module.retail_app_ecs.module.catalog_service.aws_security_group.this
  - id: "catalog"
    name: "catalog"
    review: proposed
    proposals:
      - id: "catalog"
        members_sha256: "sha256:9b15241ad84b5b72c61a48327087eee2ee4686914314462facc6efe58bf43ec8"
    selectors:
      - "module.dependencies.aws_security_group.catalog_opensearch_sg"
      - "module.dependencies.module.catalog_opensearch.aws_opensearch_domain.this"
      - "module.retail_app_ecs.module.catalog_service.aws_ecs_service.this"
      - "module.retail_app_ecs.module.catalog_service.aws_iam_role.task_execution_role"
      - "module.retail_app_ecs.module.catalog_service.aws_iam_role.task_role"

  # checkout - ECS_SERVICE, confidence MEDIUM, anchor module.retail_app_ecs.module.checkout_service.aws_ecs_service.this
  # The references of the source make the group; no application tag confirms it.
  # shared with other groups, not members: module.dependencies.module.dynamodb_carts.aws_dynamodb_table.this, module.retail_app_ecs.aws_cloudwatch_log_group.ecs_tasks
  - id: "checkout"
    name: "checkout"
    review: proposed
    proposals:
      - id: "checkout"
        members_sha256: "sha256:cdb909a243ba354d196a29bb4caa9857972152a634359224b33b343fee8c597e"
    selectors:
      - "module.dependencies.module.checkout_elasticache_redis.aws_elasticache_replication_group.default"
      - "module.dependencies.module.checkout_elasticache_redis.module.aws_security_group.aws_security_group.cbd"
      - "module.retail_app_ecs.module.checkout_service.aws_ecs_service.this"
      - "module.retail_app_ecs.module.checkout_service.aws_iam_role.task_execution_role"
      - "module.retail_app_ecs.module.checkout_service.aws_iam_role.task_role"
      - "module.retail_app_ecs.module.checkout_service.aws_security_group.this"

  # orders - ECS_SERVICE, confidence MEDIUM, anchor module.retail_app_ecs.module.orders_service.aws_ecs_service.this
  # The references of the source make the group; no application tag confirms it.
  # shared with other groups, not members: module.dependencies.module.catalog_rds.aws_rds_cluster.this, module.dependencies.module.catalog_rds.aws_security_group.this, module.retail_app_ecs.aws_cloudwatch_log_group.ecs_tasks, module.retail_app_ecs.aws_kms_key.cmk, module.retail_app_ecs.aws_secretsmanager_secret.catalog_db, module.retail_app_ecs.aws_secretsmanager_secret.catalog_opensearch, module.retail_app_ecs.module.catalog_service.aws_security_group.this
  - id: "orders"
    name: "orders"
    review: proposed
    proposals:
      - id: "orders"
        members_sha256: "sha256:8529308f0b3d03c6ed25ce7d38b7f589f55ad8279c67b11ed55e0ffb37471bca"
    selectors:
      - "module.dependencies.aws_mq_broker.mq"
      - "module.dependencies.aws_security_group.mq"
      - "module.dependencies.module.orders_rds.aws_rds_cluster.this"
      - "module.dependencies.module.orders_rds.aws_security_group.this"
      - "module.retail_app_ecs.aws_secretsmanager_secret.mq"
      - "module.retail_app_ecs.aws_secretsmanager_secret.orders_db"
      - "module.retail_app_ecs.module.orders_service.aws_ecs_service.this"
      - "module.retail_app_ecs.module.orders_service.aws_iam_role.task_execution_role"
      - "module.retail_app_ecs.module.orders_service.aws_iam_role.task_role"
      - "module.retail_app_ecs.module.orders_service.aws_security_group.this"

  # ui - ECS_SERVICE, confidence MEDIUM, anchor module.retail_app_ecs.module.ui_service.aws_ecs_service.this
  # The references of the source make the group; no application tag confirms it.
  # shared with other groups, not members: module.retail_app_ecs.aws_cloudwatch_log_group.ecs_tasks
  - id: "ui"
    name: "ui"
    review: proposed
    proposals:
      - id: "ui"
        members_sha256: "sha256:b60d5f3839fe1df0117500eb4da78b1503eba7542355c39919b4b74a2e89e8cf"
    selectors:
      - "module.retail_app_ecs.module.alb.aws_lb.this"
      - "module.retail_app_ecs.module.alb.aws_security_group.this"
      - "module.retail_app_ecs.module.alb_sg.aws_security_group.this_name_prefix"
      - "module.retail_app_ecs.module.ui_service.aws_ecs_service.this"
      - "module.retail_app_ecs.module.ui_service.aws_iam_role.task_execution_role"
      - "module.retail_app_ecs.module.ui_service.aws_iam_role.task_role"
      - "module.retail_app_ecs.module.ui_service.aws_security_group.this"
