azurerm
provider: Python package cdktf-cdktf-provider-azurerm extremely slow to import
#2792
Labels
bug
Something isn't working
language/python
performance
Gotta go fast
pre-built providers
Issues around pre-built providers managed at https://github.com/hashicorp/cdktf-repository-manager
priority/important-longterm
Medium priority, to be worked on within the following 1-2 business quarters.
provider/azure
Issue shows up using Azure provider
ux/configuration
Milestone
We are currently using the azurerm provider to create terraform resources. We have noticed that importing the specific resources takes ~ 45 seconds which is slowing our processes down.
Community Note
cdktf & Language Versions
Affected Provider / Resource(s)
azurerm
python Pre-Built Provider :
cdktf-cdktf-provider-azurerm = "5.0.13"
Debug Output
Expected Behavior
importing the package within a python file should be fast.
Actual Behavior
importing
cdktf-cdktf-provider-azurerm
take about 45 seconds to complete.Steps to Reproduce
Below is the source code.
Important Factoids
On running importtime against our script, here is what we found:
Are there any workarounds to speed up import time ?
The text was updated successfully, but these errors were encountered: