File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 - main
88
99permissions :
10- id-token : write
11- contents : read
10+ contents : read # ✅ OIDC 인증 방지 → 'id-token: write' 제거됨
1211
1312jobs :
1413 deploy :
@@ -68,10 +67,11 @@ jobs:
6867 aws-region : us-east-1
6968 mask-aws-account-id : true
7069
71- - name : Verify AWS credentials and permissions
70+ - name : 🕵️ Verify current IAM identity
71+ run : aws sts get-caller-identity # ✅ 디버깅용: 실제 IAM 사용자 확인
72+
73+ - name : Verify AWS permissions
7274 run : |
73- echo "Verifying AWS credentials..."
74- aws sts get-caller-identity
7575 echo "Checking CloudFront permissions..."
7676 aws cloudfront list-distributions --max-items 1
7777 echo "Checking S3 permissions..."
9292 echo "Waiting for invalidation to complete..."
9393 aws cloudfront wait invalidation-completed \
9494 --distribution-id $CLOUDFRONT_ID \
95- --id $INVALIDATION_ID
95+ --id $INVALIDATION_ID
You can’t perform that action at this time.
0 commit comments