func (a Provider) Resource(resource string) (*resource.Resource, error) {
	r, err := tfdocFE.GetResource(resource)
	if err != nil {
		return nil, fmt.Errorf("could not get resource %q: %w", resource, errcode.ErrProviderNotFoundResource)
	}
	return r, nil
}
Resource returns the resource information
package flexibleengine
import (
	"fmt"
	"github.com/cycloidio/inframap/errcode"
	"github.com/cycloidio/inframap/provider"
	tfdocFE "github.com/cycloidio/tfdocs/providers/flexibleengine"
	"github.com/cycloidio/tfdocs/resource"
)
type Provider struct {
	provider.NopProvider
}
var (
	usedAttributes = []string{
		"id",
		"instance_id",
		"direction",
		"remote_group_id",
		"security_group_ids",
		"loadbalancer_id",
		"listener_id",
		"pool_id",
	}
)
func (a Provider) Type() provider.Type { return provider.FlexibleEngine }
func (a Provider) IsNode(resource string) bool {
	_, ok := nodeTypes[resource]
	return ok
}
func (a Provider) IsEdge(resource string) bool {
	_, ok := edgeTypes[resource]
	return ok
}