File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 35
35
uses : aws-actions/configure-aws-credentials@v4
36
36
with :
37
37
role-to-assume : arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID }}:role/Github
38
- aws-region : us-east-1
38
+ aws-region : us-west-2
39
39
40
40
- name : Set up Python virtual environment
41
41
run : python -m venv .venv
49
49
- name : Generate config from template
50
50
run : |
51
51
source .venv/bin/activate
52
- python -c "
52
+ cat <<'EOF' > generate_config.py
53
53
import json, boto3
54
54
from pathlib import Path
55
55
@@ -72,7 +72,8 @@ output_path.parent.mkdir(exist_ok=True, parents=True)
72
72
with open(output_path, 'w') as f :
73
73
json.dump(config, f, indent=2)
74
74
print(f'Wrote {output_path}')
75
- "
75
+ EOF
76
+ python generate_config.py
76
77
77
78
- name : Install CDK project dependencies
78
79
run : |
You can’t perform that action at this time.
0 commit comments