azure_preview_modules
azure_preview_modules copied to clipboard
The lookup plugin azure_keyvault_secret is very slow on a non-Azure VM
It looks like these codes are used to determine whether it is running on an Azure VM https://github.com/Azure/azure_preview_modules/blob/master/lookup_plugins/azure_keyvault_secret.py#L102 But it caused a performance issue on non-Azure VM. The user has to wait until the HTTP request timeout
This is a really big problem for us. Normally this response should return really quickly so at minimum, please set a timeout of e.g. 5 seconds. Currently a simple lookup is taking 2 minutes!