Seth Geoghegan
01/19/2021, 5:50 PMFrank
IdentityPoolRoleAttachment
resources with the same name.Frank
Seth Geoghegan
01/19/2021, 6:11 PMSeth Geoghegan
01/19/2021, 6:16 PMFrank
IdentityPoolRoleAttachment
defined twice, once inside CognitoAuthRole.js and once inside CognitoGuestRole.jsFrank
new cognito.CfnIdentityPoolRoleAttachment(
this,
"IdentityPoolRoleAttachment",
{
identityPoolId: identityPool.ref,
roles: {unauthenticated: this.role.roleArn}
}
);
Frank
unauthenticated
role specified in CognitoGuestRole.jsFrank
IdentityPoolRoleAttachment
with both authenticated
and unauthenticated
rolesSeth Geoghegan
01/19/2021, 7:11 PMIdentityPoolRoleAttachment
defined. The stack is now deployed with all the required roles created. Thanks again!