driftctl/pkg/resource/aws/aws_default_subnet.go

16 lines
484 B
Go

package aws
import (
"github.com/cloudskiff/driftctl/pkg/resource"
)
const AwsDefaultSubnetResourceType = "aws_default_subnet"
func initAwsDefaultSubnetMetaData(resourceSchemaRepository resource.SchemaRepositoryInterface) {
resourceSchemaRepository.SetNormalizeFunc(AwsDefaultSubnetResourceType, func(res *resource.Resource) {
val := res.Attrs
val.SafeDelete([]string{"timeouts"})
})
resourceSchemaRepository.SetFlags(AwsDefaultSubnetResourceType, resource.FlagDeepMode)
}