You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I expect this not to force a replacement as this can be changed with just a reboot in the portal.
Before checking the box and pressing apply:
After checking the box and pressing apply:
Actual Behaviour
The terraform plan says that the VM needs to be recreated
Steps to Reproduce
Deploy a VM without secure boot (needs gen 2 image). After the VM is deployed, change the secure_boot_enabled = false to secure_boot_enabled = true. Terraform should now say that the VM need to be replaced.
Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Community Note
Terraform Version
1.8.2
AzureRM Provider Version
3.101.0
Affected Resource(s)/Data Source(s)
azurerm_linux_virtual_machine
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
I expect this not to force a replacement as this can be changed with just a reboot in the portal.
Before checking the box and pressing apply:
![Screenshot from 2024-04-30 09-12-23](https://private-user-images.githubusercontent.com/54621884/326705830-0c8f5041-3b15-4263-970d-db1a3d2f333d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNjU1NDMsIm5iZiI6MTczOTE2NTI0MywicGF0aCI6Ii81NDYyMTg4NC8zMjY3MDU4MzAtMGM4ZjUwNDEtM2IxNS00MjYzLTk3MGQtZGIxYTNkMmYzMzNkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDA1MjcyM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWY0ZTk4MDE2OTAyNzRiMzIyYmFhYzE0MTJhMjEzZGNhMTFlODFiYzhjMTczNWRmMmIxYjUyYWVjYmIxZjVjZDcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.bT8HzxuCUI0sYkEiG95kz3JB68ZJncDl3R3zCjnCc78)
![Screenshot from 2024-04-30 09-12-32](https://private-user-images.githubusercontent.com/54621884/326705820-968e436c-1ae4-4208-8fa1-b3d21c5b27d4.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNjU1NDMsIm5iZiI6MTczOTE2NTI0MywicGF0aCI6Ii81NDYyMTg4NC8zMjY3MDU4MjAtOTY4ZTQzNmMtMWFlNC00MjA4LThmYTEtYjNkMjFjNWIyN2Q0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDA1MjcyM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWZiYTQ3MDgwZjNkMWUxODY2ZDU2ZjBiODg4N2UwNzQ1OTY4NjU5ZTcxMWRiZTRiNzg1OTVlZGY1Y2YwZWZiZjUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.Aov0ORPw7KU-EdqIKhGFDefnzYtF0A-yl1ze9MCQQaI)
After checking the box and pressing apply:
Actual Behaviour
The terraform plan says that the VM needs to be recreated
Steps to Reproduce
Deploy a VM without secure boot (needs gen 2 image). After the VM is deployed, change the
secure_boot_enabled = false
tosecure_boot_enabled = true
. Terraform should now say that the VM need to be replaced.Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered: