driftctl/pkg/resource/aws/aws_eip.go

17 lines
493 B
Go

package aws
import (
"github.com/snyk/driftctl/enumeration/resource"
dctlresource "github.com/snyk/driftctl/pkg/resource"
)
const AwsEipResourceType = "aws_eip"
func initAwsEipMetaData(resourceSchemaRepository dctlresource.SchemaRepositoryInterface) {
resourceSchemaRepository.SetNormalizeFunc(AwsEipResourceType, func(res *resource.Resource) {
val := res.Attrs
val.SafeDelete([]string{"timeouts"})
})
resourceSchemaRepository.SetFlags(AwsEipResourceType, resource.FlagDeepMode)
}