driftctl/pkg/resource/aws/aws_kms_alias.go

16 lines
422 B
Go

package aws
import (
"github.com/cloudskiff/driftctl/pkg/resource"
)
const AwsKmsAliasResourceType = "aws_kms_alias"
func initAwsKmsAliasMetaData(resourceSchemaRepository resource.SchemaRepositoryInterface) {
resourceSchemaRepository.SetNormalizeFunc(AwsKmsAliasResourceType, func(res *resource.AbstractResource) {
val := res.Attrs
val.SafeDelete([]string{"name"})
val.SafeDelete([]string{"name_prefix"})
})
}