Skip to content

Commit 88d03fb

Browse files
fix(core): Checking proper accountkey while creating role for SSM Doc… (#368)
fix(core): Checking proper accountkey while creating role for SSM Document Custom Resource
1 parent 74b1dfe commit 88d03fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/deployments/cdk/src/deployments/iam/ssm-document-roles.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export async function createSSMDocumentRoles(props: SSMDocumentProps): Promise<v
2828
continue;
2929
}
3030
const ssmRole = await ssmCreateDocumentRole(accountStack);
31-
accountRoles[accountKey] = ssmRole;
31+
accountRoles[localAccountKey] = ssmRole;
3232
createIamRoleOutput(accountStack, ssmRole, 'SSMSessionManagerDocument');
3333
}
3434
}

0 commit comments

Comments
 (0)