[AVM Module Issue]: wait_for_rbac_before_contact_operations running before rbac added #177
Open
1 task done
Labels
Language: Terraform 🌐
This is related to the Terraform IaC language
Needs: Triage 🔍
Maintainers need to triage still
Status: Response Overdue 🚩
When an issue/PR has not been responded to for X amount of days
Type: Bug 🐛
Something isn't working
Check for previous/existing GitHub issues
Issue Type?
Bug
(Optional) Module Version
0.9.1
(Optional) Correlation Id
No response
Description
using similar code to issue 169 (however in a much larger project), this is not always reproduceable on every terraform apply, however at times the wait is running before the rbac completes and the following error is thrown. A subsequent apply then works and resources are deployed successfully
wait is executing before rbac: and error
adding the following
depends_on = [ azurerm_role_assignment.this ]
toresource "time_sleep" "wait_for_rbac_before_contact_operations"
seems to reliably fix this issue (so far in my testing!)The text was updated successfully, but these errors were encountered: