Skip to content

Conversation

@louiscsq
Copy link
Contributor

The compute module's outputs.tf was referencing a
databricks_cluster_policy.uc_qs_policy resource that doesn't exist, causing Terraform errors for all cluster modules (sandbox, dev, prod).

This commit removes the invalid cluster_policy_id output, keeping only the valid cluster_id output that references the existing databricks_cluster.example resource.

Fixes terraform errors:

  • Error: Reference to undeclared resource
  • A managed resource 'databricks_cluster_policy' 'uc_qs_policy' has not been declared

@github-actions
Copy link

All commits in PR should be signed ('git commit -S ...'). See https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits

The compute module's outputs.tf was referencing a
databricks_cluster_policy.uc_qs_policy resource that doesn't exist,
causing Terraform errors for all cluster modules (sandbox, dev, prod).

This commit removes the invalid cluster_policy_id output, keeping only
the valid cluster_id output that references the existing
databricks_cluster.example resource.

Fixes terraform errors:
- Error: Reference to undeclared resource
- A managed resource 'databricks_cluster_policy' 'uc_qs_policy' has not been declared
Copy link
Contributor

@AbhiDatabricks AbhiDatabricks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Simple removal of unreachable code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants