Skip to content

Commit 2fdd1e8

Browse files
authored
fix(ingestor-api): add stack name to ingestor-api apigateway export name (#48)
* add stack name to ingestor-api apigateway export name to avoid duplicate export names in the same AWS account in case of multiple deployments
1 parent 90d52d9 commit 2fdd1e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ingestor-api/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ export class StacIngestor extends Construct {
201201

202202
cloudWatchRole: true,
203203
deployOptions: { stageName: props.stage },
204-
endpointExportName: `ingestor-api-${props.stage}`,
204+
endpointExportName: `${Stack.of(this)}-ingestor-api`,
205205

206206
endpointConfiguration: props.endpointConfiguration,
207207
policy: props.policy,

0 commit comments

Comments
 (0)