Skip to content

aws-opensearchservice/domain: r7gd not usable #32138

@alex-at-cascade

Description

@alex-at-cascade

Describe the bug

When trying to create a domain with dataNodeInstanceType of r7gd.4xlarge.search, CDK reports Error: EBS volumes are required when using instance types other than R3, I3, R6GD, I4G, or IM4GN. - however, gd instances have integrated storage and do not use EBS storage.

Regression Issue

  • Select this option if this issue appears to be a regression.

Last Known Working CDK Version

No response

Expected Behavior

I expected r7gd instances to be allowed, as the AWS console is urging me to upgrade to the newer generation.

Current Behavior

I get the error noted above.

Reproduction Steps

See description.

Possible Solution

Correct the list. (Having a hard-coded list seems really brittle - is there another way to achieve this?)

Additional Information/Context

No response

CDK CLI Version

2.166.0 (build 7bb9203)

Framework Version

No response

Node.js Version

v18.18.2

OS

macOS Monterey Version 12.7.6

Language

TypeScript

Language Version

typescript 5.4.3

Other information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis issue is a bug.effort/smallSmall work item – less than a day of effortp2package/toolsRelated to AWS CDK Tools or CLI

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions