aztfmod / terraform-provider-azurecaf

Terraform provider for the Terraform platform engineering for Azure
MIT License
174 stars 93 forks source link

[Bug]: Route Table is not CAF aligned #186

Open joselcaguilar opened 2 years ago

joselcaguilar commented 2 years ago

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_.-]\""
    },
ppodevlabs commented 1 year ago

any ETA for this issue?