@digitraffic/common 2023.1.30-1 → 2023.1.30-2
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.
@@ -11,6 +11,10 @@ class NetworkStack extends aws_cdk_lib_1.Stack {
|
|
11
11
|
});
|
12
12
|
this.vpc = this.createVpc(configuration);
|
13
13
|
(0, import_util_1.exportValue)(this, isc.environmentName, "VPCID", this.vpc.vpcId);
|
14
|
+
(0, import_util_1.exportValue)(this, isc.environmentName, "digitrafficpublicASubnet", this.vpc.publicSubnets[0].subnetId);
|
15
|
+
(0, import_util_1.exportValue)(this, isc.environmentName, "digitrafficpublicBSubnet", this.vpc.publicSubnets[1].subnetId);
|
16
|
+
(0, import_util_1.exportValue)(this, isc.environmentName, "digitrafficprivateASubnet", this.vpc.privateSubnets[0].subnetId);
|
17
|
+
(0, import_util_1.exportValue)(this, isc.environmentName, "digitrafficprivateBSubnet", this.vpc.privateSubnets[1].subnetId);
|
14
18
|
}
|
15
19
|
createVpc(configuration) {
|
16
20
|
return new aws_ec2_1.Vpc(this, "DigitrafficVPC", {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@digitraffic/common",
|
3
|
-
"version": "2023.01.30-
|
3
|
+
"version": "2023.01.30-2",
|
4
4
|
"description": "",
|
5
5
|
"repository": {
|
6
6
|
"type": "git",
|
@@ -21,15 +21,14 @@
|
|
21
21
|
"@types/geojson": "^7946.0.10",
|
22
22
|
"aws-cdk-lib": "^2.62.2",
|
23
23
|
"aws-sdk": "^2.1304.0",
|
24
|
-
"axios": "^1.2.
|
24
|
+
"axios": "^1.2.6",
|
25
25
|
"change-case": "^4.1.2",
|
26
26
|
"constructs": "^10.1.235",
|
27
27
|
"geojson-validation": "^1.0.2",
|
28
28
|
"moment": "^2.29.4",
|
29
29
|
"node-ttl": "^0.2.0",
|
30
30
|
"pg-native": "^3.0.1",
|
31
|
-
"pg-promise": "^10.12.0"
|
32
|
-
"spex": "^3.0.0"
|
31
|
+
"pg-promise": "^10.12.0"
|
33
32
|
},
|
34
33
|
"devDependencies": {
|
35
34
|
"@aws-cdk/aws-synthetics-alpha": "2.62.2-alpha.0",
|
@@ -43,10 +42,10 @@
|
|
43
42
|
"@typescript-eslint/parser": "^5.48.2",
|
44
43
|
"aws-cdk-lib": "^2.62.2",
|
45
44
|
"aws-sdk": "^2.1304.0",
|
46
|
-
"axios": "^1.2.
|
45
|
+
"axios": "^1.2.6",
|
47
46
|
"change-case": "^4.1.2",
|
48
47
|
"constructs": "^10.1.222",
|
49
|
-
"eslint": "^8.
|
48
|
+
"eslint": "^8.33.0",
|
50
49
|
"eslint-config-prettier": "^8.6.0",
|
51
50
|
"eslint-plugin-deprecation": "1.3.3",
|
52
51
|
"geojson-validation": "^1.0.2",
|
@@ -24,6 +24,30 @@ export class NetworkStack extends Stack {
|
|
24
24
|
|
25
25
|
this.vpc = this.createVpc(configuration);
|
26
26
|
exportValue(this, isc.environmentName, "VPCID", this.vpc.vpcId);
|
27
|
+
exportValue(
|
28
|
+
this,
|
29
|
+
isc.environmentName,
|
30
|
+
"digitrafficpublicASubnet",
|
31
|
+
this.vpc.publicSubnets[0].subnetId
|
32
|
+
);
|
33
|
+
exportValue(
|
34
|
+
this,
|
35
|
+
isc.environmentName,
|
36
|
+
"digitrafficpublicBSubnet",
|
37
|
+
this.vpc.publicSubnets[1].subnetId
|
38
|
+
);
|
39
|
+
exportValue(
|
40
|
+
this,
|
41
|
+
isc.environmentName,
|
42
|
+
"digitrafficprivateASubnet",
|
43
|
+
this.vpc.privateSubnets[0].subnetId
|
44
|
+
);
|
45
|
+
exportValue(
|
46
|
+
this,
|
47
|
+
isc.environmentName,
|
48
|
+
"digitrafficprivateBSubnet",
|
49
|
+
this.vpc.privateSubnets[1].subnetId
|
50
|
+
);
|
27
51
|
}
|
28
52
|
|
29
53
|
createVpc(configuration: NetworkConfiguration): Vpc {
|