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

feat: add handlename/ssmwrap #7320

Merged
merged 1 commit into from Oct 24, 2022

Conversation

ponkio-o
Copy link
Sponsor Contributor

@ponkio-o ponkio-o commented Oct 24, 2022

#7320 handlename/ssmwrap: Exec command with environment variables loaded from AWS SSM

$ aqua g -i handlename/ssmwrap

How to confirm if this package works well

Reviewers aren't necessarily familiar with this package, so please describe how to confirm if this package works well. Please confirm if this package works well yourself as much as possible.

Command and output

$ ssmwrap --help
Usage of /Users/username/.local/share/aquaproj-aqua/pkgs/github_release/github.com/handlename/ssmwrap/v1.2.1/ssmwrap_v1.2.1_darwin_amd64.zip/ssmwrap_v1.2.1_darwin_amd64/ssmwrap:
  -env
        export values as environment variables (default true)
  -env-entire-path
        use entire parameter path for name of environment variables
        disabled: /path/to/value -> VALUE
        enabled: /path/to/value -> PATH_TO_VALUE
  -env-prefix string
        prefix for environment variables
  -file value
        write values as file
        format:  Name=VALUE_NAME,Path=FILE_PATH,Mode=FILE_MODE,Gid=FILE_GROUP_ID,Uid=FILE_USER_ID
        example: Name=/foo/bar,Path=/etc/bar,Mode=600,Gid=123,Uid=456
  -names string
        comma separated parameter names
  -no-env
        disable export to environment variables
  -no-recursive
        retrieve values just under -paths only
  -paths string
        comma separated parameter paths
  -prefix string
        alias for -env-prefix
  -recursive
        retrieve values recursively (default true)
  -retries int
        number of times of retry
  -version
        display version

If files such as configuration file are needed, please share them.

Setup aws cli profile.

export AWS_PROFILE=<your profile>

Run ssmwrap

ssmwrap -paths /prod -- env

Reference

[handlename/ssmwrap](https://github.com/handlename/ssmwrap): Exec command with environment variables loaded from AWS SSM

```console
$ aqua g -i handlename/ssmwrap
```

## How to confirm if this package works well

Reviewers aren't necessarily familiar with this package, so please describe how to confirm if this package works well.
Please confirm if this package works well yourself as much as possible.

Command and output

```console
$
```

If files such as configuration file are needed, please share them.

```
```

Reference

-
@suzuki-shunsuke suzuki-shunsuke added the enhancement New feature or request label Oct 24, 2022
@suzuki-shunsuke suzuki-shunsuke added this to the v3.81.0 milestone Oct 24, 2022
@suzuki-shunsuke
Copy link
Member

Thank you always!

@suzuki-shunsuke suzuki-shunsuke merged commit 70ef65b into aquaproj:main Oct 24, 2022
@suzuki-shunsuke
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants