module "ar_to_ddb_sync_dynamodb_table" {
  source = "git@github.com:theorchard/terraform-dynamodb.git//?ref=3.3.1"

  env                   = var.environment
  application_family    = var.application_family
  table_name            = "${var.environment}-vector-orders"
  hash_key              = "order_id"
  use_custom_table_name = true
  custom_table_name     = "${var.environment}-vector-orders"

  attribute = [
    {
      name = "order_id"
      type = "S"
    }
  ]
}
