Skip to content

Commit df2891c

Browse files
committed
update push.yml and config.yaml
1 parent d454021 commit df2891c

File tree

2 files changed

+26
-21
lines changed

2 files changed

+26
-21
lines changed

.github/workflows/push.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,12 @@ jobs:
3838
run: echo "$MATRIX_CONTEXT"
3939
- name: Checkout repository
4040
uses: actions/checkout@v4
41-
- name: Run YAML to Github Output Action
41+
- name: read-yaml-file
42+
uses: pietrobolcato/[email protected]
4243
id: config
43-
uses: christian-ci/action-yaml-github-output@v2
4444
with:
45-
file_path: config.yaml
46-
main_key: modules
47-
sub_key: us-east-1
45+
config: ${{ github.workspace }}/config.yaml
46+
4847
- name: print-variables
4948
run: |
50-
echo "workspace: ${{ steps.config.outputs.workspace }}"
49+
echo "workspace: ${{ steps.config.outputs.modules }}"

config.yaml

Lines changed: 21 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,27 @@
1-
stack_version: 1.0.0
1+
stack_version: 0.133.4
2+
3+
vpc_cidr_blocks:
4+
us-east-1:
5+
dev: 172.18.64.0/21
6+
stg: 172.18.72.0/21
7+
uat: 172.18.80.0/21
8+
prd: 172.18.88.0/21
9+
us-west-2:
10+
uat: 172.18.112.0/21
11+
prd: 172.18.120.0/21
212

313
modules:
414
us-east-1:
15+
network: true
16+
peering: true
17+
credentials: true
518
workspace: true
6-
datalake: false
7-
orchestration: false
8-
stream: false
9-
transforms: false
10-
events: false
11-
models: false
12-
dashboards: false
19+
encryption: true
20+
datalake: true
1321
us-west-2:
22+
network: true
23+
peering: true
24+
credentials: true
1425
workspace: true
15-
datalake: false
16-
orchestration: false
17-
stream: false
18-
transforms: false
19-
events: false
20-
models: false
21-
dashboards: false
26+
encryption: true
27+
datalake: true

0 commit comments

Comments
 (0)