{
  "cli_version": "1.11.0",
  "project": "vertex-ai-experminent",
  "project_number": "913703049174",
  "region": "us-central1",
  "agent_runtime_dry_run": {
    "command": "agents-cli deploy --deployment-target agent_runtime --project vertex-ai-experminent --region us-central1 --cpu 2 --memory 4Gi --concurrency 8 --min-instances 1 --max-instances 6 --dry-run",
    "exit_code": 0,
    "preflight_checks": {
      "apis_enabled": ["aiplatform.googleapis.com"],
      "target_engine": "creates a new engine named 'shipctl-docs'",
      "iam_permissions_granted": [
        "aiplatform.reasoningEngines.create",
        "aiplatform.reasoningEngines.update",
        "resourcemanager.projects.getIamPolicy",
        "resourcemanager.projects.setIamPolicy"
      ]
    },
    "runtime_shape": {
      "cpu": "2",
      "memory": "4Gi",
      "min_instances": 1,
      "max_instances": 6,
      "container_concurrency": 8
    }
  },
  "cloud_run_dry_run": {
    "command": "agents-cli deploy --deployment-target cloud_run --project vertex-ai-experminent --region us-central1 --cpu 1 --memory 4Gi --concurrency 8 --min-instances 1 --max-instances 10 --secrets SHIPCTL_TOKEN=shipctl-ci-token:latest --dry-run",
    "exit_code": 0,
    "would_run": "gcloud run deploy shipctl-docs --project vertex-ai-experminent --region us-central1 --source . --memory 4Gi --cpu 1 --min-instances 1 --max-instances 10 --concurrency 8 --no-allow-unauthenticated --no-cpu-throttling --update-env-vars 'GOOGLE_GENAI_USE_ENTERPRISE=***,GOOGLE_CLOUD_PROJECT=***,GOOGLE_CLOUD_LOCATION=***,AGENT_VERSION=***,ADK_CAPTURE_MESSAGE_CONTENT_IN_SPANS=***,APP_URL=***' --update-secrets 'SHIPCTL_TOKEN=***' --update-labels 'created-by=***'"
  },
  "deployment_metadata": {
    "remote_agent_runtime_id": "projects/913703049174/locations/us-central1/reasoningEngines/7482910384756192000",
    "deployment_target": "agent_runtime",
    "is_a2a": true,
    "agent_name": "shipctl-docs",
    "region": "us-central1",
    "project": "vertex-ai-experminent"
  },
  "failures": {
    "gke_cpu_flag_rejected": {
      "command": "agents-cli deploy --deployment-target gke --project vertex-ai-experminent --region us-central1 --cpu 2 --dry-run",
      "exit_code": 1,
      "error": "--cpu is only supported for Agent Runtime and Cloud Run deployments (current target: gke).\n  On GKE, configure sizing via Terraform and the HorizontalPodAutoscaler under deployment/terraform/."
    },
    "terraform_after_imperative_deploy": {
      "error": "Resource ownership conflict: imperative 'agents-cli deploy' created the service before 'terraform apply'. Running 'terraform apply' now fails with 409 Already Exists (or creates a duplicate Agent Runtime engine). Provision Terraform first or import the resource."
    }
  }
}
