Skip to content

Commit

Permalink
fix: network surveys are not getting published
Browse files Browse the repository at this point in the history
  • Loading branch information
coderbyheart committed May 31, 2023
1 parent 549970a commit cda6d6e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cdk/packLayer.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { spawn } from 'child_process'
import { createWriteStream } from 'fs'
import { copyFile, mkdir, readFile, rm, writeFile } from 'fs/promises'
import glob from 'glob'
import { glob } from 'glob'
import path from 'path'
import { ZipFile } from 'yazl'

Expand Down
4 changes: 2 additions & 2 deletions cdk/resources/ResolveCellLocation.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import {
aws_events as Events,
Duration,
aws_events_targets as EventTargets,
aws_events as Events,
aws_iam as IAM,
aws_iot as IoT,
aws_lambda as Lambda,
Duration,
Stack,
} from 'aws-cdk-lib'
import { Construct } from 'constructs'
Expand Down
4 changes: 2 additions & 2 deletions cdk/stacks/BackendStack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export class BackendStack extends Stack {
`${assetTrackerStackName}:geolocationApiUrl`,
),
websocketAPI: api,
cellGeoStateMachineARN: `arn:aws:states:${parent.region}:${parent.account}:stateMachine:${assetTrackerStackName}-cellGeo`,
cellGeoStateMachineARN: `arn:aws:states:${this.region}:${this.account}:stateMachine:${assetTrackerStackName}-cellGeo`,
})

new ResolveNetworkSurveyGeoLocation(this, {
Expand All @@ -69,7 +69,7 @@ export class BackendStack extends Stack {
`${assetTrackerStackName}:networkSurveyStorageTableStreamArn`,
),
}),
networkSurveyGeoStateMachineARN: `arn:aws:states:${parent.region}:${parent.account}:stateMachine:${assetTrackerStackName}-networkSurveyGeo`,
networkSurveyGeoStateMachineARN: `arn:aws:states:${this.region}:${this.account}:stateMachine:${assetTrackerStackName}-networkSurveyGeo`,
})

const userAuthentication = new UserAuthentication(
Expand Down

0 comments on commit cda6d6e

Please sign in to comment.