Skip to content

Conversation

@alexott
Copy link
Contributor

@alexott alexott commented Sep 16, 2025

Changes

graviton name is AWS specific and could be confusing for Azure users. So deprecated graviton and added arm attribute instead.

Resolves #4128

Tests

  • make test run locally
  • relevant change in docs/ folder
  • has entry in NEXT_CHANGELOG.md file

…iton`

`graviton` name is AWS specific and could be confusing for Azure users.  So deprecated
`graviton` and added `arm` attribute instead.

Resolves #4128
@alexott alexott requested review from a team as code owners September 16, 2025 07:53
@alexott alexott requested review from rauchy and removed request for a team September 16, 2025 07:53
@github-actions
Copy link

If integration tests don't run automatically, an authorized user can run them manually by following the instructions below:

Trigger:
go/deco-tests-run/terraform

Inputs:

  • PR number: 5028
  • Commit SHA: 61896673c2b3a268ff3304ac4dfa9fec03f243af

Checks will be approved automatically on success.

@alexott alexott requested a review from Copilot September 30, 2025 14:47
Copy link
Contributor

Copilot AI left a 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 graviton with arm attribute 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
Copy link

Copilot AI Sep 30, 2025

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'.

Suggested change
// if arm is true, then graviton is true
// Set Graviton to true if either Arm or Graviton is true

Copilot uses AI. Check for mistakes.
@tanmay-db tanmay-db self-requested a review October 1, 2025 13:52
@alexott alexott added this pull request to the merge queue Oct 8, 2025
Merged via the queue into main with commit 1d2e31f Oct 8, 2025
12 checks passed
@alexott alexott deleted the feature/node-type-arm-option branch October 8, 2025 06:23
deco-sdk-tagging bot added a commit that referenced this pull request Oct 15, 2025
## 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)).
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.

[FEATURE] Add arm option to databricks_node_type

3 participants