Migrates plugin to new Terraform plugin framework