Skip to content

Commit fe04068

Browse files
Bugfix/assume role issue (#15)
* Attempt to fix issues around assume role * Assume handler_role, not handler.grant_principle --------- Co-authored-by: Anthony Lukach <[email protected]>
1 parent b51d775 commit fe04068

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
@@ -108,7 +108,7 @@ export class StacIngestor extends Construct {
108108
});
109109

110110
props.table.grantReadWriteData(handler);
111-
props.dataAccessRole.grant(handler.grantPrincipal, "sts:AssumeRole");
111+
props.dataAccessRole.grantAssumeRole(handler_role);
112112

113113
return handler;
114114
}

0 commit comments

Comments
 (0)