Skip to content

Commit 1221c8b

Browse files
committed
chore(stac-api): set api name
1 parent c871ca8 commit 1221c8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/stac-api/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export class PgStacApiLambda extends Construct {
5656
props.dbSecret.grantRead(handler);
5757
handler.connections.allowTo(props.db, ec2.Port.tcp(5432));
5858

59-
const stacApi = new HttpApi(this, "api", {
59+
const stacApi = new HttpApi(this, `${Stack.of(this).stackName}-stac-api`, {
6060
defaultIntegration: new HttpLambdaIntegration("integration", handler),
6161
});
6262

0 commit comments

Comments
 (0)