Azure / azure-dev

A developer CLI that reduces the time it takes for you to get started on Azure. The Azure Developer CLI (azd) provides a set of developer-friendly commands that map to key stages in your workflow - code, build, deploy, monitor, repeat.
https://aka.ms/azd
MIT License
402 stars 195 forks source link

Feature request - add template to existing project #1056

Closed aaronpowell closed 6 months ago

aaronpowell commented 1 year ago

I'm working on a project that already uses azd to manage the environment, and I'm adding a new component to the project.

This new component will bring in a database, container app backend and SWA frontend, all from an existing template.

While it's possible to manually copy in the Bicep files and update the azure.yaml to include these new services, I'd like a way to use azd to incorporate it, something like:

azd add --template https://github.com/...

This command would:

After that is done, the standard azd commands for provisioning, deploying and environment refresh would work as expect.

savannahostrowski commented 1 year ago

I think that this will be handled via some of the composability work we have scoped in a semester or two. Moving to Germanium

rajeshkamal5050 commented 6 months ago

Marking this as a duplicate of #2386