|
413 | 413 | "description": "Key of a project profile to use as the environment's primary profile.", |
414 | 414 | "default": null |
415 | 415 | }, |
| 416 | + "is_active": { |
| 417 | + "type": ["boolean", "null"], |
| 418 | + "description": "Whether the environment is active.", |
| 419 | + "default": true |
| 420 | + }, |
| 421 | + "deployment_type": { |
| 422 | + "type": ["string", "null"], |
| 423 | + "enum": ["production", "staging", "other", null], |
| 424 | + "description": "Deployment environment type (dbtcloud_environment deployment_type). Only valid for deployment environments.", |
| 425 | + "default": null |
| 426 | + }, |
416 | 427 | "id": { |
417 | 428 | "type": ["integer", "null"], |
418 | 429 | "description": "Optional environment ID for reference.", |
419 | 430 | "minimum": 1 |
420 | 431 | } |
421 | 432 | }, |
422 | | - "required": ["key", "name", "type", "connection"], |
| 433 | + "required": ["key", "name", "type"], |
| 434 | + "anyOf": [ |
| 435 | + { "required": ["connection"] }, |
| 436 | + { "required": ["primary_profile_key"] } |
| 437 | + ], |
423 | 438 | "additionalProperties": false |
424 | 439 | }, |
425 | 440 | "jobTriggers": { |
|
699 | 714 | "minLength": 1, |
700 | 715 | "maxLength": 128 |
701 | 716 | }, |
| 717 | + "description": { |
| 718 | + "type": ["string", "null"], |
| 719 | + "description": "Project description. Shown in dbt Explorer.", |
| 720 | + "default": null |
| 721 | + }, |
| 722 | + "type": { |
| 723 | + "type": ["integer", "null"], |
| 724 | + "description": "Project type: 0 = default, 1 = hybrid.", |
| 725 | + "enum": [0, 1, null], |
| 726 | + "default": null |
| 727 | + }, |
| 728 | + "dbt_project_subdirectory": { |
| 729 | + "type": ["string", "null"], |
| 730 | + "description": "Subdirectory within the repository where the dbt project lives.", |
| 731 | + "default": null |
| 732 | + }, |
702 | 733 | "protected": { |
703 | 734 | "type": ["boolean", "null"], |
704 | 735 | "description": "If true, Terraform will prevent this resource from being destroyed (lifecycle.prevent_destroy = true)", |
|
0 commit comments