-
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
Question : how to configure Auto-Shutdown with azurerm_virtual_machine resource? #2169
Comments
wondering the same thing |
Thanks for opening this issue :) Taking a look into how the Azure Portal achieves this - it appears it configures a Schedule inside of DevTest Labs (even for Virtual Machines not provisioned using/attached with DevTest Labs) - since the "Auto Shutdown" page for a Virtual Machine makes a request out to this URL:
As such, I believe this would require a DevTest Labs Schedule to be configured to be used (it may also be possible through Azure Automation, but I'm unsure). We don't support DevTest Labs Schedules natively in Terraform at this time - if you'd like to see support for these please open an issue about it and we'll take a look - however since this issue is a question about how to configure Auto Shutdown I'm going to close this for the moment. Thanks! |
Hi @tombuildsstuff sorry but you need to clarify a few things: So now I'm very confused what is the real status for those DevTest labs resources, and specifically the auto-shutdown? Thanks! |
@Yvand thanks for your interest in this :)
DevTest Labs, Virtual Networks and Virtual Machines are supported at this time. Since #132 is a meta-issue containing multiple issues / functionality - we've asked folks to open a separate Github issue if they're interested in additional functionality within Dev Test Labs so we can investigate/prioritise it accordingly. Thanks! |
Ok, I missed the comment saying that separate issues should be opened. |
@tombuildsstuff thank you for the clarification. I've added Feature Request issue, Let's see how others vote. |
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. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks! |
Hi, I'm wondering how to set Auto-shutdown with azurerm_virtual_machine resource.
Is there any way to configure it with https://www.terraform.io/docs/providers/azurerm/r/virtual_machine.html ?
The text was updated successfully, but these errors were encountered: