Merge pull request #662 from cloudskiff/issue_630_aws_route

Fix aws_route carrier_gateway_id false positive
main
Elie 2021-06-18 11:56:22 +02:00 committed by GitHub
commit fcfdb054da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -27,6 +27,7 @@ func initAwsRouteMetaData(resourceSchemaRepository resource.SchemaRepositoryInte
val.DeleteIfDefault("vpc_peering_connection_id")
val.DeleteIfDefault("destination_prefix_list_id")
val.DeleteIfDefault("instance_owner_id")
val.DeleteIfDefault("carrier_gateway_id")
})
resourceSchemaRepository.SetHumanReadableAttributesFunc(AwsRouteResourceType, func(res *resource.AbstractResource) map[string]string {
val := res.Attrs