Documentation ¶
Index ¶
- func AddAttributes(res *schema.Resource, resourceSchema map[string]*schema.Schema)
- func Apply(data TerraformObject, d *schema.ResourceData, schema map[string]*schema.Schema) error
- func Assign[T any](data TerraformObject, attributeIdentifier string, value *T)
- func AssignTime(data TerraformObject, attributeIdentifier string, value *time.Time)
- func ResourceIDString(d ResourceIDStringer, name string) string
- type ResourceIDStringer
- type SchemaMap
- type TerraformObject
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddAttributes ¶
func Apply ¶
func Apply(data TerraformObject, d *schema.ResourceData, schema map[string]*schema.Schema) error
func Assign ¶
func Assign[T any](data TerraformObject, attributeIdentifier string, value *T)
func AssignTime ¶
func AssignTime(data TerraformObject, attributeIdentifier string, value *time.Time)
func ResourceIDString ¶
func ResourceIDString(d ResourceIDStringer, name string) string
Types ¶
type ResourceIDStringer ¶
type ResourceIDStringer interface {
Id() string
}
type TerraformObject ¶
type TerraformObject = map[string]interface{}
Click to show internal directories.
Click to hide internal directories.