driftctl/pkg/resource/aws/aws_route53_zone.go

14 lines
397 B
Go

package aws
import (
"github.com/snyk/driftctl/enumeration/resource"
"github.com/snyk/driftctl/enumeration/resource/aws"
)
func initAwsRoute53ZoneMetaData(resourceSchemaRepository resource.SchemaRepositoryInterface) {
resourceSchemaRepository.SetNormalizeFunc(aws.AwsRoute53ZoneResourceType, func(res *resource.Resource) {
val := res.Attrs
val.SafeDelete([]string{"force_destroy"})
})
}