Skip to content

Commit 735a7fd

Browse files
committed
modification
1 parent 307579a commit 735a7fd

File tree

10 files changed

+23
-339
lines changed

10 files changed

+23
-339
lines changed

.github/workflows/security.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ jobs:
2525
uses: aws-actions/configure-aws-credentials@v2
2626
with:
2727
role-to-assume: arn:aws:iam::779187867366:role/CodeGuruSecurityGitHubAccessRole
28-
aws-region: us-east-1
28+
aws-region: us-west-2
2929
role-session-name: GitHubActionScript
3030

3131
- name: CodeGuru Security
3232
uses: aws-actions/codeguru-security@v1
3333
with:
3434
source_path: .
35-
aws_region: us-east-1
35+
aws_region: us-west-2
3636
fail_on_severity: Critical
3737
- name: Print findings
3838
run: |

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,7 @@ amplify_outputs*
4040
amplifyconfiguration*
4141

4242
# env files
43-
.env.*
43+
.env.*
44+
45+
# git files
46+
.github/*

script/agent-cloudformation/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ python deploy-agent.py \
4747

4848
### 3. AWS 프로필 사용
4949
```bash
50-
python deploy-agent.py --profile my-aws-profile --region us-east-1
50+
python deploy-agent.py --profile my-aws-profile --region us-west-2
5151
```
5252

5353
## 배포 매개변수

script/agent-cloudformation/bedrock-agent.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ Resources:
105105
print(f"📦 Request Body: {request_body}")
106106
107107
# DynamoDB 클라이언트 초기화
108-
dynamodb = boto3.resource('dynamodb', region_name='us-east-1')
108+
dynamodb = boto3.resource('dynamodb', region_name='us-west-2')
109109
110110
if api_path == '/search_classes' and http_method == 'POST':
111111
# requestBody에서 content 추출

script/agent-cloudformation/deploy-agent.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
from botocore.exceptions import ClientError, NoCredentialsError
1414

1515
class BedrockAgentDeployer:
16-
def __init__(self, region='us-east-1', profile=None):
16+
def __init__(self, region='us-west-2', profile=None):
1717
"""Initialize the deployer with AWS session"""
1818
try:
1919
if profile:
@@ -259,7 +259,7 @@ def main():
259259
help='CloudFormation stack name')
260260
parser.add_argument('--agent-name', default='CourseSearchAgent',
261261
help='Bedrock Agent name')
262-
parser.add_argument('--region', default='us-east-1',
262+
parser.add_argument('--region', default='us-west-2',
263263
help='AWS region')
264264
parser.add_argument('--profile',
265265
help='AWS profile name')

script/lambda-function-enhanced.py

Lines changed: 0 additions & 198 deletions
This file was deleted.

script/migrate-search-fields.js

Lines changed: 0 additions & 123 deletions
This file was deleted.

0 commit comments

Comments
 (0)