Merge pull request #1334 from snyk/chore/metadata-test

chore: added a missing test and ordered resources
main
William BEUIL 2022-01-25 11:35:41 +01:00 committed by GitHub
commit 8378e92134
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 4 deletions

View File

@ -38,6 +38,11 @@ func TestAWS_Metadata_Flags(t *testing.T) {
AwsApiGatewayV2AuthorizerResourceType: {},
AwsApiGatewayV2RouteResponseResourceType: {},
AwsApiGatewayV2DomainNameResourceType: {},
AwsApiGatewayV2ModelResourceType: {},
AwsApiGatewayV2StageResourceType: {},
AwsApiGatewayV2MappingResourceType: {},
AwsApiGatewayV2IntegrationResourceType: {},
AwsApiGatewayV2IntegrationResponseResourceType: {},
AwsAppAutoscalingPolicyResourceType: {resource.FlagDeepMode},
AwsAppAutoscalingScheduledActionResourceType: {},
AwsAppAutoscalingTargetResourceType: {resource.FlagDeepMode},
@ -100,10 +105,6 @@ func TestAWS_Metadata_Flags(t *testing.T) {
AwsNetworkACLRuleResourceType: {resource.FlagDeepMode},
AwsLaunchTemplateResourceType: {resource.FlagDeepMode},
AwsLaunchConfigurationResourceType: {},
AwsApiGatewayV2ModelResourceType: {},
AwsApiGatewayV2StageResourceType: {},
AwsApiGatewayV2MappingResourceType: {},
AwsApiGatewayV2IntegrationResponseResourceType: {},
}
schemaRepository := testresource.InitFakeSchemaRepository(tf.AWS, "3.19.0")