add MPC_HYDRATION_RPC_WS_URL and MPC_HYDRATION_SIGNER_URI to tf#676
Open
add MPC_HYDRATION_RPC_WS_URL and MPC_HYDRATION_SIGNER_URI to tf#676
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR extends the infra/partner-mainnet Terraform configuration to pass Hydration connection/configuration values into the deployed container via new env vars sourced from GCP Secret Manager.
Changes:
- Extend
node_configsschema to include Hydration RPC WS URL and signer URI secret IDs. - Add example tfvars values for the new Hydration secrets.
- Add Secret Manager lookups and wire
MPC_HYDRATION_RPC_WS_URL/MPC_HYDRATION_SIGNER_URIinto the container environment.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| infra/partner-mainnet/variables.tf | Adds Hydration-related secret ID fields to the node_configs object schema. |
| infra/partner-mainnet/terraform-mainnet-example.tfvars | Updates the sample configuration to include the new Hydration secret IDs. |
| infra/partner-mainnet/resources.tf | Adds Secret Manager data sources for the Hydration secrets. |
| infra/partner-mainnet/main.tf | Exposes Hydration secrets to the container as MPC_HYDRATION_* env vars. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
auto-mausx
approved these changes
Mar 11, 2026
Collaborator
|
Before this goes to main, I want to add a release to https://github.com/sig-net/mpc-infrastructure, but we can merge this into develop. |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.