-
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 and boot_diagnostics: How to manage the "enabled" attributes? #27487
Comments
We are just using this:
Just an empty block enabled the ms managed boot diagnostics |
Hi @gesnaud that combination of terraform and azurerm are kind of old. Any chance you could test again using the latest versions? |
Hi @Chambras ! I just test with this Terraform configuration (cannot go to AzureRM 4.X for now): # terraform version
Terraform v1.9.7
on linux_amd64
+ provider registry.terraform.io/aztfmod/azurecaf v1.2.28
+ provider registry.terraform.io/azure/azapi v1.13.0
+ provider registry.terraform.io/hashicorp/azurerm v3.116.0
+ provider registry.terraform.io/hashicorp/template v2.2.0 And here is what appeared in # module.firewall.azurerm_virtual_machine.hub-fw01vm will be updated in-place
~ resource "azurerm_virtual_machine" "sdfqsdfqsdf" {
id = "/subscriptions/xxxxx/resourceGroups/qsdfqsdff/providers/Microsoft.Compute/virtualMachines/qsdfqsdf"
name = "qsdfqfd"
# (8 unchanged attributes hidden)
- boot_diagnostics {
- enabled = true -> null
# (1 unchanged attribute hidden)
}
[...] But the bug might come from the resource used here, which I did not pay attention enough: What do you think? Thanks! |
@gesnaud I think you should give it a try with |
@Chambras : Thanks for your replay! Indeed, because of this bug we cannot move from Anyway, effectively, the boot_diagnostics bug I mentionned not occuring with Sorry about that, I did not pay attention enough! |
Is there an existing issue for this?
Community Note
Terraform Version
1.6.5
AzureRM Provider Version
3.106.1
Affected Resource(s)/Data Source(s)
azurerm_linux_virtual_machine
Terraform Configuration Files
The text was updated successfully, but these errors were encountered: