variable_bulk_set
Create or update multiple environment variables in bulk for Railway infrastructure. Ideal for migrating configurations, initial service setup, or batch updates. Requires project ID, environment ID, and variable mapping.
Instructions
[WORKFLOW] Create or update multiple environment variables at once
⚡️ Best for: ✓ Migrating configuration between services ✓ Initial service setup ✓ Bulk configuration updates
⚠️ Not for: × Single variable updates (use variable_set) × Temporary configuration changes
→ Prerequisites: service_list
→ Alternatives: variable_set
→ Next steps: deployment_trigger, service_restart
→ Related: variable_list, service_update
Input Schema
Name | Required | Description | Default |
---|---|---|---|
environmentId | Yes | ID of the environment for the variables (usually obtained from service_list) | |
projectId | Yes | ID of the project containing the service | |
serviceId | No | Optional: ID of the service for the variables, if omitted updates shared variables) | |
variables | Yes | Object mapping variable names to values |