-
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
azurerm_linux_virtual_machine - license_type support for UBUNTU_PRO #27520
Comments
Hi @jasonrepos , Could you please share links to documentation where it says |
Hi @harshavmb Here is the Azure doc on Ubuntu Pro - https://learn.microsoft.com/en-us/azure/virtual-machines/workloads/canonical/ubuntu-pro-in-place-upgrade In my case I have manually upgraded our Ubuntu VMs using the following command az vm update -g myResourceGroup -n myVmName --license-type UBUNTU_PRO Following this, I am now having to set a lifecycle ignore so terraform does not revert the change. lifecycle { |
@jasonrepos Just curious what offer and sku are you using? |
source_image_reference { |
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. |
Is there an existing issue for this?
Community Note
Description
It would be good to have support for the UBUNTU_PRO license within azurerm_linux_virtual_machine license_type
│ Error: expected license_type to be one of ["RHEL_BYOS" "SLES_BYOS"], got UBUNTU_PRO
│
│ with azurerm_linux_virtual_machine.,
│ on terraform.tf line 3987, in resource "azurerm_linux_virtual_machine" "":
│ 3987: license_type = "UBUNTU_PRO"
New or Affected Resource(s)/Data Source(s)
azurerm_linux_virtual_machine
Potential Terraform Configuration
References
No response
The text was updated successfully, but these errors were encountered: