locals {
  normalized_team_name = replace(lower(var.name), "/[^a-z0-9]/", "-")
}

resource "sentry_team" "this" {
  name         = local.normalized_team_name
  organization = var.organization
}
