Skip to content

(cli) Exit code 0 when stackl apply fails #244

@stgrace

Description

@stgrace

Expected Result

Exit code other than 0

Actual Result

Exit code 0:

$ stackl apply -c stack-instance.yml example
{'status_code': 422, 'detail': 'Could not find a target for services {"example"}', 'headers': None}
Job succeeded

Steps To Reproduce

Create a stack instance that fails due to a policy. Check the exit code with echo $?.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions