Skip to content

Commit

Permalink
Merge pull request #12 from aws-samples/fix
Browse files Browse the repository at this point in the history
Fix policy as we don't allow unauthenticated
  • Loading branch information
matteofigus committed Mar 24, 2020
2 parents cccd700 + a4d01be commit 35e54cd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/cfn/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Globals:
CREATE_CLOUDFRONT_DISTRIBUTION: !Ref CreateCloudFrontDistribution
REGION: !Ref AWS::Region
TO_BUCKET: !Ref WebUIBucket
VERSION: "0.19"
VERSION: "0.20"

Parameters:
AdminEmail:
Expand Down Expand Up @@ -154,8 +154,6 @@ Resources:
Condition:
StringEquals:
"cognito-identity.amazonaws.com:aud": !Ref CognitoIdentityPool
ForAnyValue:StringLike:
"cognito-identity.amazonaws.com:amr": "unauthenticated"

CustomResourceRole:
Type: AWS::IAM::Role
Expand Down

0 comments on commit 35e54cd

Please sign in to comment.