Resource nexus_routing_rule

Use this resource to create a Nexus Routing Rule.

Example Usage

resource "nexus_routing_rule" "stop_leaks" {
  name        = "stop-leaks"
  description = "Prevent requests of internal names"
  mode        = "BLOCK"
  matchers = [
    "^/com/example/.*",
    "^/org/example/.*",
  ]
}

Schema

Required

Optional

Read-Only

Import is supported using the following syntax:

# import using the name of routing rule
terraform import nexus_routing_rule.stop_leaks stop-leaks