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-05-24 15:19:06 +00:00
|
|
|
resourceSchemaRepository.SetNormalizeFunc(AwsEcrRepositoryResourceType, func(res *resource.AbstractResource) {
|
|
|
|
val := res.Attrs
|
2021-05-07 09:01:38 +00:00
|
|
|
val.SafeDelete([]string{"timeouts"})
|
|
|
|
})
|
|
|
|
}
|