driftctl/pkg/resource/aws/aws_route53_zone.go

14 lines
397 B
Go
Raw Normal View History

package aws
2021-05-17 15:03:10 +00:00
import (
"github.com/snyk/driftctl/enumeration/resource"
"github.com/snyk/driftctl/enumeration/resource/aws"
2021-05-17 15:03:10 +00:00
)
2021-03-25 11:13:52 +00:00
2021-05-17 15:03:10 +00:00
func initAwsRoute53ZoneMetaData(resourceSchemaRepository resource.SchemaRepositoryInterface) {
resourceSchemaRepository.SetNormalizeFunc(aws.AwsRoute53ZoneResourceType, func(res *resource.Resource) {
val := res.Attrs
2021-05-17 15:03:10 +00:00
val.SafeDelete([]string{"force_destroy"})
})
}