-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
azurerm_storage_data_lake_gen2_path: ACE support shows weird behavior #10814
Comments
Mostly for my own tracking, since I can't really find a proper reproduction scenario, but just in case someone can think of something.. Might be an artifact of 2.46.0's reordering (since ACEs became a Set there). |
I got a pretty similar bug - in case if I want to add something to ACL change is failed:
result:
|
@kharkevich - which version of the azurerm provider are you using? (and which version was the ACL originally created with?) As @favoretti mentioned, in 2.46.0 there were changes to make ACEs became a Set rather than a List |
@stuartleeks i logged this against 2.46 :) since apparently sets didn't help. |
@stuartleeks @favoretti exactly for this case is reproduced for terrafrom 0.15.0 and azurerm 2.56.0 full test case for reproducing:
|
Finally i solved this issue:
My service principal in test environment have owner permissions on subscription, but this still not enough in case of using azurerm_storage_data_lake_gen2_path In case if I add Storage Blob Data Owner permissions on service principal for this storage account, acl management works like a charm Probably we should just update documentation |
This functionality has been released in v3.39.0 of the Terraform Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
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. |
TF:
0.14.7
azurerm:
2.46.0
When running an apply on a complete codebase, plan wants changes, which are essentially just re-shuffling ace's ordering:
Apply returns an error:
Subsequent plan results in no changes required:
// cc @stuartleeks
The text was updated successfully, but these errors were encountered: