Skip to content

Commit

Permalink
Add support for shieldedInstanceInitialState to Image resources
Browse files Browse the repository at this point in the history
This commit provides support to use UEFI secure boot with `terraform-provider-google`.

Signed-off-by: Tobias Wolf <[email protected]>
  • Loading branch information
NotTheEvilOne committed Nov 19, 2024
1 parent acda2f0 commit 6f4f8c5
Showing 1 changed file with 66 additions and 0 deletions.
66 changes: 66 additions & 0 deletions mmv1/products/compute/Image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -277,3 +277,69 @@ properties:
custom_expand: 'templates/terraform/custom_expand/resourceref_with_validation.go.tmpl'
resource: 'Snapshot'
imports: 'selfLink'
- name: 'shieldedInstanceInitialState'
type: NestedObject
description: Set the secure boot keys of shielded instance.
properties:
- name: 'pk'
type: NestedObject
description: The Platform Key (PK).
properties:
- name: 'content'
type: String
description: |
The raw content in the secure keys file.
A base64-encoded string.
required: true
- name: 'fileType'
type: String
description: The file type of source file.
- name: 'keks'
type: Array
description: The Key Exchange Key (KEK).
item_type:
type: NestedObject
properties:
- name: 'content'
type: String
description: |
The raw content in the secure keys file.
A base64-encoded string.
required: true
- name: 'fileType'
type: String
description: The file type of source file.
- name: 'dbs'
type: Array
description: The Key Database (db).
item_type:
type: NestedObject
properties:
- name: 'content'
type: String
description: |
The raw content in the secure keys file.
A base64-encoded string.
required: true
- name: 'fileType'
type: String
description: The file type of source file.
- name: 'dbxs'
type: Array
description: The forbidden key database (dbx).
item_type:
type: NestedObject
properties:
- name: 'content'
type: String
description: |
The raw content in the secure keys file.
A base64-encoded string.
required: true
- name: 'fileType'
type: String
description: The file type of source file.

0 comments on commit 6f4f8c5

Please sign in to comment.