@glicogh/healthcare-cdk 0.1.5 → 0.1.7
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/package.json +4 -3
- package/.env.uat +0 -14
- package/cdk.context.json +0 -59
- package/cdk.json +0 -57
- package/jest.config.js +0 -8
- package/tsconfig.json +0 -24
- /package/{scripts → dist/scripts}/post-deployment-after-all.sh +0 -0
- /package/{scripts → dist/scripts}/post-deployment-api-gateway.sh +0 -0
- /package/{scripts → dist/scripts}/post-deployment-before-all.sh +0 -0
- /package/{scripts → dist/scripts}/post-deployment-clone-repo.sh +0 -0
- /package/{scripts → dist/scripts}/post-deployment-laravel-based.sh +0 -0
- /package/{scripts → dist/scripts}/post-deployment-mysql.sh +0 -0
- /package/{scripts → dist/scripts}/post-deployment-notification-service.sh +0 -0
- /package/{scripts → dist/scripts}/post-deployment-portal.sh +0 -0
- /package/{scripts → dist/scripts}/post-deployment-redis.sh +0 -0
package/package.json
CHANGED
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@glicogh/healthcare-cdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.7",
|
|
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",
|
|
9
|
+
"build": "rm -rf ./dist && tsc && cp -r ./scripts ./dist/scripts",
|
|
10
10
|
"watch": "tsc -w",
|
|
11
11
|
"test": "jest",
|
|
12
12
|
"cdk": "cdk",
|
|
13
|
-
"
|
|
13
|
+
"ship": "npm run build && npm publish"
|
|
14
14
|
},
|
|
15
15
|
"main": "dist/index.js",
|
|
16
|
+
"files": ["dist"],
|
|
16
17
|
"devDependencies": {
|
|
17
18
|
"@types/jest": "^29.5.12",
|
|
18
19
|
"@types/node": "20.14.9",
|
package/.env.uat
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
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
|
-
EC2_REDIS_INSTANCE_TYPE=t4g.nano
|
|
8
|
-
EC2_API_GATEWAY_INSTANCE_TYPE=t4g.nano
|
|
9
|
-
EC2_NOTIFICATION_SERVICE_INSTANCE_TYPE=
|
|
10
|
-
EC2_ACCOUNT_SERVICE_INSTANCE_TYPE=
|
|
11
|
-
EC2_PLAN_SERVICE_INSTANCE_TYPE=
|
|
12
|
-
EC2_POLICY_SERVICE_INSTANCE_TYPE=
|
|
13
|
-
EC2_CLAIMS_SERVICE_INSTANCE_TYPE=
|
|
14
|
-
EC2_REPORTING_SERVICE_INSTANCE_TYPE=
|
package/cdk.context.json
DELETED
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"availability-zones:account=825765383017:region=eu-west-2": [
|
|
3
|
-
"eu-west-2a",
|
|
4
|
-
"eu-west-2b",
|
|
5
|
-
"eu-west-2c"
|
|
6
|
-
],
|
|
7
|
-
"vpc-provider:account=825765383017:filter.tag:Name=Microservice-VPC-uat:region=eu-west-2:returnAsymmetricSubnets=true": {
|
|
8
|
-
"vpcId": "vpc-03d47b32a2968ce12",
|
|
9
|
-
"vpcCidrBlock": "10.0.0.0/16",
|
|
10
|
-
"ownerAccountId": "825765383017",
|
|
11
|
-
"availabilityZones": [],
|
|
12
|
-
"subnetGroups": [
|
|
13
|
-
{
|
|
14
|
-
"name": "Private",
|
|
15
|
-
"type": "Private",
|
|
16
|
-
"subnets": [
|
|
17
|
-
{
|
|
18
|
-
"subnetId": "subnet-0266b328ab9d7575a",
|
|
19
|
-
"cidr": "10.0.128.0/17",
|
|
20
|
-
"availabilityZone": "eu-west-2a",
|
|
21
|
-
"routeTableId": "rtb-048692355782d9212"
|
|
22
|
-
}
|
|
23
|
-
]
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
"name": "Public",
|
|
27
|
-
"type": "Public",
|
|
28
|
-
"subnets": [
|
|
29
|
-
{
|
|
30
|
-
"subnetId": "subnet-068ef4a3a1bad40ce",
|
|
31
|
-
"cidr": "10.0.0.0/17",
|
|
32
|
-
"availabilityZone": "eu-west-2a",
|
|
33
|
-
"routeTableId": "rtb-03ba14607aae43e26"
|
|
34
|
-
}
|
|
35
|
-
]
|
|
36
|
-
}
|
|
37
|
-
]
|
|
38
|
-
},
|
|
39
|
-
"security-group:account=825765383017:region=eu-west-2:securityGroupName=API-Gateway-SG-uat:vpcId=vpc-03d47b32a2968ce12": {
|
|
40
|
-
"securityGroupId": "sg-0897e07c5b3f608ba",
|
|
41
|
-
"allowAllOutbound": false
|
|
42
|
-
},
|
|
43
|
-
"security-group:account=825765383017:region=eu-west-2:securityGroupName=Redis-SG-uat:vpcId=vpc-03d47b32a2968ce12": {
|
|
44
|
-
"securityGroupId": "sg-0a5e24e05c4fa4d75",
|
|
45
|
-
"allowAllOutbound": false
|
|
46
|
-
},
|
|
47
|
-
"security-group:account=825765383017:region=eu-west-2:securityGroupName=MySQL-SG-uat:vpcId=vpc-03d47b32a2968ce12": {
|
|
48
|
-
"securityGroupId": "sg-082e5ec045ebd5e2c",
|
|
49
|
-
"allowAllOutbound": false
|
|
50
|
-
},
|
|
51
|
-
"security-group:account=825765383017:region=eu-west-2:securityGroupName=Laravel-Based-SG-uat:vpcId=vpc-03d47b32a2968ce12": {
|
|
52
|
-
"securityGroupId": "sg-0946f3c552f1ee403",
|
|
53
|
-
"allowAllOutbound": false
|
|
54
|
-
},
|
|
55
|
-
"security-group:account=825765383017:region=eu-west-2:securityGroupName=Portal-SG-uat:vpcId=vpc-03d47b32a2968ce12": {
|
|
56
|
-
"securityGroupId": "sg-0c98d6c0826a7b0a0",
|
|
57
|
-
"allowAllOutbound": false
|
|
58
|
-
}
|
|
59
|
-
}
|
package/cdk.json
DELETED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"app": "npx ts-node --prefer-ts-exts bin/cdk.ts",
|
|
3
|
-
"watch": {
|
|
4
|
-
"include": ["**"],
|
|
5
|
-
"exclude": ["README.md", "cdk*.json", "**/*.d.ts", "**/*.js", "tsconfig.json", "package*.json", "yarn.lock", "node_modules", "test"]
|
|
6
|
-
},
|
|
7
|
-
"context": {
|
|
8
|
-
"@aws-cdk/aws-lambda:recognizeLayerVersion": true,
|
|
9
|
-
"@aws-cdk/core:checkSecretUsage": true,
|
|
10
|
-
"@aws-cdk/core:target-partitions": ["aws", "aws-cn"],
|
|
11
|
-
"@aws-cdk-containers/ecs-service-extensions:enableDefaultLogDriver": true,
|
|
12
|
-
"@aws-cdk/aws-ec2:uniqueImdsv2TemplateName": true,
|
|
13
|
-
"@aws-cdk/aws-ecs:arnFormatIncludesClusterName": true,
|
|
14
|
-
"@aws-cdk/aws-iam:minimizePolicies": true,
|
|
15
|
-
"@aws-cdk/core:validateSnapshotRemovalPolicy": true,
|
|
16
|
-
"@aws-cdk/aws-codepipeline:crossAccountKeyAliasStackSafeResourceName": true,
|
|
17
|
-
"@aws-cdk/aws-s3:createDefaultLoggingPolicy": true,
|
|
18
|
-
"@aws-cdk/aws-sns-subscriptions:restrictSqsDescryption": true,
|
|
19
|
-
"@aws-cdk/aws-apigateway:disableCloudWatchRole": true,
|
|
20
|
-
"@aws-cdk/core:enablePartitionLiterals": true,
|
|
21
|
-
"@aws-cdk/aws-events:eventsTargetQueueSameAccount": true,
|
|
22
|
-
"@aws-cdk/aws-ecs:disableExplicitDeploymentControllerForCircuitBreaker": true,
|
|
23
|
-
"@aws-cdk/aws-iam:importedRoleStackSafeDefaultPolicyName": true,
|
|
24
|
-
"@aws-cdk/aws-s3:serverAccessLogsUseBucketPolicy": true,
|
|
25
|
-
"@aws-cdk/aws-route53-patters:useCertificate": true,
|
|
26
|
-
"@aws-cdk/customresources:installLatestAwsSdkDefault": false,
|
|
27
|
-
"@aws-cdk/aws-rds:databaseProxyUniqueResourceName": true,
|
|
28
|
-
"@aws-cdk/aws-codedeploy:removeAlarmsFromDeploymentGroup": true,
|
|
29
|
-
"@aws-cdk/aws-apigateway:authorizerChangeDeploymentLogicalId": true,
|
|
30
|
-
"@aws-cdk/aws-ec2:launchTemplateDefaultUserData": true,
|
|
31
|
-
"@aws-cdk/aws-secretsmanager:useAttachedSecretResourcePolicyForSecretTargetAttachments": true,
|
|
32
|
-
"@aws-cdk/aws-redshift:columnId": true,
|
|
33
|
-
"@aws-cdk/aws-stepfunctions-tasks:enableEmrServicePolicyV2": true,
|
|
34
|
-
"@aws-cdk/aws-ec2:restrictDefaultSecurityGroup": true,
|
|
35
|
-
"@aws-cdk/aws-apigateway:requestValidatorUniqueId": true,
|
|
36
|
-
"@aws-cdk/aws-kms:aliasNameRef": true,
|
|
37
|
-
"@aws-cdk/aws-autoscaling:generateLaunchTemplateInsteadOfLaunchConfig": true,
|
|
38
|
-
"@aws-cdk/core:includePrefixInUniqueNameGeneration": true,
|
|
39
|
-
"@aws-cdk/aws-efs:denyAnonymousAccess": true,
|
|
40
|
-
"@aws-cdk/aws-opensearchservice:enableOpensearchMultiAzWithStandby": true,
|
|
41
|
-
"@aws-cdk/aws-lambda-nodejs:useLatestRuntimeVersion": true,
|
|
42
|
-
"@aws-cdk/aws-efs:mountTargetOrderInsensitiveLogicalId": true,
|
|
43
|
-
"@aws-cdk/aws-rds:auroraClusterChangeScopeOfInstanceParameterGroupWithEachParameters": true,
|
|
44
|
-
"@aws-cdk/aws-appsync:useArnForSourceApiAssociationIdentifier": true,
|
|
45
|
-
"@aws-cdk/aws-rds:preventRenderingDeprecatedCredentials": true,
|
|
46
|
-
"@aws-cdk/aws-codepipeline-actions:useNewDefaultBranchForCodeCommitSource": true,
|
|
47
|
-
"@aws-cdk/aws-cloudwatch-actions:changeLambdaPermissionLogicalIdForLambdaAction": true,
|
|
48
|
-
"@aws-cdk/aws-codepipeline:crossAccountKeysDefaultValueToFalse": true,
|
|
49
|
-
"@aws-cdk/aws-codepipeline:defaultPipelineTypeToV2": true,
|
|
50
|
-
"@aws-cdk/aws-kms:reduceCrossAccountRegionPolicyScope": true,
|
|
51
|
-
"@aws-cdk/aws-eks:nodegroupNameAttribute": true,
|
|
52
|
-
"@aws-cdk/aws-ec2:ebsDefaultGp3Volume": true,
|
|
53
|
-
"@aws-cdk/aws-ecs:removeDefaultDeploymentAlarm": true,
|
|
54
|
-
"@aws-cdk/custom-resources:logApiResponseDataPropertyTrueDefault": false,
|
|
55
|
-
"@aws-cdk/aws-s3:keepNotificationInImportedBucket": false
|
|
56
|
-
}
|
|
57
|
-
}
|
package/jest.config.js
DELETED
package/tsconfig.json
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"target": "ES2020",
|
|
4
|
-
"module": "commonjs",
|
|
5
|
-
"lib": ["es2020", "dom"],
|
|
6
|
-
"declaration": true,
|
|
7
|
-
"strict": true,
|
|
8
|
-
"noImplicitAny": true,
|
|
9
|
-
"strictNullChecks": true,
|
|
10
|
-
"noImplicitThis": true,
|
|
11
|
-
"alwaysStrict": true,
|
|
12
|
-
"noUnusedLocals": false,
|
|
13
|
-
"noUnusedParameters": false,
|
|
14
|
-
"noImplicitReturns": true,
|
|
15
|
-
"noFallthroughCasesInSwitch": false,
|
|
16
|
-
"inlineSourceMap": true,
|
|
17
|
-
"inlineSources": true,
|
|
18
|
-
"experimentalDecorators": true,
|
|
19
|
-
"strictPropertyInitialization": false,
|
|
20
|
-
"typeRoots": ["./node_modules/@types", "@types"],
|
|
21
|
-
"outDir": "./dist"
|
|
22
|
-
},
|
|
23
|
-
"exclude": ["node_modules", "cdk.out"]
|
|
24
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|