-
Notifications
You must be signed in to change notification settings - Fork 466
[Feature] Add arm option to databricks_node_type instead of graviton
#5028
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…iton` `graviton` name is AWS specific and could be confusing for Azure users. So deprecated `graviton` and added `arm` attribute instead. Resolves #4128
|
If integration tests don't run automatically, an authorized user can run them manually by following the instructions below: Trigger: Inputs:
Checks will be approved automatically on success. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR deprecates the AWS-specific graviton attribute and introduces a more generic arm attribute for the databricks_node_type data source to better support both AWS Graviton and Azure Cobalt ARM-based CPUs.
Key changes:
- Replaces
gravitonwitharmattribute while maintaining backward compatibility - Updates internal API structures to support the new attribute
- Updates default node types for Azure from older to newer generations
Reviewed Changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| docs/data-sources/node_type.md | Updates documentation to reflect new arm attribute and deprecate graviton |
| clusters/data_node_type.go | Implements new NodeTypeRequest struct with arm attribute and backward compatibility logic |
| clusters/data_node_type_test.go | Updates expected default node type for Azure |
| clusters/clusters_api.go | Updates API calls to use new NodeTypeRequest wrapper structure |
| storage/mounts.go | Updates API calls to use new NodeTypeRequest wrapper structure |
| catalog/resource_sql_table.go | Updates API calls to use new NodeTypeRequest wrapper structure |
| access/resource_sql_permissions.go | Updates API calls to use new NodeTypeRequest wrapper structure |
| NEXT_CHANGELOG.md | Adds changelog entry for the new feature |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
| return defaultSmallestNodeType(w, request) | ||
| } | ||
| nodeType, err := nodeTypes.Smallest(request) | ||
| // if arm is true, then graviton is true |
Copilot
AI
Sep 30, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The comment is misleading. It should clarify that this sets Graviton to true when either Arm or Graviton is true, not that 'arm being true makes graviton true'.
| // if arm is true, then graviton is true | |
| // Set Graviton to true if either Arm or Graviton is true |
## Release v1.92.0 ### Breaking Changes * Remove stale resources/datasources/documentation related to Clean Room services. * databricks\_permissions resource no longer updates permissions on delete. This is to mitigate an issue with incorrect IS\_OWNER being set ([#5096](#5096)) ### New Features and Improvements * Add `arm` option to `databricks_node_type` instead of `graviton` ([#5028](#5028)) * Add `data_quality_monitor` resource and data sources ([#5092](#5092)). * Add `data_quality_refresh` resource and data sources ([#5092](#5092)). * Perform workspace-level permission assignment by `user_name`, `group_name`, or `service_principal_name` ([#5068](#5068)). ### Bug Fixes * Fixed syncing of effective fields in plugin framework implementation of share resource ([#4969](#4969)) * Mark `storage_location` as read-only in `databricks_catalog` ([#5075](#5075)) ### Documentation * Add instructions for migration from deprecated `databricks_catalog_workspace_binding` to `databricks_workspace_binding` ([#5054](#5054)) * Document output attributes in `databricks_storage_credential` ([#5093](#5093)) ### Internal Changes * Bump the Go SDK to v0.86.0 ([#5092](#5092)).
Changes
gravitonname is AWS specific and could be confusing for Azure users. So deprecatedgravitonand addedarmattribute instead.Resolves #4128
Tests
make testrun locallydocs/folderNEXT_CHANGELOG.mdfile