3030 }
3131 env :
3232 # intentially left `LOCALSTACK_API_KEY` as env here, to ensure the fallback still works for old version
33- LOCALSTACK_API_KEY : ${{ secrets.LOCALSTACK_API_KEY }}
33+ LOCALSTACK_API_KEY : ${{ secrets.LOCALSTACK_AUTH_TOKEN }}
3434 GH_ACTION_VERSION : ${{ (github.event_name == 'pull_request' && github.event.pull_request.head.sha) || github.ref_name }}
3535
3636 - name : Run Version Test Against LocalStack
5959 "use-pro": "true",
6060 }
6161 env :
62- LOCALSTACK_AUTH_TOKEN : ${{ secrets.LOCALSTACK_API_KEY }}
62+ LOCALSTACK_AUTH_TOKEN : ${{ secrets.LOCALSTACK_AUTH_TOKEN }}
6363 GH_ACTION_VERSION : ${{ (github.event_name == 'pull_request' && github.event.pull_request.head.sha) || github.ref_name }}
6464
6565 - name : Generate random pod name
@@ -81,14 +81,14 @@ jobs:
8181 "state-action": "save",
8282 }
8383 env :
84- LOCALSTACK_AUTH_TOKEN : ${{ secrets.LOCALSTACK_API_KEY }}
84+ LOCALSTACK_AUTH_TOKEN : ${{ secrets.LOCALSTACK_AUTH_TOKEN }}
8585 GH_ACTION_VERSION : ${{ (github.event_name == 'pull_request' && github.event.pull_request.head.sha) || github.ref_name }}
8686
8787 - name : Verify Cloud Pod
8888 run : |
8989 localstack pod list | grep ${{ steps.pod_name.outputs.name }}
9090 env :
91- LOCALSTACK_AUTH_TOKEN : ${{ secrets.LOCALSTACK_API_KEY }}
91+ LOCALSTACK_AUTH_TOKEN : ${{ secrets.LOCALSTACK_AUTH_TOKEN }}
9292
9393
9494 load-cloud-pod-test :
@@ -113,7 +113,7 @@ jobs:
113113 "state-action": "load"
114114 }
115115 env :
116- LOCALSTACK_AUTH_TOKEN : ${{ secrets.LOCALSTACK_API_KEY }}
116+ LOCALSTACK_AUTH_TOKEN : ${{ secrets.LOCALSTACK_AUTH_TOKEN }}
117117 GH_ACTION_VERSION : ${{ (github.event_name == 'pull_request' && github.event.pull_request.head.sha) || github.ref_name }}
118118
119119 - name : Verify loaded resources
@@ -126,7 +126,7 @@ jobs:
126126 - name : Clean up remote pod
127127 run : localstack pod delete ${{ needs.cloud-pods-save-test.outputs.pod-name }}
128128 env :
129- LOCALSTACK_AUTH_TOKEN : ${{ secrets.LOCALSTACK_API_KEY }}
129+ LOCALSTACK_AUTH_TOKEN : ${{ secrets.LOCALSTACK_AUTH_TOKEN }}
130130
131131
132132 - name : Verify successful cleanup of Cloud Pod
@@ -138,7 +138,7 @@ jobs:
138138 fi
139139 echo "Pod successfully deleted."
140140 env :
141- LOCALSTACK_AUTH_TOKEN : ${{ secrets.LOCALSTACK_API_KEY }}
141+ LOCALSTACK_AUTH_TOKEN : ${{ secrets.LOCALSTACK_AUTH_TOKEN }}
142142
143143
144144 local-state-save-test :
@@ -160,7 +160,7 @@ jobs:
160160 "use-pro": "true",
161161 }
162162 env :
163- LOCALSTACK_AUTH_TOKEN : ${{ secrets.LOCALSTACK_API_KEY }}
163+ LOCALSTACK_AUTH_TOKEN : ${{ secrets.LOCALSTACK_AUTH_TOKEN }}
164164 GH_ACTION_VERSION : ${{ (github.event_name == 'pull_request' && github.event.pull_request.head.sha) || github.ref_name }}
165165
166166 - name : Run AWS commands
@@ -179,7 +179,7 @@ jobs:
179179 "state-backend": "local",
180180 }
181181 env :
182- LOCALSTACK_AUTH_TOKEN : ${{ secrets.LOCALSTACK_API_KEY }}
182+ LOCALSTACK_AUTH_TOKEN : ${{ secrets.LOCALSTACK_AUTH_TOKEN }}
183183 GH_ACTION_VERSION : ${{ (github.event_name == 'pull_request' && github.event.pull_request.head.sha) || github.ref_name }}
184184
185185 local-state-load-test :
@@ -205,7 +205,7 @@ jobs:
205205 "state-backend": "local",
206206 }
207207 env :
208- LOCALSTACK_AUTH_TOKEN : ${{ secrets.LOCALSTACK_API_KEY }}
208+ LOCALSTACK_AUTH_TOKEN : ${{ secrets.LOCALSTACK_AUTH_TOKEN }}
209209 GH_ACTION_VERSION : ${{ github.event_name == 'pull_request' && github.head_ref || github.ref_name }}
210210
211211 - name : Run AWS Commands
0 commit comments