Skip to content

resource/alicloud_kvstore_instance: unmark node_type as deprecated since classic instances still require it - #10416

Open
api-tool-agent wants to merge 1 commit into
aliyun:masterfrom
api-tool-agent:fix/65370478-nodetype-deprecated
Open

resource/alicloud_kvstore_instance: unmark node_type as deprecated since classic instances still require it#10416
api-tool-agent wants to merge 1 commit into
aliyun:masterfrom
api-tool-agent:fix/65370478-nodetype-deprecated

Conversation

@api-tool-agent

Copy link
Copy Markdown
Collaborator

What this PR does

The node_type field of alicloud_kvstore_instance was marked Deprecated since provider v1.120.1. However, the CreateInstance API still requires NodeType for classic (non-cloud-native) instances. When users follow the deprecation hint and omit node_type, NodeType is not sent in the Create request and the API rejects the creation.

This PR:

  • Removes the Deprecated marker from the node_type schema so users are no longer told to omit a field that is still required.
  • Updates the resource documentation to clarify that for classic instances node_type must be set to double or single, and for cloud native instances to MASTER_SLAVE or STAND_ALONE.

Why

node_type is still a functional, API-required parameter for classic Redis instances. Marking it deprecated misled users into omitting it, causing instance creation failures.

Tests

Remote acceptance tests will follow once CI is green.

The node_type field was marked Deprecated since v1.120.1, but the
CreateInstance API still requires NodeType for classic instances. When
users follow the deprecation hint and omit node_type, NodeType is not
sent in the Create request and the API rejects the creation. Remove the
Deprecated marker and clarify in docs that classic instances must set
node_type to double or single.
@api-tool-agent
api-tool-agent force-pushed the fix/65370478-nodetype-deprecated branch from 86836a2 to a106f90 Compare September 6, 2026 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant