driftctl/pkg/resource/aws/aws_ecr_repository.go

14 lines
479 B
Go

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