resource "aws_athena_database" "track_playlist_history_db" {
  name   = replace(module.track_playlist_history_bucket.bucket.id, "-", "_")
  bucket = module.track_playlist_history_bucket.bucket.id
}

resource "aws_athena_database" "hot_hits_history_db" {
  name   = replace(module.hot_hits_history_bucket.bucket.id, "-", "_")
  bucket = module.hot_hits_history_bucket.bucket.id
}

resource "aws_athena_database" "update_playlist_digest_db" {
  name   = replace(module.update_playlist_digest_bucket.bucket.id, "-", "_")
  bucket = module.update_playlist_digest_bucket.bucket.id
}
