Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

azd init - option to not generate infra #4135

Closed
1 task done
tvriesde opened this issue Jul 19, 2024 · 5 comments
Closed
1 task done

azd init - option to not generate infra #4135

tvriesde opened this issue Jul 19, 2024 · 5 comments
Labels
customer-reported identify a customer issue question

Comments

@tvriesde
Copy link

tvriesde commented Jul 19, 2024

Output from azd version
Run azd version and copy and paste the output here:
azd version 1.9.5 (commit cd2b7af)

Describe the bug
Trying to start my own azd app + infra by using azd init. The cli forces me to add a service which then downloads bicep code in my infra folder, which I dont want, I have my own infra as code, I do not want to use the pre-created infra as code templates attached to the service definitions.

To Reproduce
create a folder with infra folder

Expected behavior
I want an option to just use my own infra folder with own bicep code, but still make my project enabled for AZD

@jongio
Copy link
Member

jongio commented Jul 22, 2024

Can you tell us more about what you want to happen? Do you just want the azure.yaml file?

@tvriesde
Copy link
Author

Can you tell us more about what you want to happen? Do you just want the azure.yaml file?

Sure, from reading the documentation:
https://learn.microsoft.com/en-us/azure/developer/azure-developer-cli/start-with-existing-template

I'd like all assets that are normally created by azd init.

In hindsight, another way to achieve what I want is to just create a project based on the started bicep template, and then retrofit my code there. feel free to close my issue.

@jongio
Copy link
Member

jongio commented Jul 24, 2024

@weikanglim @kristenwomack - Here's a potential improvement for azd init. Can you have a look at the original ask?

@weikanglim
Copy link
Contributor

#3573

@rajeshkamal5050
Copy link
Contributor

Marking this as duplicate of #3573

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
customer-reported identify a customer issue question
Projects
None yet
Development

No branches or pull requests

4 participants