azure-dev
azure-dev copied to clipboard
Default environment name to current directory name...
When doing an azd up command with a template, the user is prompted for an environment name. We should default this to the name of the current empty directory. Note, we'll still need to verify the naming constraints, e.g. length.

Related Azure/azure-dev-pr#981
We want "environment name" to be unique across all of azure, to prevent name collisions. It feels like this strategy makes that way less likely. I think Azure/azure-dev-pr#981 points to the fact that the directory name is more likely tied to a repository name which we expect would not vary widely which also gives me pause about doing what Mark proposes.
Okay, maybe the default name is something else. Like folder name + random char. How about we hold on this and take it after we fleshout naming.
@ellismg This is probably related to your proposal.