You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
╭─ Arguments ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ * key TEXT Key of the context to add. [default: None] [required] │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Options ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ * --admin-group TEXT The ID of an Azure group containing all administrators. [default: None] [required] │
│ * --location TEXT The Azure location to deploy resources into. [default: None] [required] │
│ * --name TEXT The human friendly name to give this Data Safe Haven deployment. [default: None] [required] │
│ * --subscription TEXT The name of an Azure subscription to deploy resources into. [default: None] [required] │
│ --help -h Show this message and exit. │
╰──────────────────────────────────────────────────────────────────────────────
Edit: in light of @JimMadge's comment, maybe we should update the helptext for key to something like Short descriptor used to refer to this context.
Do we need dsh context add and dsh context create? Is there benefit in having a context in the settings file that hasn't yet been deployed onto Azure?
Discussion of name and keyhere.
The basic distinction is key is a unique, hashable identifier that you and the code uses to refer to a context. name is a human friendly name that is used to create the names for objects.
I would be against changing this (unless someone has a really good idea). Both for our quality of lives as programmers and for the user (dsh context switch acme vs dsh context switch 'ACME Deployment')
Do we need dsh context add and dsh context create? Is there benefit in having a context in the settings file that hasn't yet been deployed onto Azure?
I very much like them to be separate. I see defining a context and creating the infrastructure as clearly distinct. I wouldn't want the infrastructure to be automatically created.
Thinking of analogy with Git, git remote add doesn't git pull or git push or even git fetch.
✅ Checklist
💻 System information
python-migration
🚫 Describe the problem
Questions/thoughts about the
dsh context
command when using it for the first timeEdit: in light of @JimMadge's comment, maybe we should update the helptext for
key
to something likeShort descriptor used to refer to this context.
Do we need
dsh context add
anddsh context create
? Is there benefit in having a context in the settings file that hasn't yet been deployed onto Azure?Failed context creation should be gracefully handled #1899
🌳 Log messages
Relevant log messages
♻️ To reproduce
The text was updated successfully, but these errors were encountered: