Skip to content

Commit

Permalink
fix(ingestor-api): add stack name to ingestor-api apigateway export n…
Browse files Browse the repository at this point in the history
…ame (#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
  • Loading branch information
emileten committed Jun 30, 2023
1 parent 90d52d9 commit 2fdd1e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ingestor-api/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ export class StacIngestor extends Construct {

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

endpointConfiguration: props.endpointConfiguration,
policy: props.policy,
Expand Down

0 comments on commit 2fdd1e8

Please sign in to comment.