astronomer / astro-cli

CLI that makes it easy to create, test and deploy Airflow DAGs to Astronomer
https://www.astronomer.io
Other
356 stars 70 forks source link

DEV-Deployment type to be changed from HOSTED_SHARED to HOSTED_STANDARD in inspect response #1266

Closed shri-astro closed 9 months ago

shri-astro commented 1 year ago

The response for inspecting an existing deployment is as follows: The deployment type is seen as HOSTED_SHARED which is internal to Astronomer as it is communicated to the end user as HOSTED_STANDARD due to the recent name change.

shrividyahegde@Shrividyas-MacBook-Pro Documents % astro deployment inspect            
Select a Deployment
 #     DEPLOYMENT NAME                       RELEASE NAME                     DEPLOYMENT ID                  DAG DEPLOY ENABLED     
 1     gcp_test_standard                     planetoidal-gegenschein-1614     clix117rh103281jxa9sgyorxg     false                  
 2     qwerty                                barren-parallax-1415             clix15tmm117561iyyf65j7ghx     false                  
 3     gcp_test_standard_through_inspect     ultraviolet-ionosphere-7533      clix47lns235701iz1ddgrjtka     false                  
 4     gcp_standard                          newtonian-ionization-1282        clix5x8nv342781jxabusoal5z     false                  

> 4
deployment:
    configuration:
        name: gcp_standard
        description: ""
        runtime_version: 8.4.0
        dag_deploy_enabled: false
        ci_cd_enforcement: true
        scheduler_size: small
        is_high_availability: false
        executor: CeleryExecutor
        scheduler_au: 10
        scheduler_count: 1
        cluster_name: us-central1
        workspace_name: Test Automated Workspace
        deployment_type: HOSTED_SHARED
        cloud_provider: gcp
        region: us-central1
    worker_queues:
        - name: default
          max_worker_count: 10
          min_worker_count: 0
          worker_concurrency: 20
          worker_type: a20
    metadata:
        deployment_id: clix5x8nv342781jxabusoal5z
        workspace_id: clix0m97m001i01oiqr98vqb5
        cluster_id: us-central1
        release_name: N/A
        airflow_version: 2.6.1
        current_tag: 8.4.0
        status: UNKNOWN
        created_at: 2023-06-15T13:14:20.827Z
        updated_at: 2023-06-15T13:20:15.194Z
        deployment_url: cloud.astronomer-dev.io/clix0m97m001i01oiqr98vqb5/deployments/clix5x8nv342781jxabusoal5z/analytics
        webserver_url: org-shri-hosted-dedicated-1.astronomer-dev.run/dusoal5z
        workload_identity: astro-newtonian-ionization-128@astro-gcp-data-plane-dev.iam.gserviceaccount.com

shrividyahegde@Shrividyas-MacBook-Pro Documents % 

What CLI Version did you experience this bug?

1.16.1

This CLI bug is related to which Astronomer Platform?

What Operating System is the above CLI installed on? Apple M1 Pro

shri-astro commented 9 months ago

Resolved