Hello, @KK1969 !
Why am I getting a permissions error on my deployment?
Based on the error provided, it appears that there are sufficient permissions for write
on the aks agent pool however either permissions are missing for deploy/action
on the capgrp-dev-01 capacity reservation group or the linked capacity reservation group is invalid.
- Check your client's/service principal's role assignments and scope.
- Confirm the capacity reservation group is valid (and intended)
- Make sure you are using the latest version of Terraform and AzureRM
Let me know if this is helpful or if you need additional assistance and I'd be happy to continue to troubleshoot this with you.
Resources:
I hope this has been helpful! Your feedback is important so please take a moment to accept answers.
If you still have questions, please let us know what is needed in the comments so the question can be answered. Thank you for helping to improve Microsoft Q&A!