Skip to content

Commit

Permalink
Optimized templates ElasticSearch Instance and mns.
Browse files Browse the repository at this point in the history
  • Loading branch information
qinyangming.qym committed May 31, 2024
1 parent ab7cae2 commit 1022886
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions resources/elasticsearch/instance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ Parameters:
DataNode:
Type: Json
Description: The Elasticsearch cluster's data node setting.
KibanaNode:
Type: Json
Description: The Elasticsearch cluster's kibana node setting.
Default: Null
InstanceChargeType:
Type: String
Description: Valid values are PrePaid, PostPaid, Default to PostPaid.
Expand Down Expand Up @@ -35,6 +39,8 @@ Resources:
Ref: VSwitchId
DataNode:
Ref: DataNode
KibanaNode:
Ref: KibanaNode
InstanceChargeType:
Ref: InstanceChargeType
Version:
Expand Down
2 changes: 1 addition & 1 deletion transform/serverless/mns.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Resources:
Type: Aliyun::Serverless::Function
Properties:
Handler: index.handler
Runtime: python2.7
Runtime: python3.10
CodeUri: oss://test-transform/image-crawler.zip
Events:
MyTrigger:
Expand Down

0 comments on commit 1022886

Please sign in to comment.