mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-08-14 01:35:34 -04:00
terraform: enable creation of SEV-SNP VMs on GCP
This commit is contained in:
parent
f189aa186f
commit
667e04193d
8 changed files with 91 additions and 23 deletions
|
@ -60,3 +60,12 @@ variable "zone" {
|
|||
type = string
|
||||
description = "GCP zone to deploy the cluster in."
|
||||
}
|
||||
|
||||
variable "cc_technology" {
|
||||
type = string
|
||||
description = "The confidential computing technology to use for the nodes. One of `SEV`, `SEV_SNP`."
|
||||
validation {
|
||||
condition = contains(["SEV", "SEV_SNP"], var.cc_technology)
|
||||
error_message = "The confidential computing technology has to be 'SEV' or 'SEV_SNP'."
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue