azurermkeyvaultinvalidsku_name

April 29, 2026 ยท View on GitHub

Warns about values that appear to be invalid based on azure-rest-api-specs.

Allowed values are:

  • standard
  • premium

Example

resource "azurerm_key_vault" "foo" {
  sku_name = ... // invalid value
}
$ tflint
1 issue(s) found:

Error: "..." is an invalid value as sku_name (azurerm_key_vault_invalid_sku_name)

  on template.tf line 2:
  2:   sku_name = ... // invalid value

Reference: https://github.com/terraform-linters/tflint-ruleset-azurerm/blob/v0.1.0/docs/rules/azurerm_key_vault_invalid_sku_name.md

Why

Requests containing invalid values will return an error when calling the API by terraform apply.

How to Fix

Replace the warned value with a valid value.

Source

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.

https://github.com/Azure/azure-rest-api-specs/tree/main/specification/keyvault/resource-manager/Microsoft.KeyVault/KeyVault/stable/2023-02-01/keyvault.json