-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from IP-Sentinel/main
Merge updates from fork
- Loading branch information
Showing
3,160 changed files
with
784,996 additions
and
175,352 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Basic set up for three package managers | ||
|
||
version: 2 | ||
updates: | ||
|
||
- package-ecosystem: "npm" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
open-pull-requests-limit: 100 | ||
|
||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Contributing | ||
|
||
Like the documentation says, `node_modules` directory needs to be committed in the repo. | ||
|
||
Source: [here](https://docs.github.com/en/actions/creating-actions/creating-a-javascript-action#commit-tag-and-push-your-action-to-github) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,27 @@ | ||
# actions-aws-ssm-params-to-env | ||
|
||
This is a github action to convert SSM parameters to environment variables. It will handle | ||
simple JSON structures, or literal values. If you utilize the AWS action for setting | ||
your credentials or assume a role, you will not need to explicitly include the AWS environment | ||
variables in this action's step. | ||
|
||
**Note**: this is a fork of this unmaintained repository: https://github.com/Bardavon-Health/actions-aws-ssm-params-to-env | ||
|
||
|
||
## Usage: | ||
|
||
```yaml | ||
- uses: Bardavon-Health/[email protected] | ||
- uses: IP-Sentinel/[email protected].1 | ||
env: | ||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} # required | ||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} # required | ||
AWS_DEFAULT_REGION: ap-northeast-2 # required | ||
with: | ||
ssm-path: /path/to/parameter # required | ||
get-children: true # optional, default false | ||
prefix: SSM_ # optional | ||
decryption: true # optional, default false | ||
mask-values: true # optional, default false | ||
``` | ||
--- | ||
## Options: | ||
|
@@ -25,13 +30,20 @@ variables in this action's step. | |
AWS Systems Manager Parameter Store path to the parameter | ||
(e.g. `/path/to/parameter`) | ||
|
||
### get-children(optional) | ||
Boolean wich imposes to get parameters by path, retrieving all children values | ||
|
||
### prefix(optional) | ||
Add prefix in front of environment variable name | ||
(e.g. `prefix: SSM_VAR_` will export `SSM_VAR_ENV_VAR="value"`) | ||
|
||
### decryption(optional) | ||
Boolean which indicates whether the parameter should be decrypted or not | ||
|
||
### mask-values(optional) | ||
Boolean which indicates if extracted values should be masked in | ||
GitHub action logs | ||
|
||
### **Note on decryption:** | ||
You should take care in utilizing encrypted values, as GitHub actions will not automatically redact | ||
the value of such parameters from your logs. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,25 @@ | ||
name: 'AWS SSM parameters to environment variables' | ||
description: 'load AWS SSM Parameters into environment variables' | ||
author: 'Bardavon Health Innovations' | ||
author: 'Denny Biasiolli at IP Sentinel' | ||
branding: | ||
icon: 'cloud' | ||
color: 'orange' | ||
inputs: | ||
ssm-path: | ||
description: 'AWS SSM path for parameter (eg. `/ssm/parameter`)' | ||
required: true | ||
get-children: | ||
description: 'Define to get parameters by path, retrieving all children values' | ||
required: false | ||
prefix: | ||
description: 'Set a prefix on the environment variable' | ||
required: false | ||
decryption: | ||
description: 'Whether the parameter must be decrypted or not' | ||
required: false | ||
mask-values: | ||
description: 'Indicates if extracted values should be masked in GitHub action logs' | ||
required: false | ||
runs: | ||
using: 'node12' | ||
using: 'node16' | ||
main: 'index.js' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.