@glicogh/healthcare-cdk 0.1.81 → 0.1.82

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,5 @@
1
1
  # configure cloudwatch agent
2
+ sudo cat $service_dir/.infra/cloudwatch/agent-config.json > /opt/aws/amazon-cloudwatch-agent/bin/config.json || true
2
3
  sudo /opt/aws/amazon-cloudwatch-agent/bin/amazon-cloudwatch-agent-ctl -a fetch-config -s -m ec2 -c file:/opt/aws/amazon-cloudwatch-agent/bin/config.json
3
4
  sudo systemctl enable --now amazon-cloudwatch-agent
4
5
 
@@ -92,6 +92,3 @@ cron_job="* * * * * $cron_command"
92
92
  php $service_dir/laravel/artisan glico:healthcare:microservice:discovery
93
93
 
94
94
  sudo chown -R ubuntu:ubuntu $service_dir
95
-
96
- # link cloudwatch-agent config
97
- sudo cat $service_dir/.infra/cloudwatch/agent-config.json > /opt/aws/amazon-cloudwatch-agent/bin/config.json || true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glicogh/healthcare-cdk",
3
- "version": "0.1.81",
3
+ "version": "0.1.82",
4
4
  "description": "CDK automations",
5
5
  "bin": {
6
6
  "cdk": "bin/cdk.js"
@@ -1,4 +1,5 @@
1
1
  # configure cloudwatch agent
2
+ sudo cat $service_dir/.infra/cloudwatch/agent-config.json > /opt/aws/amazon-cloudwatch-agent/bin/config.json || true
2
3
  sudo /opt/aws/amazon-cloudwatch-agent/bin/amazon-cloudwatch-agent-ctl -a fetch-config -s -m ec2 -c file:/opt/aws/amazon-cloudwatch-agent/bin/config.json
3
4
  sudo systemctl enable --now amazon-cloudwatch-agent
4
5
 
@@ -92,6 +92,3 @@ cron_job="* * * * * $cron_command"
92
92
  php $service_dir/laravel/artisan glico:healthcare:microservice:discovery
93
93
 
94
94
  sudo chown -R ubuntu:ubuntu $service_dir
95
-
96
- # link cloudwatch-agent config
97
- sudo cat $service_dir/.infra/cloudwatch/agent-config.json > /opt/aws/amazon-cloudwatch-agent/bin/config.json || true