Skip to content

Commit cd85780

Browse files
authored
Update action.yml
1 parent 944fd15 commit cd85780

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ephemeral/startup/action.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ runs:
7373
extensionAutoInstall="${EXTENSION_AUTO_INSTALL:-${{ inputs.extension-auto-install }}}"
7474
lifetime="${{ inputs.lifetime }}"
7575
76+
echo "Checking if instance exists"
7677
list_response=$(curl -X GET \
7778
-H "ls-api-key: ${LOCALSTACK_AUTH_TOKEN:-${LOCALSTACK_API_KEY:-${{ inputs.localstack-api-key }}}}" \
7879
-H "content-type: application/json" \
@@ -87,6 +88,7 @@ runs:
8788
https://api.localstack.cloud/v1/compute/instances/$previewName)
8889
fi
8990
91+
echo "Now trying to make an instance"
9092
response=$(curl -X POST -d "{\"instance_name\": \"${previewName}\", \"lifetime\": ${lifetime} ,\"env_vars\": {\"AUTO_LOAD_POD\": \"${autoLoadPod}\", \"EXTENSION_AUTO_INSTALL\": \"${extensionAutoInstall}\"}}"\
9193
-H "ls-api-key: ${LOCALSTACK_AUTH_TOKEN:-${LOCALSTACK_API_KEY:-${{ inputs.localstack-api-key }}}}" \
9294
-H "content-type: application/json" \

0 commit comments

Comments
 (0)