driftctl/pkg/resource/aws/aws_ecr_repository.go

13 lines
391 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) {
2021-08-09 14:03:04 +00:00
resourceSchemaRepository.SetNormalizeFunc(AwsEcrRepositoryResourceType, func(res *resource.Resource) {
val := res.Attrs
2021-05-07 09:01:38 +00:00
val.SafeDelete([]string{"timeouts"})
})
}