Skip to content

Import Automation - Error already exists despite passing in --replace flag #66

@davhparry

Description

@davhparry

An error is thrown when attempting to import an 'automation' that exists in the target environment, even using the --replace flag.

ipctl import automation 'bundles/automation/Port Turn Up E2E.automation.json' --config ./bin/config --profile local --replace --verbose
2025-03-12T09:56:12Z INF connection timeout is 5 second(s)
2025-03-12T09:56:12Z INF Creating new http client
2025-03-12T09:56:12Z INF POST https://localhost:3443/login
2025-03-12T09:56:13Z INF HTTP response is 200 OK
2025-03-12T09:56:13Z INF GET https://localhost:3443/operations-manager/automations?limit=100
2025-03-12T09:56:13Z INF HTTP response is 200 OK
2025-03-12T09:56:13Z INF Found 6 automations
Error: automation Port Turn Up E2E already exists on the server

2025-03-12T09:56:13Z FTL error="automation Port Turn Up E2E already exists on the server"

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions