Code bundle
Test-EdgeWorkerCodeBundle
Synopsis
Validate an EdgeWorkers code bundle.
Syntax
Test-EdgeWorkerCodeBundle -CodeDirectory <String> [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Test-EdgeWorkerCodeBundle -CodeBundle <String> [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Description
Checks your EdgeWorker code bundle for validation errors. You can either specify the -CodeBundle
as a local .tgz file or use the -CodeDirectory
parameter to automatically compress a given directory and validate its content.
Parameters
‑AccountSwitchKey |
An account credential key that lets you move between accounts when using an API client enabled for multiple accounts. To find account switch keys, use Get-AccountSwitchKey. |
‑CodeBundle Conditionally required |
The location of a local TGZ file containing your Edge Worker code. |
‑CodeDirectory Conditionally required |
A local directory containing your Edge Worker code. Note: Requires that your operating system contains the |
‑EdgeRCFile |
Your EdgeGrid resource file to authenticate your command. Defaults to |
‑Section |
The section name in your EdgeGrid resource file to retrieve authentication credentials from. Defaults to |
Related Links
Updated about 5 hours ago