diff --git a/internal/services/keyvault/key_vault_certificate_resource.go b/internal/services/keyvault/key_vault_certificate_resource.go index 4be43df2b010..9f3c47afe4d5 100644 --- a/internal/services/keyvault/key_vault_certificate_resource.go +++ b/internal/services/keyvault/key_vault_certificate_resource.go @@ -666,7 +666,7 @@ func keyVaultCertificateCreationRefreshFunc(ctx context.Context, client *keyvaul return operation, "Provisioning", nil } - if *operation.Status == "completed" { + if strings.EqualFold(*operation.Status, "completed") { return operation, "Ready", nil }