Skip to main content
Version: v1.4

Alibaba Cloud SLS-STORE

Description

Terraform configuration for Alibaba Cloud SLS Store.

Examples

apiVersion: core.oam.dev/v1beta1
kind: Application
metadata:
name: app-sls-store-sample
spec:
components:
- name: sample-sls-store
type: alibaba-sls-store
properties:
store_name: kubevela-1111
store_retention_period: 30
store_shard_count: 2
store_max_split_shard_count: 2

writeConnectionSecretToRef:
name: sls-store-conn

Specification

NameDescriptionTypeRequiredDefault
create_projectWhether to create log resources.stringfalse
descriptionDescription of security group.stringfalse
project_nameName of security group. It is used to create a new security group.stringfalse
store_append_metaDetermines whether to append log meta automatically. The meta includes log receive time and client IP address. Default to true.boolfalse
store_auto_splitDetermines whether to automatically split a shard. Default to true.boolfalse
store_max_split_shard_countThe maximum number of shards for automatic split, which is in the range of 1 to 64. You must specify this parameter when autoSplit is true.numberfalse
store_nameLog store name.stringfalse
store_retention_periodThe data retention time (in days). Valid values: [1-3650]. Default to 30. Log store data will be stored permanently when the value is '3650'.numberfalse
store_shard_countThe number of shards in this log store. Default to 2. You can modify it by 'Split' or 'Merge' operations.numberfalse
writeConnectionSecretToRefThe secret which the cloud resource connection will be written to.writeConnectionSecretToReffalse

writeConnectionSecretToRef

NameDescriptionTypeRequiredDefault
nameThe secret name which the cloud resource connection will be written to.stringtrue
namespaceThe secret namespace which the cloud resource connection will be written to.stringfalse