You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are currently using azapi_resource for our keyvault. Upon upgrading the provider from 1.12.1 to 1.13.0 and 1.13.1, we encounter an issue which has this error:
##[error][TerraformClient]: Terraform command finished with errors: ╷
│ Error: Invalid configuration
│
│ with module.keyvault.azapi_resource.key_vault,
│ on tempSource/akv.tf line 5, in resource "azapi_resource" "key_vault":
│ 5: resource "azapi_resource" "key_vault" {
│
│ embedded schema validation failed: the argument "body" is invalid:
│ name is invalid, string does not match pattern ^[a-zA-Z0-9-]{3,24}$
│ You can try to update azapi provider to the latest version or disable the validation using the feature flag schema_validation_enabled = false within the resource block
╵
We are adding random string in our keyvault name which has the following configuration:
When we remove the ${random_string.akv_suffix.result} or disabling the schema validation, the plan stage succeeds. We really want to add the schema validation to our module and this was working previously in 1.12.1. Can anyone help us with this issue?
The text was updated successfully, but these errors were encountered:
We are currently using azapi_resource for our keyvault. Upon upgrading the provider from 1.12.1 to 1.13.0 and 1.13.1, we encounter an issue which has this error:
We are adding random string in our keyvault name which has the following configuration:
When we remove the ${random_string.akv_suffix.result} or disabling the schema validation, the plan stage succeeds. We really want to add the schema validation to our module and this was working previously in 1.12.1. Can anyone help us with this issue?
The text was updated successfully, but these errors were encountered: