File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change 2323        value : ${{ jobs.terraform.outputs.app_name }} 
2424
2525
26+ 
2627permissions :
2728  id-token : write 
2829  contents : read 
2930  actions : read 
31+ 
3032jobs :
3133  terraform :
3234    name : Terraform Deployment 
4446      - name : Checkout Repository 
4547        uses : actions/checkout@v5 
4648
49+       - name : Debug GitHub Context 
50+         run : | 
51+           echo "Repository: ${{ github.repository }}" 
52+           echo "Ref: ${{ github.ref }}" 
53+           echo "Event: ${{ github.event_name }}" 
54+           echo "Expected sub claim: repo:${{ github.repository }}:ref:${{ github.ref }}" 
55+           echo "Actual repository: karimzakzouk/graduation-project-devops" 
56+           AWS_ACCOUNT_ID=${{ secrets.AWS_ACCOUNT_ID }} 
57+           echo "AWS_ACCOUNT_ID: $AWS_ACCOUNT_ID" 
58+ 
4759       - name : Configure AWS credentials via OIDC 
4860        uses : aws-actions/configure-aws-credentials@v4 
4961        with :
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments