Skip to content

Commit e6f5245

Browse files
committed
remove target_name from env
1 parent 7bf553d commit e6f5245

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

scripts/resource_mapping.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,15 @@ resources:
2929
module_dir: environments
3030
schema_only_fields:
3131
- connection_id # deprecated YAML compat alias for connection resourceRef
32+
- target_name # not a dbtcloud_environment provider attribute; read by credentials module for dbt target name
3233
fields:
3334
name: { disposition: yaml, yaml_field: name }
3435
type: { disposition: yaml, yaml_field: type }
3536
dbt_version: { disposition: yaml, yaml_field: dbt_version }
3637
custom_branch: { disposition: yaml, yaml_field: custom_branch }
3738
deployment_type: { disposition: yaml, yaml_field: deployment_type }
3839
enable_model_query_history: { disposition: yaml, yaml_field: enable_model_query_history }
39-
target_name: { disposition: yaml, yaml_field: target_name }
40+
target_name: { disposition: excluded, reason: "Not a dbtcloud_environment provider attribute; passed to credentials module via environment_credentials" }
4041
is_active: { disposition: yaml, yaml_field: is_active }
4142
use_custom_branch: { disposition: computed, reason: "Derived: custom_branch != null" }
4243
connection_id: { disposition: computed, reason: "Resolved from env.connection resourceRef" }

0 commit comments

Comments
 (0)