delete
Usage
prism delete
deletes your agent. For Docker agents, this means removing your image (and all intermediate ones) from the Docker engine. For EC2 agents, this means removing your EC2 instance and associated resources (e.g., key-pairs, security groups, etc.)
Usage: prism agent delete [OPTIONS]
Delete your agent.
Examples:
• prism agent delete -f ./ec2.yml
• prism graph delete -f /Users/agents.yml
╭─ Options ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ * --file -f TEXT Path to agent configuration YML │
│ [required] │
│ --log-level -l [info|warn|error|debug] Set the log level │
│ --full-tb Show the full traceback when an error occurs │
│ --help Show this message and exit. │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
Example
Here's what the output looks like in Terminal (using a Docker agent as an example):
$ prism agent delete -f ./docker_agent.yml
--------------------------------------------------------------------------------
08:56:30 | INFO | Deleting agent...
etl-project-docker-agent:1.1[delete] | Deleting image etl-project-docker-agent:1.1
--------------------------------------------------------------------------------