Skip to content

Commit b094142

Browse files
Change AWS region in GitHub Actions workflow
Updated AWS region from us-east-1 to us-west-2 in workflow.
1 parent 176b006 commit b094142

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
uses: aws-actions/configure-aws-credentials@v4
3636
with:
3737
role-to-assume: arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID }}:role/Github
38-
aws-region: us-east-1
38+
aws-region: us-west-2
3939

4040
- name: Set up Python virtual environment
4141
run: python -m venv .venv
@@ -49,7 +49,7 @@ jobs:
4949
- name: Generate config from template
5050
run: |
5151
source .venv/bin/activate
52-
python -c "
52+
cat <<'EOF' > generate_config.py
5353
import json, boto3
5454
from pathlib import Path
5555

@@ -72,7 +72,8 @@ output_path.parent.mkdir(exist_ok=True, parents=True)
7272
with open(output_path, 'w') as f:
7373
json.dump(config, f, indent=2)
7474
print(f'Wrote {output_path}')
75-
"
75+
EOF
76+
python generate_config.py
7677

7778
- name: Install CDK project dependencies
7879
run: |

0 commit comments

Comments
 (0)