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
410 stars 198 forks source link

Integration of Infrastructure Tools via azd #2312

Open JayDoubleu opened 1 year ago

JayDoubleu commented 1 year ago

It would be beneficial to be able to invoke infrastructure tools using azd, such as azd bicep, azd terraform, and azd pulumi. This feature would allow us to utilize replaced file tokens and execute these commands for a variety of purposes, including but not limited to deployment planning (e.g., azd terraform plan, azd az deployment what-if, etc.).

Related to https://github.com/Azure/azure-dev/issues/141

savannahostrowski commented 1 year ago

Hey @JayDoubleu. We have had a couple asks related to azd support of different tooling scenarios. I'm collecting some requirements. Will follow up when I have more! Thanks for raising this!

savannahostrowski commented 1 year ago

@JayDoubleu Can you provide a bit more insight on what other operations you'd want to use this functionality for beyond deployment planning (we added a flag for that in the v1.2.0 release of azd - https://devblogs.microsoft.com/azure-sdk/azure-developer-cli-azd-august-2023-release/#preview-provisioning-changes-with-azd-provision-preview)?

In general, I'd prefer azd play nicely with other CLIs in a developer's workflow and provide differentiated value over wrapping the commands of other CLIs.