-
Notifications
You must be signed in to change notification settings - Fork 468
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
contributor permission recreated #551
Comments
We get the same thing every time we plan/apply. module.aks.azurerm_role_assignment.application_gateway_resource_group_reader will be re-created every time (known after apply) |
For some reason the value of the terraform-azurerm-aks/role_assignments.tf Line 42 in 4729aee
@gevraud in your actual plan what do you see instead of "bbbb" ? Does the value actually change? |
I confirm I was able to reproduce the problem on 8.0.0 but not on 9.0.0 or 9.1.0. |
It is working properly in 9.0.0 and newer versions because since the version 9.0.0 there is this change: 6abee9e from PR #554 AKS had a change in the default behaviour that caused a state drift. When using 8.0.0 you should have also the following on top of the proposed plan:
Those identity ids change propagate into the problem described in this issue. Could you please try to reproduce on version 9.1.0 and confirm the problem is fixed ? thanks |
I created permission without the module. I don't use the module permission anymore. Regards |
Is there an existing issue for this?
Greenfield/Brownfield provisioning
greenfield
Terraform Version
1.8.2
Module Version
8.0.0
AzureRM Provider Version
3.101
Affected Resource(s)/Data Source(s)
azurerm_resource_group_template_deployment
Terraform Configuration Files
tfvars variables values
Debug Output/Panic Output
Expected Behaviour
no recreation should happen
Actual Behaviour
it recreates the permission each time Terraform is running
Steps to Reproduce
No response
Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered: