code
sifflet code workspace
Manages workspaces.
sifflet code workspace init
Description
Creates a new Workspace YAML file locally.
sifflet code workspace init --file <file_name> --name <workspace_name>
Options
--file
(string)
Path of the Workspace YAML file
--name
(string)
Name of the new workspace
sifflet code workspace list
Description
List all workspaces.
sifflet code workspace list
Options
sifflet code workspace apply
Description
Apply the specified workspace.
sifflet code workspace apply --file <file_name> --dry-run --force-delete
Options
--file
(string)
Path of the Workspace YAML file to deploy
--dry-run
(flag)
Only return the plan for the changes without executing them
--force-delete
(flag)
Allow deleting the objects in the workspace if they are removed from the workspace files
--fail-on-error
(flag)
Fail the entire update if any error is detected
Deleting attached monitors
By default, if a monitor file is removed (or is not part of the files included in the workspace anymore), the apply command will fail.
You can disable this protection by using the
--force-delete
flag.
sifflet code workspace delete
Description
Deletes a workspace.
Via the file definition of the workspace:
sifflet code workspace delete --file <file_name> --dry-run
or via the ID of the workspace:
sifflet code workspace delete --id <id> --dry-run
Options
--id
(string)
ID of the workspace to delete
--file
(string)
Path of the Workspace YAML file to delete
--dry-run
(flag)
Only return the plan for the changes without executing them
sifflet code monitor
Manages monitors.
sifflet code monitor init
Description
Creates a new Monitor YAML file locally.
sifflet code monitor init --file <file_name> --name <monitor_name>
Options
--file
(string)
Path of the Monitor YAML file
--name
(string)
Name of the new monitor
Updated 8 months ago