|
| 1 | +# Recording needs a bundle it has seen from the start. This test seeds a state file, |
| 2 | +# so recording refuses it. TODO(DMS): drop this once existing state can be |
| 3 | +# handed over to the service (see the TODO in dstate.Open). |
| 4 | +EnvMatrix.DMS = [""] |
| 5 | + |
| 6 | +# schema.yml sets custom_max_retention_hours, which the terraform databricks_schema resource cannot |
| 7 | +# set (only direct does), so a terraform-first migrate would drift. schema_tf_compat.yml keeps migrate |
| 8 | +# coverage for schemas. |
| 9 | +EnvMatrixExclude.no_schema_custom_retention = ["INPUT_CONFIG=schema.yml.tmpl"] |
| 10 | + |
| 11 | +# vector_search_endpoints and vector_search_indexes have no terraform converter |
| 12 | +EnvMatrixExclude.no_vector_search_endpoint = ["INPUT_CONFIG=vector_search_endpoint.yml.tmpl"] |
| 13 | +EnvMatrixExclude.no_vector_search_index = ["INPUT_CONFIG=vector_search_index.yml.tmpl"] |
| 14 | + |
| 15 | +# job_runs is a direct-only resource with no terraform converter, so the |
| 16 | +# terraform deploy that seeds the migration fails for it. |
| 17 | +EnvMatrixExclude.no_job_run = ["INPUT_CONFIG=job_run.yml.tmpl"] |
| 18 | + |
| 19 | +# Error: Catalog resources are only supported with direct deployment mode |
| 20 | +EnvMatrixExclude.no_catalog = ["INPUT_CONFIG=catalog.yml.tmpl"] |
| 21 | +EnvMatrixExclude.no_catalog_optional_fields = ["INPUT_CONFIG=catalog_optional_fields.yml.tmpl"] |
| 22 | +EnvMatrixExclude.no_external_location = ["INPUT_CONFIG=external_location.yml.tmpl"] |
| 23 | +# uc_trailing_slash includes a catalog, which is direct-only (see above). |
| 24 | +EnvMatrixExclude.no_uc_trailing_slash = ["INPUT_CONFIG=uc_trailing_slash.yml.tmpl"] |
| 25 | +# Genie spaces are direct-only too; the terraform deploy that seeds the migration fails for them. |
| 26 | +EnvMatrixExclude.no_genie_space = ["INPUT_CONFIG=genie_space.yml.tmpl"] |
| 27 | +# Instance pools are direct-only; the terraform deploy that seeds the migration fails for them. |
| 28 | +EnvMatrixExclude.no_instance_pool = ["INPUT_CONFIG=instance_pool.yml.tmpl"] |
| 29 | +# Cluster policies are direct-only; the terraform deploy that seeds the migration fails for them. |
| 30 | +EnvMatrixExclude.no_cluster_policy = ["INPUT_CONFIG=cluster_policy.yml.tmpl"] |
| 31 | +# Cluster libraries are direct-only; the terraform deploy that seeds the migration fails for them. |
| 32 | +EnvMatrixExclude.no_cluster_libraries = ["INPUT_CONFIG=cluster_libraries.yml.tmpl"] |
| 33 | +# AI Gateway securables are direct-only; the terraform deploy that seeds the migration fails for them. |
| 34 | +EnvMatrixExclude.no_model_service = ["INPUT_CONFIG=model_service.yml.tmpl"] |
| 35 | + |
| 36 | +# Cross-resource permission references (e.g. ${resources.jobs.job_b.permissions[0].level}) |
| 37 | +# don't work in terraform mode: the terraform interpolator converts the path to |
| 38 | +# ${databricks_job.job_b.permissions[0].level}, but Terraform's databricks_job resource |
| 39 | +# does not expose permissions as output attributes (permissions are a separate |
| 40 | +# databricks_permissions resource in terraform), so the literal unresolved string |
| 41 | +# ends up as the permission level value. |
| 42 | +EnvMatrixExclude.no_permission_ref = ["INPUT_CONFIG=job_permission_ref.yml.tmpl"] |
| 43 | +EnvMatrixExclude.no_cross_resource_ref = ["INPUT_CONFIG=job_cross_resource_ref.yml.tmpl"] |
| 44 | + |
| 45 | +# Grant cross-references require the EmbeddedSlice pattern not present in terraform mode. |
| 46 | +EnvMatrixExclude.no_grant_ref = ["INPUT_CONFIG=schema_grant_ref.yml.tmpl"] |
| 47 | + |
| 48 | +# SQL warehouses currently failing with migration with permanent drift. TODO: fix this. |
| 49 | +EnvMatrixExclude.no_sql_warehouse = ["INPUT_CONFIG=sql_warehouse.yml.tmpl"] |
| 50 | + |
| 51 | +# The 1000-task scale case is covered by no_drift. Running it here adds ~1.5 min |
| 52 | +# per variant (deploy + migrate + plan at 1000 tasks) without incremental coverage. |
| 53 | +EnvMatrixExclude.no_pydabs_1000_tasks = ["INPUT_CONFIG=job_pydabs_1000_tasks.yml.tmpl"] |
| 54 | + |
| 55 | +# migrate deploys via Terraform first, and the TF provider rejects an uppercase |
| 56 | +# volume schema_name ("inconsistent final plan"). Covered by no_drift on direct. |
| 57 | +EnvMatrixExclude.no_volume_uppercase = ["INPUT_CONFIG=volume_uppercase_name.yml.tmpl"] |
| 58 | + |
| 59 | +# UC secrets are direct-only (no terraform converter), so the terraform deploy that seeds |
| 60 | +# the migration fails for them. |
| 61 | +EnvMatrixExclude.no_secret = ["INPUT_CONFIG=secret.yml.tmpl"] |
| 62 | + |
| 63 | +# Terraform types sampling_fraction as an integer and truncates 0.5; covered by no_drift. |
| 64 | +EnvMatrixExclude.no_model_serving_endpoint_telemetry = ["INPUT_CONFIG=model_serving_endpoint_telemetry.yml.tmpl"] |
0 commit comments