File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: Shutdown Ephemeral Instance
22description : ' Shutdowns an Ephemeral Instance (PR Preview)'
33
44inputs :
5- localstack-auth-token :
5+ localstack-api-key :
66 description : ' LocalStack Auth Token used to access the platform api'
77 required : false
88 github-token :
3535 - name : Shutdown ephemeral instance
3636 shell : bash
3737 run : |
38- AUTH_HEADER="ls-api-key: ${LOCALSTACK_AUTH_TOKEN:-${LOCALSTACK_API_KEY:-${{ inputs.localstack-auth-token }}}}"
38+ AUTH_HEADER="ls-api-key: ${LOCALSTACK_AUTH_TOKEN:-${LOCALSTACK_API_KEY:-${{ inputs.localstack-api-key }}}}"
3939 CONTENT_TYPE_HEADER="content-type: application/json"
4040 API_URL_BASE="https://api.localstack.cloud/v1/compute/instances"
4141
Original file line number Diff line number Diff line change 55 github-token :
66 description : ' Github token used to create PR comments'
77 required : true
8- localstack-auth-token :
8+ localstack-api-key :
99 description : ' LocalStack Auth Token used to create the preview environment'
1010 required : false
1111 preview-cmd :
5959 shell : bash
6060 id : create-instance
6161 run : |
62- AUTH_HEADER="ls-api-key: ${LOCALSTACK_AUTH_TOKEN:-${LOCALSTACK_API_KEY:-${{ inputs.localstack-auth-token }}}}"
62+ AUTH_HEADER="ls-api-key: ${LOCALSTACK_AUTH_TOKEN:-${LOCALSTACK_API_KEY:-${{ inputs.localstack-api-key }}}}"
6363 CONTENT_TYPE_HEADER="content-type: application/json"
6464 API_URL_BASE="https://api.localstack.cloud/v1/compute/instances"
6565
@@ -160,7 +160,7 @@ runs:
160160 env :
161161 previewName : ${{ steps.preview-name.outputs.name }}
162162 run : |
163- AUTH_HEADER="ls-api-key: ${LOCALSTACK_AUTH_TOKEN:-${LOCALSTACK_API_KEY:-${{ inputs.localstack-auth-token }}}}"
163+ AUTH_HEADER="ls-api-key: ${LOCALSTACK_AUTH_TOKEN:-${LOCALSTACK_API_KEY:-${{ inputs.localstack-api-key }}}}"
164164 CONTENT_TYPE_HEADER="content-type: application/json"
165165 API_URL_BASE="https://api.localstack.cloud/v1/compute/instances"
166166
You can’t perform that action at this time.
0 commit comments