func (r *Resource) Addr() addrs.Resource {
	return addrs.Resource{
		Mode: r.Mode,
		Type: r.Type,
		Name: r.Name,
	}
}
Addr returns a resource address for the receiver that is relative to the
resource's containing module.
package configs
import (
	"fmt"
	"github.com/hashicorp/hcl/v2"
	"github.com/hashicorp/hcl/v2/gohcl"
	"github.com/hashicorp/hcl/v2/hclsyntax"
	"github.com/camptocamp/terraboard/internal/terraform/addrs"
)
type Resource struct {
	Mode    addrs.ResourceMode
	Name    string
	Type    string
	Config  hcl.Body
	Count   hcl.Expression
	ForEach hcl.Expression
	ProviderConfigRef *ProviderConfigRef
	Provider          addrs.Provider
	DependsOn []hcl.Traversal
	Managed *ManagedResource
	DeclRange hcl.Range
	TypeRange hcl.Range
}
type ManagedResource struct {
	Connection   *Connection
	Provisioners []*Provisioner
	CreateBeforeDestroy bool
	PreventDestroy      bool
	IgnoreChanges       []hcl.Traversal
	IgnoreAllChanges    bool
	CreateBeforeDestroySet bool
	PreventDestroySet      bool
}
func (r *Resource) moduleUniqueKey() string {
	return r.Addr().String()
}