Skip to content

azurerm_automation update management ability to add virtual machine to schedule(s) #9543

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

Open
Marcus-James-Adams opened this issue Nov 29, 2020 · 1 comment

Comments

@Marcus-James-Adams
Copy link

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

This ties in with #2812 - New resource: azurerm_automation update management configuration
#2812

However and especially with the 3 resource groups per automation account it would be good if we had a separate resource/data set that allowed you to add/update a VM to an automation update schedule and also see which automation update schedules they are in

New or Affected Resource(s)

Exisiting

  • azurerm_automation_account
  • azurerm_windows_virtual_machine
  • azurerm_linux_virtual_machine

New

  • azurerm_automation_UpdateSchedue
  • azurerm_automation_software_virtualMachine_connection

Potential Terraform Configuration

resource "azurerm_automation_software_virtualMachine_connection" "default" {
  location            = var.location
  name                = "thisname"
  azurerm_automation_account_id  = azurerm_automation_account.default.id
  azurerm_automation_account_id  = azurerm_automation_account.default.id
  azurerm_automation_UpdateSchedue_id = azurerm_automation_softwareUpdateConfigurations.myschedule.id
  azurerm_virtual_machine_id = azurerm_windows_virtual_machine.id

References

#2812

  • #0000
@wuxu92
Copy link
Contributor

wuxu92 commented Jan 22, 2024

Hi @Marcus-James-Adams , does the new resource azurerm_automation_software_update_configuration fulfill your requirements?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants