driftctl/pkg/resource/aws/aws_ecr_repository.go

13 lines
399 B
Go
Raw Normal View History

2021-02-26 19:59:46 +00:00
package aws
2021-05-21 14:09:45 +00:00
import "github.com/cloudskiff/driftctl/pkg/resource"
2021-03-25 11:13:52 +00:00
2021-02-26 19:59:46 +00:00
const AwsEcrRepositoryResourceType = "aws_ecr_repository"
2021-05-07 09:01:38 +00:00
func initAwsEcrRepositoryMetaData(resourceSchemaRepository resource.SchemaRepositoryInterface) {
resourceSchemaRepository.SetNormalizeFunc(AwsEcrRepositoryResourceType, func(res *resource.AbstractResource) {
val := res.Attrs
2021-05-07 09:01:38 +00:00
val.SafeDelete([]string{"timeouts"})
})
}