Skip to content

Commit

Permalink
chore: add additional instance types to @searchable directive (aws-am…
Browse files Browse the repository at this point in the history
  • Loading branch information
yuth authored and marcvberg committed Oct 13, 2021
1 parent 8fc7bf6 commit 0818335
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export function createParametersStack(stack: Stack): Map<string, CfnParameter> {
OpenSearchInstanceType,
OpenSearchEBSVolumeGB,
} = ResourceConstants.PARAMETERS;

return new Map<string, CfnParameter>([
[
OpenSearchAccessIAMRoleName,
Expand Down Expand Up @@ -135,6 +136,27 @@ export function createParametersStack(stack: Stack): Map<string, CfnParameter> {
'i3.4xlarge.elasticsearch',
'i3.8xlarge.elasticsearch',
'i3.16xlarge.elasticsearch',
'r6gd.12xlarge.elasticsearch',
'ultrawarm1.xlarge.elasticsearch',
'm5.4xlarge.elasticsearch',
't3.xlarge.elasticsearch',
'm6g.xlarge.elasticsearch',
'm6g.12xlarge.elasticsearch',
't2.micro.elasticsearch',
'r6gd.16xlarge.elasticsearch',
'd2.2xlarge.elasticsearch',
't3.micro.elasticsearch',
'm5.large.elasticsearch',
'd2.4xlarge.elasticsearch',
't3.small.elasticsearch',
'c5.2xlarge.elasticsearch',
'c6g.2xlarge.elasticsearch',
'd2.8xlarge.elasticsearch',
'c5.4xlarge.elasticsearch',
't4g.medium.elasticsearch',
'c6g.4xlarge.elasticsearch',
'c6g.xlarge.elasticsearch',
'c6g.12xlarge.elasticsearch',
],
}),
],
Expand Down
21 changes: 21 additions & 0 deletions packages/graphql-elasticsearch-transformer/src/resources.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,27 @@ export class ResourceFactory {
'i3.4xlarge.elasticsearch',
'i3.8xlarge.elasticsearch',
'i3.16xlarge.elasticsearch',
'r6gd.12xlarge.elasticsearch',
'ultrawarm1.xlarge.elasticsearch',
'm5.4xlarge.elasticsearch',
't3.xlarge.elasticsearch',
'm6g.xlarge.elasticsearch',
'm6g.12xlarge.elasticsearch',
't2.micro.elasticsearch',
'r6gd.16xlarge.elasticsearch',
'd2.2xlarge.elasticsearch',
't3.micro.elasticsearch',
'm5.large.elasticsearch',
'd2.4xlarge.elasticsearch',
't3.small.elasticsearch',
'c5.2xlarge.elasticsearch',
'c6g.2xlarge.elasticsearch',
'd2.8xlarge.elasticsearch',
'c5.4xlarge.elasticsearch',
't4g.medium.elasticsearch',
'c6g.4xlarge.elasticsearch',
'c6g.xlarge.elasticsearch',
'c6g.12xlarge.elasticsearch',
],
}),
[ResourceConstants.PARAMETERS.ElasticsearchEBSVolumeGB]: new NumberParameter({
Expand Down

0 comments on commit 0818335

Please sign in to comment.