|
| 1 | +{ |
| 2 | + "version": 4, |
| 3 | + "terraform_version": "1.5.5", |
| 4 | + "serial": 4, |
| 5 | + "lineage": "[UUID]", |
| 6 | + "outputs": {}, |
| 7 | + "resources": [ |
| 8 | + { |
| 9 | + "mode": "managed", |
| 10 | + "type": "databricks_job", |
| 11 | + "name": "test_job", |
| 12 | + "provider": "provider[\"registry.terraform.io/databricks/databricks\"]", |
| 13 | + "instances": [ |
| 14 | + { |
| 15 | + "schema_version": 2, |
| 16 | + "attributes": { |
| 17 | + "always_running": false, |
| 18 | + "budget_policy_id": null, |
| 19 | + "continuous": [], |
| 20 | + "control_run_state": false, |
| 21 | + "dbt_task": [], |
| 22 | + "deployment": [ |
| 23 | + { |
| 24 | + "kind": "BUNDLE", |
| 25 | + "metadata_file_path": "/Workspace/Users/[USERNAME]/.bundle/migrate-basic-test/default/state/metadata.json" |
| 26 | + } |
| 27 | + ], |
| 28 | + "description": null, |
| 29 | + "edit_mode": "UI_LOCKED", |
| 30 | + "email_notifications": [], |
| 31 | + "environment": [], |
| 32 | + "existing_cluster_id": null, |
| 33 | + "format": "MULTI_TASK", |
| 34 | + "git_source": [], |
| 35 | + "health": [], |
| 36 | + "id": "[NUMID]", |
| 37 | + "job_cluster": [], |
| 38 | + "library": [], |
| 39 | + "max_concurrent_runs": 1, |
| 40 | + "max_retries": 0, |
| 41 | + "min_retry_interval_millis": 0, |
| 42 | + "name": "Test Migration Job", |
| 43 | + "new_cluster": [], |
| 44 | + "notebook_task": [], |
| 45 | + "notification_settings": [], |
| 46 | + "parameter": [], |
| 47 | + "performance_target": null, |
| 48 | + "pipeline_task": [], |
| 49 | + "python_wheel_task": [], |
| 50 | + "queue": [ |
| 51 | + { |
| 52 | + "enabled": true |
| 53 | + } |
| 54 | + ], |
| 55 | + "retry_on_timeout": false, |
| 56 | + "run_as": null, |
| 57 | + "run_job_task": [], |
| 58 | + "schedule": [], |
| 59 | + "spark_jar_task": [], |
| 60 | + "spark_python_task": [], |
| 61 | + "spark_submit_task": [], |
| 62 | + "tags": null, |
| 63 | + "task": [ |
| 64 | + { |
| 65 | + "clean_rooms_notebook_task": [], |
| 66 | + "condition_task": [], |
| 67 | + "dashboard_task": [], |
| 68 | + "dbt_cloud_task": [], |
| 69 | + "dbt_platform_task": [], |
| 70 | + "dbt_task": [], |
| 71 | + "depends_on": [], |
| 72 | + "description": "", |
| 73 | + "disable_auto_optimization": false, |
| 74 | + "disabled": false, |
| 75 | + "email_notifications": [], |
| 76 | + "environment_key": "", |
| 77 | + "existing_cluster_id": "", |
| 78 | + "for_each_task": [], |
| 79 | + "gen_ai_compute_task": [], |
| 80 | + "health": [], |
| 81 | + "job_cluster_key": "", |
| 82 | + "library": [], |
| 83 | + "max_retries": 0, |
| 84 | + "min_retry_interval_millis": 0, |
| 85 | + "new_cluster": [], |
| 86 | + "notebook_task": [ |
| 87 | + { |
| 88 | + "base_parameters": null, |
| 89 | + "notebook_path": "/Workspace/Users/[USERNAME]/.bundle/migrate-basic-test/default/files/notebook", |
| 90 | + "source": "WORKSPACE", |
| 91 | + "warehouse_id": "" |
| 92 | + } |
| 93 | + ], |
| 94 | + "notification_settings": [], |
| 95 | + "pipeline_task": [], |
| 96 | + "power_bi_task": [], |
| 97 | + "python_wheel_task": [], |
| 98 | + "retry_on_timeout": false, |
| 99 | + "run_if": "", |
| 100 | + "run_job_task": [], |
| 101 | + "spark_jar_task": [], |
| 102 | + "spark_python_task": [], |
| 103 | + "spark_submit_task": [], |
| 104 | + "sql_task": [], |
| 105 | + "task_key": "main", |
| 106 | + "timeout_seconds": 0, |
| 107 | + "webhook_notifications": [] |
| 108 | + } |
| 109 | + ], |
| 110 | + "timeout_seconds": 0, |
| 111 | + "timeouts": null, |
| 112 | + "trigger": [], |
| 113 | + "url": "[DATABRICKS_URL]/#job/[NUMID]", |
| 114 | + "usage_policy_id": null, |
| 115 | + "webhook_notifications": [] |
| 116 | + }, |
| 117 | + "sensitive_attributes": [], |
| 118 | + "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxODAwMDAwMDAwMDAwLCJ1cGRhdGUiOjE4MDAwMDAwMDAwMDB9LCJzY2hlbWFfdmVyc2lvbiI6IjIifQ==" |
| 119 | + } |
| 120 | + ] |
| 121 | + }, |
| 122 | + { |
| 123 | + "mode": "managed", |
| 124 | + "type": "databricks_pipeline", |
| 125 | + "name": "test_pipeline", |
| 126 | + "provider": "provider[\"registry.terraform.io/databricks/databricks\"]", |
| 127 | + "instances": [ |
| 128 | + { |
| 129 | + "schema_version": 0, |
| 130 | + "attributes": { |
| 131 | + "allow_duplicate_names": false, |
| 132 | + "budget_policy_id": null, |
| 133 | + "catalog": null, |
| 134 | + "cause": null, |
| 135 | + "channel": "CURRENT", |
| 136 | + "cluster": [], |
| 137 | + "cluster_id": null, |
| 138 | + "configuration": null, |
| 139 | + "continuous": false, |
| 140 | + "creator_user_name": "[USERNAME]", |
| 141 | + "deployment": [ |
| 142 | + { |
| 143 | + "kind": "BUNDLE", |
| 144 | + "metadata_file_path": "/Workspace/Users/[USERNAME]/.bundle/migrate-basic-test/default/state/metadata.json" |
| 145 | + } |
| 146 | + ], |
| 147 | + "development": false, |
| 148 | + "edition": "ADVANCED", |
| 149 | + "environment": [], |
| 150 | + "event_log": [], |
| 151 | + "expected_last_modified": 0, |
| 152 | + "filters": [], |
| 153 | + "gateway_definition": [], |
| 154 | + "health": null, |
| 155 | + "id": "[UUID]", |
| 156 | + "ingestion_definition": [], |
| 157 | + "last_modified": [UNIX_TIME_MILLIS], |
| 158 | + "latest_updates": null, |
| 159 | + "library": [ |
| 160 | + { |
| 161 | + "file": [], |
| 162 | + "glob": [], |
| 163 | + "jar": "", |
| 164 | + "maven": [], |
| 165 | + "notebook": [ |
| 166 | + { |
| 167 | + "path": "/Workspace/Users/[USERNAME]/.bundle/migrate-basic-test/default/files/pipeline" |
| 168 | + } |
| 169 | + ], |
| 170 | + "whl": "" |
| 171 | + } |
| 172 | + ], |
| 173 | + "name": "Test Migration Pipeline", |
| 174 | + "notification": [], |
| 175 | + "photon": false, |
| 176 | + "restart_window": [], |
| 177 | + "root_path": null, |
| 178 | + "run_as": [], |
| 179 | + "run_as_user_name": "[USERNAME]", |
| 180 | + "schema": null, |
| 181 | + "serverless": false, |
| 182 | + "state": "IDLE", |
| 183 | + "storage": "dbfs:/pipelines/[UUID]", |
| 184 | + "tags": { |
| 185 | + "myjob_id": "[NUMID]", |
| 186 | + "myjob_name": "Test Migration Job", |
| 187 | + "myjob_timeout": "0", |
| 188 | + "myvolume_id": "mycat.myschema.myvol", |
| 189 | + "volume_catalog_name": "mycat", |
| 190 | + "volume_storage_location": "s3://deco-uc-prod-isolated-aws-us-east-1/metastore/[UUID]/volumes/[UUID]" |
| 191 | + }, |
| 192 | + "target": null, |
| 193 | + "timeouts": null, |
| 194 | + "trigger": [], |
| 195 | + "url": "[DATABRICKS_URL]/#joblist/pipelines/[UUID]" |
| 196 | + }, |
| 197 | + "sensitive_attributes": [], |
| 198 | + "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxMjAwMDAwMDAwMDAwLCJkZWZhdWx0IjoxMjAwMDAwMDAwMDAwLCJkZWxldGUiOjEyMDAwMDAwMDAwMDAsInJlYWQiOjEyMDAwMDAwMDAwMDAsInVwZGF0ZSI6MTIwMDAwMDAwMDAwMH19", |
| 199 | + "dependencies": [ |
| 200 | + "databricks_job.test_job", |
| 201 | + "databricks_volume.test_volume" |
| 202 | + ] |
| 203 | + } |
| 204 | + ] |
| 205 | + }, |
| 206 | + { |
| 207 | + "mode": "managed", |
| 208 | + "type": "databricks_volume", |
| 209 | + "name": "test_volume", |
| 210 | + "provider": "provider[\"registry.terraform.io/databricks/databricks\"]", |
| 211 | + "instances": [ |
| 212 | + { |
| 213 | + "schema_version": 0, |
| 214 | + "attributes": { |
| 215 | + "catalog_name": "mycat", |
| 216 | + "comment": null, |
| 217 | + "id": "mycat.myschema.myvol", |
| 218 | + "name": "myvol", |
| 219 | + "owner": null, |
| 220 | + "schema_name": "myschema", |
| 221 | + "storage_location": "s3://deco-uc-prod-isolated-aws-us-east-1/metastore/[UUID]/volumes/[UUID]", |
| 222 | + "volume_path": "/Volumes/mycat/myschema/myvol", |
| 223 | + "volume_type": "MANAGED" |
| 224 | + }, |
| 225 | + "sensitive_attributes": [], |
| 226 | + "private": "bnVsbA==" |
| 227 | + } |
| 228 | + ] |
| 229 | + } |
| 230 | + ], |
| 231 | + "check_results": null |
| 232 | +} |
0 commit comments