Skip to content

Commit cd7907b

Browse files
authored
Document running Workflow commands against Temporal Cloud (#92)
Co-authored-by: Tasha Alfano <11719741+tlalfano@users.noreply.github.com>
1 parent 5817615 commit cd7907b

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

‎README.md‎

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,32 @@ temporal cloud whoami # confirm the authenticated identity
4242

4343
Alternatively, pass an API key directly to any command with `--api-key`.
4444

45+
### Run Workflow commands against Temporal Cloud
46+
47+
The `temporal cloud` commands manage Temporal Cloud resources. To operate
48+
Workflow Executions in a Cloud Namespace, use the regular `temporal workflow`
49+
commands with the same CLI profile and the Cloud Namespace endpoint.
50+
51+
```sh
52+
temporal cloud login --profile prod
53+
54+
temporal workflow list \
55+
--profile prod \
56+
--address <namespace>.<account>.tmprl.cloud:7233 \
57+
--namespace <namespace>.<account>
58+
59+
temporal workflow start \
60+
--profile prod \
61+
--address <namespace>.<account>.tmprl.cloud:7233 \
62+
--namespace <namespace>.<account> \
63+
--task-queue <task-queue> \
64+
--type <workflow-type> \
65+
--workflow-id <workflow-id>
66+
```
67+
68+
Make sure a compatible Worker is polling the target Task Queue before starting
69+
a Workflow.
70+
4571
### Examples
4672

4773
```sh

0 commit comments

Comments
 (0)