Skip to content

Commit

Permalink
shared_image_version_resource - add uefi_settings - docs
Browse files Browse the repository at this point in the history
  • Loading branch information
yeoldegrove committed Nov 20, 2024
1 parent 092ccf4 commit ddeb70b
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions website/docs/r/shared_image_version.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ The following arguments are supported:

* `storage_account_id` - (Optional) The ID of the Storage Account where the Blob exists. Changing this forces a new resource to be created.

* `uefi_settings` - (Optional) A `uefi_settings` block as defined below. Changing this forces a new Shared Image Version to be created.

-> **NOTE:** `blob_uri` and `storage_account_id` must be specified together

* `tags` - (Optional) A collection of tags which should be applied to this resource.
Expand All @@ -101,6 +103,55 @@ The `target_region` block supports the following:

* `storage_account_type` - (Optional) The storage account type for the image version. Possible values are `Standard_LRS`, `Premium_LRS` and `Standard_ZRS`. Defaults to `Standard_LRS`. You can store all of your image version replicas in Zone Redundant Storage by specifying `Standard_ZRS`.

---

The `uefi_settings` block supports the following:

* `signature_template_names` - (Required) A list of UEFI signature template names to include in the UEFI settings. Possible values: `MicrosoftUefiCertificateAuthorityTemplate`, `MicrosoftWindowsTemplate`, `NoSignatureTemplate`

* `additional_signatures` - (Optional) A block defining additional UEFI signatures.


The `additional_signatures` block supports the following:

* `db` - (Optional) One or more blocks defining the database of UEFI Keys (DB).

* `dbx` - (Optional) One or more blocks defining the database of revoked UEFI Keys (DBX).

* `kek` - (Optional) One or more blocks defining Key Encryption Keys (KEK).

* `pk` - (Optional) One block defining the platform key (PK).


A `db` block supports the following:

* `certificate_data` - (Required) The Base64-encoded certificate data.

* `key_type` - (Required) The type of key signature. Possible values are: `sha256` and `x509`.


A `dbx` block supports the following:

* `certificate_data` - (Required) The Base64-encoded certificate data.

* `key_type` - (Required) The type of key signature. Possible values are: `sha256` and `x509`.


A `kek` block supports the following:

* `certificate_data` - (Required) The Base64-encoded certificate data.

* `key_type` - (Required) The type of key signature. Possible values are: `sha256` and `x509`.


The `pk` block supports the following:

* `certificate_data` - (Required) The Base64-encoded certificate data.

* `key_type` - (Required) The type of key signature. Possible values are: `sha256` and `x509`.



## Attributes Reference

In addition to the Arguments listed above - the following Attributes are exported:
Expand Down

0 comments on commit ddeb70b

Please sign in to comment.