astro env variable link create
This command is only available on Astro.
Attach a Workspace-scoped environment variable to a specific Deployment. When you pass --value, that value overrides the Workspace default for the linked Deployment only. The Workspace value and other Deployments are unaffected. Pass --exclude to opt a Deployment out of a variable that automatically links to every Deployment in the Workspace.
This command is idempotent. If the link doesn’t exist, the CLI creates it. If the link already exists, the CLI replaces the override when you pass --value. To remove an existing override, delete the link with astro env variable link delete, then recreate it without --value.