Skip to content

Commit 254b205

Browse files
committed
use temp creds
Signed-off-by: Tao Liu <liutaoaz@amazon.com>
1 parent dcce7d4 commit 254b205

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

.github/workflows/deployment-template.yml

-9
Original file line numberDiff line numberDiff line change
@@ -135,15 +135,6 @@ jobs:
135135
with:
136136
role-to-assume: arn:aws:iam::${{ secrets.aws_account_id }}:role/eks${{inputs.deploy-env}}adminrole-github
137137
aws-region: ${{ secrets.region }}
138-
output-credentials: true
139-
140-
- name: Step 6 - Configure AWS Credentials
141-
uses: aws-actions/configure-aws-credentials@v4
142-
with:
143-
aws-access-key-id: ${{ steps.creds.outputs.aws-access-key-id }}
144-
aws-secret-access-key: ${{ steps.creds.outputs.aws-secret-access-key }}
145-
aws-session-token: ${{ steps.creds.outputs.aws-session-token }}
146-
aws-region: ${{ secrets.region }}
147138

148139
- name: Step 7 - Delete Logstash
149140
if: ${{ (inputs.deploy-env == 'preview') || (inputs.deploy-env == 'searchapps') || (inputs.deploy-env == 'observability') }}

0 commit comments

Comments
 (0)