Skip to content

Commit f1fe57d

Browse files
authored
Update action.yml
1 parent cd85780 commit f1fe57d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

ephemeral/startup/action.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,11 @@ runs:
8989
fi
9090
9191
echo "Now trying to make an instance"
92+
echo "curl -X POST -d '{\"instance_name\": \"${previewName}\", \"lifetime\": ${lifetime}, \"env_vars\": {\"AUTO_LOAD_POD\": \"${autoLoadPod}\", \"EXTENSION_AUTO_INSTALL\": \"${extensionAutoInstall}\"}}' \
93+
-H \"ls-api-key: ${LOCALSTACK_AUTH_TOKEN:-${LOCALSTACK_API_KEY:-${{ inputs.localstack-api-key }}}}\" \
94+
-H \"content-type: application/json\" \
95+
https://api.localstack.cloud/v1/compute/instances"
96+
9297
response=$(curl -X POST -d "{\"instance_name\": \"${previewName}\", \"lifetime\": ${lifetime} ,\"env_vars\": {\"AUTO_LOAD_POD\": \"${autoLoadPod}\", \"EXTENSION_AUTO_INSTALL\": \"${extensionAutoInstall}\"}}"\
9398
-H "ls-api-key: ${LOCALSTACK_AUTH_TOKEN:-${LOCALSTACK_API_KEY:-${{ inputs.localstack-api-key }}}}" \
9499
-H "content-type: application/json" \

0 commit comments

Comments
 (0)