Skip to content

Commit e88acfc

Browse files
committed
fixup
1 parent 9036a17 commit e88acfc

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

ephemeral/shutdown/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Shutdown Ephemeral Instance
22
description: 'Shutdowns an Ephemeral Instance (PR Preview)'
33

44
inputs:
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:
@@ -35,7 +35,7 @@ runs:
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

ephemeral/startup/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ inputs:
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:
@@ -59,7 +59,7 @@ runs:
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

0 commit comments

Comments
 (0)