Skip to content
Snippets Groups Projects
Commit 654b27df authored by MIchael Nguyen's avatar MIchael Nguyen
Browse files

updating indexer.

parent 3d815d30
Branches
Tags
1 merge request!6Trusted ibm
......@@ -56,7 +56,14 @@
</snapshots>
</repository>
</distributionManagement>
<modules>
<module>indexer-core</module>
<!-- <module>provider/indexer-azure</module>-->
<!-- <module>provider/indexer-gcp</module>-->
<module>provider/indexer-aws</module>
<!--<module>testing/integration-tests</module>-->
</modules>
<profiles>
<profile>
<id>indexer-core</id>
......
......@@ -250,6 +250,12 @@ Resources:
LogGroupName: !Join ['-', [ECSLogGroup, !Ref 'ApplicationName']]
RetentionInDays: 365
CloudWatchElasticSearchLogsGroup:
Type: AWS::Logs::LogGroup
Properties:
LogGroupName: !Sub ${Environment}-elasticsearch
RetentionInDays: 365
TaskDefinition:
Type: AWS::ECS::TaskDefinition
Properties:
......@@ -531,6 +537,12 @@ Outputs:
Export:
Name: !Sub ${Environment}-${ApplicationName}-EcsClusterArn
CloudWatchElasticSearchLogsGroupArn:
Description: The ARN of the elasticsearch's cloudwatch log group
Value: !GetAtt CloudWatchElasticSearchLogsGroup.Arn
Export:
Name: !Sub ${Environment}-ElasticsearchArn
ApplicationECSClusterName:
Description: The logical name of the application's ECS cluster.
Value: !Ref ApplicationECSCluster
......
......@@ -179,6 +179,10 @@ Resources:
EBSEnabled: true
VolumeSize: !Ref EBSVolumeSize
VolumeType: "gp2"
LogPublishingOptions:
CloudWatchLogsLogGroupArn:
Enabled: true
NodeToNodeEncryptionOptions:
Enabled: false
SnapshotOptions:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment