Skip to content

Commit

Permalink
fix servicebus namespace slug
Browse files Browse the repository at this point in the history
the servicebus namespace slug coming from naming module when using module.naming.servicebus_namespace.name is not allowing by the Azure when creating an resource, with an error stating, "name" cannot end with a hyphen, -sb, or -mgmt
│ 
│   with module.service_bus.azurerm_servicebus_namespace.this,
│   on .terraform/modules/service_bus/main.tf line 3, in resource "azurerm_servicebus_namespace" "this":
│    3:   name                          = var.name
  • Loading branch information
GirishMaddineni authored Aug 15, 2024
1 parent 5c19ec2 commit 3cef6a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resourceDefinition.json
Original file line number Diff line number Diff line change
Expand Up @@ -1767,7 +1767,7 @@
},
"regex": "^(?=.{6,50}$)[a-zA-Z][a-zA-Z0-9-]+[a-zA-Z0-9]$",
"scope": "global",
"slug": "sb",
"slug": "sbus",
"dashes": true
},
{
Expand Down

0 comments on commit 3cef6a5

Please sign in to comment.