-
Notifications
You must be signed in to change notification settings - Fork 368
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ffa0033
commit 103fb77
Showing
5 changed files
with
36 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# confidential computing vm | ||
|
||
This is an example of a vm creation with confidential computing, encrypted disk | ||
using a Cloud HSM key and a custom service account with cloud-platform scope. | ||
|
||
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK --> | ||
## Inputs | ||
|
||
| Name | Description | Type | Default | Required | | ||
|------|-------------|------|---------|:--------:| | ||
| key | Key name. | `string` | n/a | yes | | ||
| keyring | Keyring name. | `string` | n/a | yes | | ||
| location | Location for the resources (keyring, key, network, etc.). | `string` | `"us"` | no | | ||
| project\_id | The Google Cloud project ID. | `string` | n/a | yes | | ||
| region | The GCP region to create and test resources in. | `string` | `"us-central1"` | no | | ||
| subnetwork | The subnetwork selflink to host the compute instances in. | `string` | n/a | yes | | ||
| suffix | A suffix to be used as an identifier for resources. (e.g., suffix for KMS Key, Keyring). | `string` | `""` | no | | ||
|
||
## Outputs | ||
|
||
| Name | Description | | ||
|------|-------------| | ||
| instance\_self\_link | Self-link for compute instance. | | ||
| name | Name of the instance templates. | | ||
| self\_link | Self-link to the instance template. | | ||
| suffix | Suffix used as an identifier for resources. | | ||
|
||
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters