-
Notifications
You must be signed in to change notification settings - Fork 23
47 lines (39 loc) · 1.17 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: Local-Action-Test
on:
push:
branches: [ develop, main ]
pull_request:
types: [opened, reopened, synchronize, edited]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ secrets.AWS_DEFAULT_REGION }}
- name: Test ssm-to-env local json
uses: ./
id: ssm-to-env-local-json
with:
ssm-path: /actions-testing/test-parameter
decryption: false
- name: Test ssm-to-env local encrypted
uses: ./
id: ssm-to-env-local-encrypted
with:
ssm-path: /actions-testing/test-parameter-encrypted
decryption: true
- name: Test ssm-to-env local non-json
uses: ./
id: ssm-to-env-local-non-json
with:
ssm-path: /actions-testing/test-parameter-basic
decryption: false
- name: Test for Env Variables
run: |
echo "Testing if parameter values get set properly:"
printenv