diff --git a/lib/ingestor-api/index.ts b/lib/ingestor-api/index.ts index 772089b..d2286c2 100644 --- a/lib/ingestor-api/index.ts +++ b/lib/ingestor-api/index.ts @@ -108,7 +108,7 @@ export class StacIngestor extends Construct { }); props.table.grantReadWriteData(handler); - props.dataAccessRole.grant(handler.grantPrincipal, "sts:AssumeRole"); + props.dataAccessRole.grantAssumeRole(handler_role); return handler; }