-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
terraform execution in westeurope is slow #5067
Comments
Hi, @ahelal. I reproduced the issue and I found terraform get slower to deploy for the region where terraform is called at. I run your code on both regions
I also try it from my local machine(East China), there isn't any significant performance difference between these two regions. Besides, I did some tracing works and found when TF deploys to the same region( TF forces the security rules be created one by one and the same issue also happens to other resources, so totally the script takes much more time then in other region. |
Hi @ahelal, I'm sorry that you are having these issues with azure provisioning times. However from a provider perspective we are calling the same API endpoints with only the |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks! |
Community Note
Terraform (and AzureRM Provider) Version
Affected Resource(s)
All
Terraform Configuration Files
https://gist.github.com/ahelal/e0fdaa02cb9ad7da9bfcde97e03acdd1
Expected Behavior
I run the code on two regions
westus2
andwesteurope
from VM on azure I expect execution time to be smiler.Actual Behavior
westeurope
is way slower with a factor of 2 - 3I have a jobs running in a CI in both location
westeurope
is always slower. I also run it from my laptop with smiler results.Steps to Reproduce
time terraform apply --var location=westeurope
andtime terraform apply --var location=westus2
./run-test.sh
References
The text was updated successfully, but these errors were encountered: