Skip to content

F3017: unhelpful error message #61

Description

@rix0rrr

I got this error message:

    «ValidationFailed» core/test/cfn-resource.test.ts:68:2
    WARNING Value is not valid under any of the given schemas for AWS::EC2::Volume (CloudFormation Validate)
       TestStack/Resource (Resource) constructs.Construct
       Acknowledge with 'CloudFormation-Validate::F3017'

For the following resource definition:

{
  Resource: {
    Type: "AWS::EC2::Volume",
  }
}

I think it is complaining about an absent or empty Properties dictionary. Now, it's not wrong to say that Valid is not valid under any of the given schemas... but it's also not a very helpful error message either. Something about "required properties missing" would have been a more helpful message.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions