Open tombuildsstuff opened 6 years ago
@joshgav do you know who to contact on the service team about this?
@darshanhs90 can you please take a look?
@darshanhs90 is there any update available here? :)
@tombuildsstuff this is because the custom roles are cached ,and hence the data replication takes some time for it to be available everywhere. So there is no workaround at the current moment
@darshanhs90 ok, thanks.. is there a rough duration for the cache to replicate? This way we can ensure we wait for at least this amount of time (and until the response is consistent once this has been done). Thanks!
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @armleads-azure.
Author: | tombuildsstuff |
---|---|
Assignees: | darshanhs90 |
Labels: | `ARM - RBAC`, `Service Attention` |
Milestone: | - |
:wave:
Terraform recently added support for managing Role Definitions (which uses the Azure API's via the Azure SDK for Go).
Generally speaking this works well - however we've discovered that the Read/GET API is eventually consistent for Updates - as shown in the following API Responses which were taken ~10 seconds apart:
Request 1:
Request 2:
Request 3:
Request 4:
Whilst we can look into checking the
UpdatedOn
field as a workaround in the short-term - would it be possible to look into fixing the API so that it's consistent across API responses? I feel this API in particular needs to be consistent seeing as it's Identity/Security related?Thanks!