Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions ops/mainnet/mason/config.tf
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,26 @@ locals {
name = "MARK_CONFIG_SSM_PARAMETER"
value = "MASON_CONFIG_MAINNET"
},
{
name = "SHARD_MANIFEST"
value = local.shard_manifest
},
{
name = "GCP_PROJECT_ID"
value = local.gcp_project_id
},
{
name = "GOOGLE_CLOUD_PROJECT"
value = local.gcp_project_id
},
{
name = "GCP_WORKLOAD_IDENTITY_PROVIDER"
value = local.gcp_workload_identity_provider
},
{
name = "GCP_SERVICE_ACCOUNT_EMAIL"
value = local.gcp_service_account
},
{
name = "REBALANCE_CONFIG_S3_BUCKET"
value = local.rebalanceConfig.bucket
Expand Down
3 changes: 2 additions & 1 deletion ops/mainnet/mason/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ locals {
mark_config_json = jsondecode(data.aws_ssm_parameter.mark_config_mainnet.value)
mark_config = {
dd_api_key = local.mark_config_json.dd_api_key
web3_signer_private_key = local.mark_config_json.web3_signer_private_key
# Private keys are stored as Shamir shares in separate SSM parameters, not in main config
web3_signer_private_key = try(local.mark_config_json.web3_signer_private_key, "")
signerAddress = local.mark_config_json.signerAddress
chains = local.mark_config_json.chains
db_password = local.mark_config_json.db_password
Expand Down