This module allows you to create Nexus Routing as a global resource and individual Nexus Routing resources. For individual examples, see the usage snippets and examples.
You need use a Nexus provider.
provider "nexus" {
insecure = true
password = "admin123"
url = "https://127.0.0.1:8080"
username = "admin"
}
nexus-routing
:
module "nexus_routing" {
source = "devops-ia/routing/nexus"
nexus_routing_rule = [
{
name = "stop-leaks"
description = "Prevent requests of internal names"
mode = "BLOCK"
matchers = [
"^/com/example/.*",
"^/org/example/.*",
]
},
]
}
nexus-routing-rule
:
module "nexus_routing_rule" {
source = "devops-ia/routing/nexus//modules/nexus-routing-rule"
name = "stop-leaks"
description = "Prevent requests of internal names"
mode = "BLOCK"
matchers = [
"^/com/example/.*",
"^/org/example/.*",
]
}
Name | Version |
---|---|
terraform | >= 1.3.0 |
nexus | >= 2.0.0 |
No providers.
Name | Source | Version |
---|---|---|
nexus_routing_rule | ./modules/nexus-routing-rule | n/a |
No resources.
Name | Description | Type | Default | Required |
---|---|---|---|---|
nexus_routing_rule | Routing Rule. | list(object({ |
[] |
no |
Name | Description |
---|---|
routing_rule_name | The name of the routing rule. |
Module is maintained by DevOps IA with help from these awesome contributors.