Skip to content

Commit 37f86cd

Browse files
pudkrongcoderbyheart
authored andcommitted
feat: add new scope for mqtt bridge
1 parent 3fc4d00 commit 37f86cd

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

cdk/resources/Integration.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ export class Integration extends Construct {
106106
simpleName: false,
107107
parameterName: settingsPath({
108108
stackName: Stack.of(this).stackName,
109-
scope: Scope.STACK_CONFIG,
109+
scope: Scope.STACK_MQTT_BRIDGE,
110110
property: 'bridgeCertificatePEM',
111111
}),
112112
},
@@ -119,7 +119,7 @@ export class Integration extends Construct {
119119
simpleName: false,
120120
parameterName: settingsPath({
121121
stackName: Stack.of(this).stackName,
122-
scope: Scope.STACK_CONFIG,
122+
scope: Scope.STACK_MQTT_BRIDGE,
123123
property: 'bridgePrivateKey',
124124
}),
125125
},

util/settings.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import { paginate } from './paginate.js'
99

1010
export enum Scope {
1111
STACK_CONFIG = 'stack/context',
12+
STACK_MQTT_BRIDGE = 'stack/mqttBridge',
1213
NRFCLOUD_CONFIG = 'thirdParty/nrfcloud',
1314
NRFCLOUD_BRIDGE_CERTIFICATE_MQTT = 'nRFCloudBridgeCertificate/MQTT',
1415
NRFCLOUD_BRIDGE_CERTIFICATE_CA = 'nRFCloudBridgeCertificate/CA',

0 commit comments

Comments
 (0)