Skip to content

astro deployment create: "--wait" and "--deployment-file" in the same time #1894

@DmitryTiunov

Description

@DmitryTiunov

Good day.
When I try to create a new deployment using Astro CLI, I always face problem where I cannot use --wait and --deployment-file options at the same time:

astro deployment create --wait --deployment-file airflow_config.yaml
  shell: /usr/bin/bash -e {0}
  env:
    AWS_REGION_NAME: us-west-2
Error: --deployment-file can not be used with other arguments
...
Error: Process completed with exit code 1.

Can you explain me if there is a way to set waiting for positive status in deployment-file?
-i, --wait Wait for the Deployment to become healthy before ending the command

Metadata

Metadata

Assignees

No one assigned

    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