16 lines
499 B
Go
16 lines
499 B
Go
package aws
|
|
|
|
import (
|
|
"github.com/snyk/driftctl/enumeration/resource"
|
|
"github.com/snyk/driftctl/enumeration/resource/aws"
|
|
)
|
|
|
|
func initAwsDefaultSecurityGroupMetaData(resourceSchemaRepository resource.SchemaRepositoryInterface) {
|
|
resourceSchemaRepository.SetNormalizeFunc(aws.AwsDefaultSecurityGroupResourceType, func(res *resource.Resource) {
|
|
val := res.Attrs
|
|
val.SafeDelete([]string{"revoke_rules_on_delete"})
|
|
val.SafeDelete([]string{"ingress"})
|
|
val.SafeDelete([]string{"egress"})
|
|
})
|
|
}
|