restate icon indicating copy to clipboard operation
restate copied to clipboard

CLI `deployments list` subcommand should print Lambda services' invoker role ARN, if configured

Open pcholakov opened this issue 1 year ago • 0 comments

The deployments list subcommand doesn't print out the configured assumed role for invoking Lambda services - it probably should, at least when used with --extra:

❯ restate deployments list                                                                                                                                                                                                                                                                                                          13:11:19
 DEPLOYMENT                                                              TYPE        STATUS   ACTIVE INVOCATIONS  ID                          CREATED AT
 arn:aws:lambda:eu-central-1:12345678012:function:function-name:$LATEST  AWS Lambda  Active   0                   dp_143hXT3xPRbIoQxsSMTWgaR  2024-03-01T14:11:16.065000000Z
❯ ❯ restate deployments list --extra                                                                                                                                                                                                                                                                                                  13:09:57
 DEPLOYMENT                                                              TYPE        STATUS   ACTIVE INVOCATIONS  ID                          CREATED AT                      SERVICES
 arn:aws:lambda:eu-central-1:12345678012:function:function-name:$LATEST  AWS Lambda  Active   0                   dp_143hXT3xPRbIoQxsSMTWgaR  2024-03-01T14:11:16.065000000Z  - FooService [17]

The /deployments API returns this information already.

pcholakov avatar Mar 05 '24 11:03 pcholakov