-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make it possible to run tasks rights away with azurerm_container_registry_task #15095
Comments
hi @tlfzhylj Thanks for opening this issue. This forum is intended to be used for feature enhancements and bugs in the Azure Provider - so that we can keep this forum focused on that we instead ask that broader questions are raised on the Community Discuss forum. Thanks! |
Thanks for your answer. What I can find out what I'm asking isn't possible, so if the issue can be open and labeled enhancement I think that would be correct. I can rewrite the title and description a bit to make it more clear that it is a feature request. |
If this one doesn't get opened again, I asked in the community forum as advised: https://discuss.hashicorp.com/t/azure-container-registry-task-possible-to-run-the-task-right-away/34739 |
@tlfzhylj from what I can see this isn't supported in the API right now - https://docs.microsoft.com/en-us/rest/api/containerregistry/tasks - so (unless your aware of another API) I don't believe this is possible at this time. As such I think this maybe a Feature Request for Microsoft here, since there would need to be a means of triggering the task one-time (and retrieving the status of it) to be able to be able to achieve this - so in lieu of an API being available I'd recommend opening an issue on the Azure Rest API Specs repository where someone from the Service Team should be able to take a look. |
@tombuildsstuff I've looked into this issue and submit a PR for it. The API actually resides in: https://docs.microsoft.com/en-us/rest/api/containerregistry/registries%20(tasks)/schedule-run instead. |
@magodo oh nice find - thanks :) |
Hello, any news on this? |
would be great to get this working, but meanwhile I'm using this as a workaround:
|
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
Description
When using azurerm_container_registry_task I would like these to be supported:
A) Point to a Dockerfile, for example in a git repo, and run the build right away.
B) Run a build right away, where I'm pointing to a Dockerfile in my Terraform project directory, together with my tf files.
New or Affected Resource(s)
azurerm_container_registry_task
Potential Terraform Configuration
The text was updated successfully, but these errors were encountered: