This error is a transient error which may occur when the Resource Provider in ARM is yet to complete replication of the newly created Role Definition.
+If the Role Definition has been successfully created in Azure but has not been committed to the terraform state
you will need to run terraform import
to add the Resource to the state file. Due to caching in ARM, it could take up to 10 minutes before you can successfully import the Resource.
This problem has been identified and logged on GitHub against the AzureRM Provider: #10442
+