Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add --assume-role-arn option #538

Merged
merged 8 commits into from
Mar 24, 2023
Merged

Add --assume-role-arn option #538

merged 8 commits into from
Mar 24, 2023

Conversation

fujiwara
Copy link
Contributor

refs #530

moznion and others added 8 commits March 6, 2023 21:47
This option receives an ARN of the role to assume and it makes the user
able to do the operations across the accounts according to the assume-role.

e.g.

```
$ ecspresso --help
Usage: ecspresso <command>

Flags:
  -h, --help                      Show context-sensitive help.
      --envfile=ENVFILE,...       environment files
      --debug                     enable debug log
      --ext-str=KEY=VALUE;...     external string values for Jsonnet
      --ext-code=KEY=VALUE;...    external code values for Jsonnet
      --config="ecspresso.yml"    config file
      --assume-role-arn=""        the ARN of the role to assume
      --option=OPTION

Commands:

...

$ ecspresso status --assume-role-arn=arn:aws:iam::123456789012:role/ecsOperatableRole
```

Signed-off-by: moznion <moznion@mail.moznion.net>
Add `--assume-role-arn` option to the top level of the CLI
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants