Skip to main content
Version: v0.14

opensearch

opensearch can be used to define an AWS OpenSearch Service.

Attributes

Schema OpenSearch

Name and DescriptionTypeDefault ValueRequired
clusterConfig
The configurations for the cluster of the domain.
ClusterConfigUndefinedFalse
ebsOptions
The options for EBS volumes attached to data nodes in the domain.
EbsOptionsUndefinedFalse
region
The AWS region.
strUndefinedTrue
statement
The statement of the OpenSearch Service.
Statement[]True

Schema ClusterConfig

Name and DescriptionTypeDefault ValueRequired
instanceType
The instance type of data nodes in the cluster.
strUndefinedFalse

Schema EbsOptions

Name and DescriptionTypeDefault ValueRequired
ebsEnabled
Whether EBS volumes are attached to data nodes in the domain.
boolFalseFalse
volumeSize
The size of EBS volumes attached to data nodes (in GiB).
intUndefinedRequired if ebsEnabled is set to True

Schema Statement

Name and DescriptionTypeDefault ValueRequired
effect
Whether this statement allows or denies the given actions. Valid values are Allow and Deny.
"Allow" or "Deny""Allow"True
principles
The configuration block for principals.
PrincipalUndefinedFalse
action
The list of actions that this statement either allows or denies.
[]strUndefinedFalse

Schema Principal

Name and DescriptionTypeDefault ValueRequired
type
The type of principal. Valid values include AWS, Service, Federated, CanonicalUser and *.
strUndefinedFalse
identifiers
The list of identifiers for principals.
[]strUndefinedFalse

Examples

modules: 
opensearch:
path: oci://ghcr.io/kusionstack/opensearch
version: 0.1.0
configs:
default:
region: us-east-1
clusterConfig:
instanceType: r6g.large.search
ebsEnabled: true
volumeSize: 10
statement:
- effect: Allow
principals:
- type: AWS
identifiers:
- "*"
action:
- es:*