astronomer / terraform-provider-astro

Astro Terraform Provider
https://registry.terraform.io/providers/astronomer/astro/latest
Other
11 stars 4 forks source link

create deploymentOptions data source #16

Closed vandyliu closed 7 months ago

vandyliu commented 7 months ago

We will need to include these query params as optional

    type getDeploymentOptionsParams struct {
        DeploymentId   string `form:"deploymentId" binding:"omitempty,isCuid"`
        DeploymentType string `form:"deploymentType" binding:"omitempty,isPublicDeploymentType"`
        Executor       string `form:"executor" binding:"omitempty,oneof=CELERY KUBERNETES" enum:"CELERY,KUBERNETES"`
        CloudProvider  string `form:"cloudProvider" binding:"omitempty,isPublicCloudProvider"`
    }