Add examples for confidential VM, VMSS and OS Disk

This commit is contained in:
Yichun Ma
2022-06-22 16:17:06 +08:00
parent 742b875490
commit bd01573941
13 changed files with 384 additions and 0 deletions

View File

@ -0,0 +1,19 @@
# Azure confidential os disk
This template deploys an Azure confidential os disk encrypted by platform key.
## Resources
- [azurerm_managed_disk](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/managed_disk)
- [azurerm_resource_group](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/resource_group)
## Variables
| Name | Description |
|-|-|
| `location` | (Required) Azure Region in which to deploy these resources.|
| `name_prefix` | (Optional) Prefix of the resource name. Value defaults to: tftest|
## Example
To see how to run this example, see [Create an Azure confidential os disk using Terraform](https://docs.microsoft.com/azure/developer/terraform/create-confidential-os-disk).