While the above PR added i4g to the list of AWS Opensearch instances that don't require EBS options, i4i should be in this list as well as they use attached SSD drives: https://aws.amazon.com/opensearch-service/pricing/
Regression Issue
[ ] Select this option if this issue appears to be a regression.
Last Known Working CDK Version
No response
Expected Behavior
I should be able to create an Opensearch domain without using EBSOptions.
Current Behavior
An error is thrown when trying to use i4i instances.
File "/home/runner/work/scaling-eureka/scaling-eureka/infra/management_stack/management_stack/opensearch.py", line 245, in initialize_opensearch
domain = opensearch.Domain(
^^^^^^^^^^^^^^^^^^
File "/home/runner/work/scaling-eureka/scaling-eureka/.venv/lib/python3.12/site-packages/jsii/_runtime.py", line 118, in __call__
inst = super(JSIIMeta, cast(JSIIMeta, cls)).__call__(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/runner/work/scaling-eureka/scaling-eureka/.venv/lib/python3.12/site-packages/aws_cdk/aws_opensearchservice/__init__.py", line 8505, in __init__
jsii.create(self.__class__, self, [scope, id, props])
File "/home/runner/work/scaling-eureka/scaling-eureka/.venv/lib/python3.12/site-packages/jsii/_kernel/__init__.py", line 334, in create
response = self.provider.create(
^^^^^^^^^^^^^^^^^^^^^
File "/home/runner/work/scaling-eureka/scaling-eureka/.venv/lib/python3.12/site-packages/jsii/_kernel/providers/process.py", line 365, in create
return self._process.send(request, CreateResponse)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/runner/work/scaling-eureka/scaling-eureka/.venv/lib/python3.12/site-packages/jsii/_kernel/providers/process.py", line 342, in send
raise RuntimeError(resp.error) from JavaScriptError(resp.stack)
RuntimeError: EBS volumes are required when using instance types other than R3, I3, R6GD, I4G, or IM4GN.
Describe the bug
See https://github.com/aws/aws-cdk/issues/31764 and its fix, https://github.com/aws/aws-cdk/pull/31948
While the above PR added i4g to the list of AWS Opensearch instances that don't require EBS options, i4i should be in this list as well as they use attached SSD drives: https://aws.amazon.com/opensearch-service/pricing/
Regression Issue
Last Known Working CDK Version
No response
Expected Behavior
I should be able to create an Opensearch domain without using
EBSOptions
.Current Behavior
An error is thrown when trying to use i4i instances.
Reproduction Steps
Possible Solution
See https://github.com/aws/aws-cdk/pull/31948 . This PR essentially needs to be replicated but with
i4i
instances.Additional Information/Context
No response
CDK CLI Version
2.166.0 (build 7bb9203)
Framework Version
No response
Node.js Version
20.11.1
OS
MacOS 14.6.1
Language
Python
Language Version
Python (3.12)
Other information
No response