Skip to content

Commit 85727eb

Browse files
authored
fix: permission to read SSM (#117)
* fix: permission to read SSM * test: wait a bit longer for fetcher
1 parent 2148f19 commit 85727eb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cdk/resources/DeviceShadow.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ export class DeviceShadow extends Construct {
141141
resources: [
142142
`arn:aws:ssm:${Stack.of(this).region}:${
143143
Stack.of(this).account
144-
}:parameter/${Stack.of(this).stackName}/config/stack`,
144+
}:parameter/${Stack.of(this).stackName}/stack/context`,
145145
],
146146
})
147147
fetchDeviceShadow.addToRolePolicy(ssmReadPolicy)

features/RuntimeConfiguration.feature.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ And there is this device shadow data for `${fingerprint_deviceId}` in nRF Cloud
281281

282282
When I connect to the websocket using fingerprint `${fingerprint}`
283283

284-
<!-- @retry:tries=5,initialDelay=5000,delayFactor=1 -->
284+
<!-- @retry:tries=5,initialDelay=5000,delayFactor=1.5 -->
285285

286286
Soon the duration between 2 consecutive device shadow requests for
287287
`${fingerprint_deviceId}` should be `5` seconds
@@ -292,7 +292,7 @@ Given device shadow fetching config for model `PCA20035+solar` is `10`
292292

293293
When I connect to the websocket using fingerprint `${fingerprint}`
294294

295-
<!-- @retry:tries=5,initialDelay=10000,delayFactor=1 -->
295+
<!-- @retry:tries=5,initialDelay=10000,delayFactor=1.5 -->
296296

297297
Soon the duration between 2 consecutive device shadow requests for
298298
`${fingerprint_deviceId}` should be `10` seconds

0 commit comments

Comments
 (0)