-
Notifications
You must be signed in to change notification settings - Fork 302
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
v3.0.1 consuming huge amount of memory with pre-existing v.2.53.1 tfstate #1514
Comments
My provider file is case is relevant required_providers { } backend "azurerm" { } provider "azurerm" { provider "azuread" { |
I tested with a fresh new tfstate v3.0.1 and 1 group with 2 users, and it exhausted 16 GB RAM test.tf
error message
|
We are noticing this exact same behavior with this latest version of azure_ad provider. |
Same here, only azuread_group is displaying this behavior for us. |
I already posted this behaviour a few days ago here #1507 |
Ok, thank you. I will close this issue as duplicated with #1507 |
Community Note
Terraform (and AzureAD Provider) Version
Affected Resource(s)
azuread_3.0.1
terraform 1.9.7
Terraform Configuration Files
My terraform configuration files consist of 181 groups with an average of 30 users per group.
It worked ok with v.2.53.1 of the provider in a VM with 16 GB.
Debug Output
N/A
Panic Output
N/A
Expected Behavior
After upgrading to provider 3.0.1 I added up just 1 user to any group, run
And the user should be provisioned.
Actual Behavior
With my original VM where I ran previously (v.2.53.1) the given configuration I got a gRPC error related to lack of memory (I verified with the top command)
If I increase the VM RAM to 128 GB, it takes a while, but in the end, the VM's memory is exhausted.
Steps to Reproduce
Having a huge configuration of groups and users 180+, migrate the provider from v.2.53.1 to v.3.0.1
terraform apply
Important Factoids
N/A
References
The text was updated successfully, but these errors were encountered: