Skip to content

Commit e3be8b3

Browse files
committed
chore(mpc-party): update example
Signed-off-by: Ghislain Cheng <[email protected]>
1 parent f8c1d2e commit e3be8b3

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

examples/mpc-party/main.tf

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,6 @@
22
# This example demonstrates how to deploy only the MPC party infrastructure
33
# using the enhanced mpc-party module that handles all Kubernetes resources
44

5-
6-
# Random suffix for bucket names to ensure uniqueness
7-
resource "random_id" "bucket_suffix" {
8-
byte_length = 4
9-
}
10-
115
# Deploy MPC Party infrastructure using the enhanced mpc-party module
126
module "mpc_party" {
137
source = "git::[email protected]:zama-ai/terraform-mpc-modules.git//modules/mpc-party?ref=v0.1.1"
@@ -18,8 +12,7 @@ module "mpc_party" {
1812

1913
# Party configuration
2014
party_name = var.party_name
21-
vault_private_bucket_name = "${var.bucket_prefix}-private-${random_id.bucket_suffix.hex}"
22-
vault_public_bucket_name = "${var.bucket_prefix}-public-${random_id.bucket_suffix.hex}"
15+
bucket_prefix = var.bucket_prefix
2316

2417
# EKS Cluster configuration
2518
cluster_name = var.cluster_name

0 commit comments

Comments
 (0)