driftctl/pkg/resource/aws/aws_eip.go

14 lines
376 B
Go
Raw Normal View History

package aws
2021-05-17 09:38:08 +00:00
import (
"github.com/snyk/driftctl/enumeration/resource"
"github.com/snyk/driftctl/enumeration/resource/aws"
2021-05-17 09:38:08 +00:00
)
2021-03-25 11:13:52 +00:00
2021-05-17 09:38:08 +00:00
func initAwsEipMetaData(resourceSchemaRepository resource.SchemaRepositoryInterface) {
resourceSchemaRepository.SetNormalizeFunc(aws.AwsEipResourceType, func(res *resource.Resource) {
val := res.Attrs
2021-05-17 09:38:08 +00:00
val.SafeDelete([]string{"timeouts"})
})
}