-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
…S volumes (#31948) ### Issue # (if applicable) Closes #31764 ### Reason for this change CDK is failing to deploy OpenSearch with I4G nodes with error message indicating that EBS configuration is required. However, OpenSearch clusters with I4G nodes use instance store and cannot be configured with EBS storage. ### Description of changes This change adds I4G node type to the list of OpenSearch nodes that does not support EBS volumes in the cluster configuration. ### Description of how you validated changes Added unit tests and run them successfully Ran integration test on private account ### Checklist - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md) ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
{ | ||
"Resources": { | ||
"Domain66AC69E0": { | ||
"Type": "AWS::OpenSearchService::Domain", | ||
"Properties": { | ||
"ClusterConfig": { | ||
"DedicatedMasterEnabled": false, | ||
"InstanceCount": 1, | ||
"InstanceType": "i4g.large.search", | ||
"MultiAZWithStandbyEnabled": false, | ||
"ZoneAwarenessEnabled": false | ||
}, | ||
"DomainEndpointOptions": { | ||
"EnforceHTTPS": false, | ||
"TLSSecurityPolicy": "Policy-Min-TLS-1-0-2019-07" | ||
}, | ||
"EBSOptions": { | ||
"EBSEnabled": false | ||
}, | ||
"EncryptionAtRestOptions": { | ||
"Enabled": false | ||
}, | ||
"EngineVersion": "OpenSearch_2.5", | ||
"LogPublishingOptions": {}, | ||
"NodeToNodeEncryptionOptions": { | ||
"Enabled": false | ||
} | ||
}, | ||
"UpdateReplacePolicy": "Delete", | ||
"DeletionPolicy": "Delete" | ||
} | ||
}, | ||
"Parameters": { | ||
"BootstrapVersion": { | ||
"Type": "AWS::SSM::Parameter::Value<String>", | ||
"Default": "/cdk-bootstrap/hnb659fds/version", | ||
"Description": "Version of the CDK Bootstrap resources in this environment, automatically retrieved from SSM Parameter Store. [cdk:skip]" | ||
} | ||
}, | ||
"Rules": { | ||
"CheckBootstrapVersion": { | ||
"Assertions": [ | ||
{ | ||
"Assert": { | ||
"Fn::Not": [ | ||
{ | ||
"Fn::Contains": [ | ||
[ | ||
"1", | ||
"2", | ||
"3", | ||
"4", | ||
"5" | ||
], | ||
{ | ||
"Ref": "BootstrapVersion" | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
"AssertDescription": "CDK bootstrap stack version 6 required. Please run 'cdk bootstrap' with a recent version of the CDK CLI." | ||
} | ||
] | ||
} | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.