Warns about values that appear to be invalid based on azure-rest-api-specs.
In this rule, the string must match the regular expression `^[a-zA-Z0-9][a-zA-Z0-9-_]{0,127}$``.
resource "azurerm_netapp_volume" "foo" {
account_name = ... // invalid value
}
$ tflint
1 issue(s) found:
Error: "..." does not match valid pattern ^[a-zA-Z0-9][a-zA-Z0-9\-_]{0,127}$ (azurerm_netapp_volume_invalid_account_name)
on template.tf line 2:
2: account_name = ... // invalid value
Reference: https://github.com/terraform-linters/tflint-ruleset-azurerm/blob/v0.1.0/docs/rules/azurerm_netapp_volume_invalid_account_name.md
Requests containing invalid values will return an error when calling the API by terraform apply
.
Replace the warned value with a valid value.
This rule is automatically generated from azure-rest-api-specs. If you are uncertain about the warning, check the following API schema referenced by this rule.