@glicogh/healthcare-cdk 0.1.12 → 0.1.14

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.
package/.env.example ADDED
@@ -0,0 +1,42 @@
1
+ APP_NAME=HealthcareMicroservice
2
+ ENV_NAME=uat
3
+ SERVICE_NAME=
4
+ COMPANY_NAME=glico
5
+ AWS_REGION=eu-west-2
6
+ AWS_ACCOUNT_ID=825765383017
7
+
8
+ EC2_REDIS_INSTANCE_TYPE=t4g.nano
9
+ EC2_REDIS_INSTANCE_STORAGE_SIZE=
10
+ EC2_REDIS_INSTANCE_STORAGE_TYPE=gp3
11
+
12
+ EC2_MYSQL_INSTANCE_TYPE=t4g.nano
13
+ EC2_MYSQL_INSTANCE_STORAGE_SIZE=10
14
+ EC2_MYSQL_INSTANCE_STORAGE_TYPE=gp3
15
+
16
+ EC2_API_GATEWAY_INSTANCE_TYPE=t4g.nano
17
+ EC2_API_GATEWAY_INSTANCE_STORAGE_SIZE=
18
+ EC2_API_GATEWAY_INSTANCE_STORAGE_TYPE=gp3
19
+
20
+ EC2_NOTIFICATION_SERVICE_INSTANCE_TYPE=
21
+ EC2_NOTIFICATION_SERVICE_INSTANCE_STORAGE_SIZE=
22
+ EC2_NOTIFICATION_SERVICE_INSTANCE_STORAGE_TYPE=gp3
23
+
24
+ EC2_ACCOUNT_SERVICE_INSTANCE_TYPE=
25
+ EC2_ACCOUNT_SERVICE_INSTANCE_STORAGE_SIZE=
26
+ EC2_ACCOUNT_SERVICE_INSTANCE_STORAGE_TYPE=gp3
27
+
28
+ EC2_PLAN_SERVICE_INSTANCE_TYPE=
29
+ EC2_PLAN_SERVICE_INSTANCE_STORAGE_SIZE=
30
+ EC2_PLAN_SERVICE_INSTANCE_STORAGE_TYPE=gp3
31
+
32
+ EC2_POLICY_SERVICE_INSTANCE_TYPE=
33
+ EC2_POLICY_SERVICE_INSTANCE_STORAGE_SIZE=
34
+ EC2_POLICY_SERVICE_INSTANCE_STORAGE_TYPE=gp3
35
+
36
+ EC2_CLAIMS_SERVICE_INSTANCE_TYPE=
37
+ EC2_CLAIMS_SERVICE_INSTANCE_STORAGE_SIZE=
38
+ EC2_CLAIMS_SERVICE_INSTANCE_STORAGE_TYPE=gp3
39
+
40
+ EC2_REPORTING_SERVICE_INSTANCE_TYPE=
41
+ EC2_REPORTING_SERVICE_INSTANCE_STORAGE_SIZE=
42
+ EC2_REPORTING_SERVICE_INSTANCE_STORAGE_TYPE=gp3
package/README.md CHANGED
@@ -135,10 +135,9 @@ cdk init app --language typescript
135
135
  # install package as a dependency
136
136
  npm i @glicogh/healthcare-cdk
137
137
  # copy env
138
- cp node_modules/@glicogh/healthcare-cdk/.env.example .env.uat
139
- cp node_modules/@glicogh/healthcare-cdk/.env.example .env.prod
138
+ cp node_modules/@glicogh/healthcare-cdk/.env.example .env.example
140
139
  ```
141
140
 
142
- Now you can edit the .env files for each of the enviroments that apply to your project. The content of `.env.example` has variables that apply to all supported services/projects, so you may edit the ones that apply to your target service/project. Also, the copy commands only target the `uat` and `prod` environements, but you may copy it for additional environments if needed.
141
+ Now you can clone the file `.env.example` for each of target environments (for example, `.env.uat`) and edit the variables appropriately for the target environment.
143
142
 
144
143
  > For the laravel-based projects, the [package](https://github.com/glicogh/healthcare-laravel-package) is able to perform all the steps/commands for you by running `php artisan glico:healthcare:microservice:cdk`
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@glicogh/healthcare-cdk",
3
- "version": "0.1.12",
3
+ "version": "0.1.14",
4
4
  "description": "CDK automations",
5
5
  "bin": {
6
6
  "cdk": "bin/cdk.js"
7
7
  },
8
8
  "scripts": {
9
- "build": "rm -rf ./dist && tsc && cp -r ./scripts ./dist/scripts && cp ./.env.example ./dist/.env.example",
9
+ "build": "rm -rf ./dist && tsc && cp -r ./scripts ./dist/scripts",
10
10
  "watch": "tsc -w",
11
11
  "test": "jest",
12
12
  "cdk": "cdk",