aspire deploy - - how to set different paramter values for different deployments (testing, prod, prod-au, prod-ca etc) #18736
Answered
by
davidfowl
Lindsay Mathieson (Lindsay-Mathieson)
asked this question in
Q&A
|
I'm probably missing something really basic, but how do I user aspir deploy to deploiy to different environments with different parameters?, e.g deploy to test or prod with different db connections strings etc. With azd we have:
etc but I see nothing similar for the aspire command, it just gets/sets its values from AppHost secrets. |
Answered by
davidfowl
Jul 13, 2026
Replies: 1 comment 3 replies
|
This is from your local machine right? |
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Locally we'd need #17184. But on CI/CD you'd use env variables:
https://github.com/davidfowl/pr-dashboard/blob/4e1dae22f693e26360cfbe4864e162359db9710b/.github/workflows/deploy.yml#L92-L106
More here https://aspire.dev/deployment/environments/
If you're using a coding agent use the aspire-deployment skill https://aspire.dev/get-started/aspire-skills/#aspire-workflow-skills and ask for a CI/CD pipeline.