Create or update deployment settings
cs_create_deployment_settingsCreate deployment-settings.json for a solution, mapping connection references, environment variables, and agent security groups to target-environment values.
Instructions
pac solution create-settings: the JSON that maps every connection reference (to a connection id in the target environment) and environment variable (to a target value). Pass connectionReferences / environmentVariables to fill values; the result lists what is still unmapped.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zip | No | Solution zip (or use solutionDir from cs_pull_solution) | |
| regenerate | No | Recreate the file even if it exists (mappings are lost) | |
| solutionDir | No | Directory written by cs_pull_solution | |
| settingsFile | No | Default <solutionDir>/deployment-settings.json or next to the zip | |
| copilotAgents | No | agent schema name -> Entra security group id allowed to use the agent in the target | |
| connectionReferences | No | logicalName -> connectionId in the target environment | |
| environmentVariables | No | schemaName -> value for the target |