Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Property Check Failing for AWS::Cognito::UserPool in ap-southeast-1 #1002

Closed
beck3905 opened this issue Jul 6, 2019 · 1 comment
Closed

Comments

@beck3905
Copy link

beck3905 commented Jul 6, 2019

cfn-lint version: (cfn-lint --version)
v0.22.0

Description of issue.
AWS::Cognito::UserPool was added to src/cfnlint/data/ExtendedSpecs/ap-southeast-1/07_ssm_service_addition.json as a resource type. Now, my template containing the following fails:

MyUserPool:
    Type: AWS::Cognito::UserPool
    Properties:
      UserPoolName: UserPoolName
      Policies:
        PasswordPolicy:
          MinimumLength: 8
      UsernameAttributes:
        - email
      Schema:
        - AttributeDataType: String
          Name: email
          Required: false

The failure occurs on AWS::Cognito::UserPool.Policies and rule E3002. There is a KeyError raised here: https://github.com/aws-cloudformation/cfn-python-lint/blob/master/src/cfnlint/rules/resources/properties/Properties.py#L203. My guess is that this issue is caused by something missing in the resource types or property types referenced by cfn-lint.

@kddejong
Copy link
Contributor

Released with v0.22.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants