Hello Pavan Kalyan Muniganti,
Welcome to the Microsoft Q&A and thank you for posting your questions here.
I understand that you are using accelerators to deploy Azure Resources but failed at azure container registry task setup.
Regarding your error statement! Since you're currently on a Free Trial, ACR Tasks are not available under your subscription tier. However, you can work around this limitation by manually using az acr build
or integrating GitHub Actions into your workflow. If you're not actively using the Azure Container Registry for deployments, it's also safe to disable the ACR Task module in your Terraform configuration, as it's not essential in every scenario. For production environments or more comprehensive testing, consider upgrading to a Pay-As-You-Go plan.
A practical approach during the trial period is to skip the ACR Task in Terraform by using count = var.enable_acr_task ? 1: 0
, and instead automate your image builds with az acr build
or GitHub Actions. This allows you to maintain your deployment pipeline and automation without needing to upgrade immediately, while staying within the limits of the Free Trial.
These three methods could be very helpful:
- Disable ACR Task (With Conditional Logic).
- Maintain Build Automation Without ACR Tasks by manual CLI Build or GitHub Actions.
- Upgrade to Pay-As-You-Go (Optional but Ideal).
I hope this is helpful! Do not hesitate to let me know if you have any other questions or clarifications.
Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful.