2020-12-09 15:31:34 +00:00
|
|
|
package aws
|
|
|
|
|
2021-05-17 15:03:10 +00:00
|
|
|
import (
|
2022-06-28 07:23:29 +00:00
|
|
|
"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) {
|
2022-06-28 07:23:29 +00:00
|
|
|
resourceSchemaRepository.SetNormalizeFunc(aws.AwsRoute53ZoneResourceType, func(res *resource.Resource) {
|
2021-05-24 15:19:06 +00:00
|
|
|
val := res.Attrs
|
2021-05-17 15:03:10 +00:00
|
|
|
val.SafeDelete([]string{"force_destroy"})
|
|
|
|
})
|
|
|
|
}
|