Skip to content

Commit

Permalink
Re-do of the synth improvement, this time with a typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mdial89f committed Aug 6, 2024
1 parent 3419fd3 commit 98b9258
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/local-aspects/iam-permissions-boundary/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ export class IamPermissionsBoundaryAspect implements IAspect {
public visit(node: IConstruct): void {
if (node instanceof iam.Role) {
const roleResource = node.node.defaultChild as iam.CfnRole;
roleResource.addPropertyOverride("Path", this.permissionsBoundaryArn);
roleResource.addPropertyOverride(
"PermissionsBoundary",
this.permissionsBoundaryArn,
);
}
}
}

0 comments on commit 98b9258

Please sign in to comment.