From b7116d2bc2563cd0a60863bc919ec3146cad0c6a Mon Sep 17 00:00:00 2001 From: Delong Yang Date: Tue, 15 Apr 2025 14:24:17 -0400 Subject: [PATCH 1/3] Fix a typo --- eks_automation/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eks_automation/app.py b/eks_automation/app.py index dcd50ff..8bd6b50 100644 --- a/eks_automation/app.py +++ b/eks_automation/app.py @@ -137,7 +137,7 @@ def operate_github(new_repo_name, eks_settings, output_hcl): # Commit and push the changes. cloned_repo.index.add(output_hcl) - commit_message = "Add the EKS paramter file by the Lambda function" + commit_message = "Add the EKS parameter file by the Lambda function" cloned_repo.index.commit(commit_message) cloned_repo.git.push("--set-upstream", origin.name, "main", force=True) From f353444b317ebf220ef020c4f77f76844faf9aad Mon Sep 17 00:00:00 2001 From: David John Arnold Jr Date: Tue, 15 Apr 2025 13:08:31 -0700 Subject: [PATCH 2/3] Update gh-token.yaml --- .github/workflows/gh-token.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/gh-token.yaml b/.github/workflows/gh-token.yaml index 8f668b8..2c319a5 100644 --- a/.github/workflows/gh-token.yaml +++ b/.github/workflows/gh-token.yaml @@ -10,7 +10,7 @@ jobs: name: Refresh GitHub Token uses: CSVD/centralized-actions/.github/workflows/upload-github-token.yml@main with: - aws_region: 'us-east-1' + aws_region: 'us-gov-west-1' secret_name: '/dev/eks_automation_github_token' # This matches the SECRET_NAME in app.py github_app_id: ${{ vars.GITHUB_APP_ID }} github_installation_id: ${{ vars.GITHUB_INSTALLATION_ID }} From eb500b2b1bba12328802ef8c34950dc3ea3dbb2f Mon Sep 17 00:00:00 2001 From: David John Arnold Jr Date: Tue, 15 Apr 2025 14:06:21 -0700 Subject: [PATCH 3/3] Update gh-token.yaml --- .github/workflows/gh-token.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/gh-token.yaml b/.github/workflows/gh-token.yaml index 2c319a5..f5ede45 100644 --- a/.github/workflows/gh-token.yaml +++ b/.github/workflows/gh-token.yaml @@ -12,8 +12,8 @@ jobs: with: aws_region: 'us-gov-west-1' secret_name: '/dev/eks_automation_github_token' # This matches the SECRET_NAME in app.py - github_app_id: ${{ vars.GITHUB_APP_ID }} - github_installation_id: ${{ vars.GITHUB_INSTALLATION_ID }} + github_app_id: ${{ vars.GH_APP_ID }} + github_installation_id: ${{ vars.GH_APP_INSTALLATION_ID }} use_ecs_credentials: true secrets: - github_app_private_key: ${{ secrets.GITHUB_APP_PRIVATE_KEY }} + github_app_private_key: ${{ secrets.GH_APP_PEM_FILE }}