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.
I got this error message:
For the following resource definition:
I think it is complaining about an absent or empty
Propertiesdictionary. Now, it's not wrong to say thatValid 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.