Closed theksi closed 2 years ago
(Recommended workaround with resource-level ignores)
We're currently pulling that enum
from Config's SDK model. That resource type hasn't be added there yet 😕
More details
{
"op": "add",
"path": "/ValueTypes/AWS::Config::ConfigurationRecorder.ResourceTypes",
"value": {
"botocore": "config/2014-11-12/ResourceType"
}
},
https://github.com/boto/botocore/blob/develop/botocore/data/config/2014-11-12/service-2.json#L6481
Also doesn't seem to exist in the API docs too https://docs.aws.amazon.com/config/latest/APIReference/API_ResourceIdentifier.html
This issue is also a reference https://github.com/boto/botocore/issues/2535
cfn-lint version: (
cfn-lint --version
) cfn-lint 0.58.2 Description of issue. Error on an invalid value for Compliance resourceTypes that is in fact validPlease provide as much information as possible:
cfn-lint
and/or the latest Spec files N/A using the latest versionMaximumExecutionFrequency
is not mandatory and cfn-lint evaluation could work this way: IF an invalid value for ComplianceResourceTypes AND MaximumFrequency is set AND ComplianceResourceType is a Valid AWS resource type, Then cfn-lint evaluation is positiveCfn-lint uses the CloudFormation Resource Specifications as the base to do validation. These files are included as part of the application version. Please update to the latest version of
cfn-lint
or update the spec files manually (cfn-lint -u
)