[Bug]: Route Table is not CAF aligned
joselcaguilar opened this issue · comments
Referencing azurerm_route_table
returns a name with prefix route
even though the official CAF documentation suggests rt
.
My suggestion is to modify the resourceDefinition.json
like this:
{
"name": "azurerm_route",
"min_length": 1,
"max_length": 80,
"validation_regex": "\"^[a-zA-Z0-9][a-zA-Z0-9-._]{0,78}[a-zA-Z0-9_]$\"",
"scope": "parent",
"slug": "route",
"dashes": true,
"lowercase": false,
"regex": "\"[^0-9A-Za-z_.-]\""
},
{
"name": "azurerm_route_table",
"min_length": 1,
"max_length": 80,
"validation_regex": "\"^[a-zA-Z0-9][a-zA-Z0-9-._]{0,78}[a-zA-Z0-9_]$\"",
"scope": "resourceGroup",
"slug": "rt",
"dashes": true,
"lowercase": false,
"regex": "\"[^0-9A-Za-z_.-]\""
},
any ETA for this issue?