mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-06-05 05:11:30 -04:00
ci: make instance type configurable for provider sample (#2893)
* Make default instance type configurable for provider sample * Set TDX instance type when running TDX provider e2e test * Fix missing attestation variant when setting up stub config in provider e2e test --------- Signed-off-by: Daniel Weiße <dw@edgeless.systems>
This commit is contained in:
parent
f21252c57d
commit
64c32c2236
4 changed files with 22 additions and 7 deletions
|
@ -23,6 +23,7 @@ locals {
|
|||
project_id = "constellation-331613"
|
||||
control_plane_count = 3
|
||||
worker_count = 2
|
||||
instance_type = "n2d-standard-4"
|
||||
|
||||
master_secret = random_bytes.master_secret.hex
|
||||
master_secret_salt = random_bytes.master_secret_salt.hex
|
||||
|
@ -57,7 +58,7 @@ module "gcp_infrastructure" {
|
|||
node_groups = {
|
||||
control_plane_default = {
|
||||
role = "control-plane"
|
||||
instance_type = "n2d-standard-4"
|
||||
instance_type = local.instance_type
|
||||
disk_size = 30
|
||||
disk_type = "pd-ssd"
|
||||
initial_count = local.control_plane_count
|
||||
|
@ -65,7 +66,7 @@ module "gcp_infrastructure" {
|
|||
},
|
||||
worker_default = {
|
||||
role = "worker"
|
||||
instance_type = "n2d-standard-4"
|
||||
instance_type = local.instance_type
|
||||
disk_size = 30
|
||||
disk_type = "pd-ssd"
|
||||
initial_count = local.worker_count
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue