Improve documentation of URL formats for pulumi login

This commit is contained in:
Mike Metral 2020-03-11 15:22:30 -07:00
parent 40f17faa73
commit cf7169125d
No known key found for this signature in database
GPG key ID: 763D41DD0208A67F
2 changed files with 8 additions and 3 deletions

View file

@ -1,6 +1,10 @@
CHANGELOG
=========
## HEAD (Unreleased)
- Improve documentation of URL formats for `pulumi login`
[#4059](https://github.com/pulumi/pulumi/pull/4059)
## 1.12.1 (2020-03-11)
- Fix Kubernetes YAML parsing error in .NET.
[#4023](https://github.com/pulumi/pulumi/pull/4023)

View file

@ -47,12 +47,13 @@ func newLoginCmd() *cobra.Command {
"and this command will prompt you for an access token, including a way to launch your web browser to\n" +
"easily obtain one. You can script by using `PULUMI_ACCESS_TOKEN` environment variable.\n" +
"\n" +
"By default, this will log into `app.pulumi.com`. If you prefer to log into a separate instance\n" +
"By default, this will log into `api.pulumi.com`. If you prefer to log into a separate instance\n" +
"of the Pulumi service, such as Pulumi Enterprise, specify a URL. For example, run\n" +
"\n" +
" $ pulumi login https://pulumi.acmecorp.com\n" +
" $ pulumi login https://api.pulumi.acmecorp.com\n" +
"\n" +
"to log in to a Pulumi Enterprise server running at the pulumi.acmecorp.com domain.\n" +
"to log in to a Pulumi Enterprise server running at the\n" +
"api.pulumi.acmecorp.com and app.pulumi.acmecorp.com domains.\n" +
"\n" +
"For `https://` URLs, the CLI will speak REST to a service that manages state and concurrency control.\n" +
"[PREVIEW] If you prefer to operate Pulumi independently of a service, and entirely local to your computer,\n" +