Skip to content

Commit

Permalink
Add sumo- prefix to roles (SumoLogic#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
msuterski authored Aug 10, 2020
1 parent 8cdda2d commit b75e565
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/role/main.tf
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
locals {
name = replace(var.name, "/", "-")
name = "sumo-${replace(var.name, "/", "-")}"
}

resource "sumologic_role" "sumo-role" {
name = local.name
description = "${var.name} role (Managed by Terraform)"
description = "${local.name} role (Managed by Terraform)"
filter_predicate = var.search_filter
capabilities = var.capabilities
}
Expand Down

0 comments on commit b75e565

Please sign in to comment.