# Functions
BuiltinBackend returns a starlak.Builtin function capable of instantiate new Backend instances.
BuiltinEvaluate returns a starlak.Builtin function to evalute Starlark files.
BuiltinFunctionAttribute returns a built-in function that wraps Attributes in HCL functions.
BuiltinHCL returns a starlak.Builtin function to generate HCL from objects implementing the HCLCompatible interface.
BuiltinProvisioner returns a starlak.Builtin function capable of instantiate new Provisioner instances.
BuiltinRef returns a starlak.Builtin function to generate a reference to a resource argument.
BuiltinValidate returns a starlak.Builtin function to validate objects implementing the Validabler interface.
MakeBackend defines the Backend constructor.
MakeProvider defines the Provider constructor.
MakeProvisioner defines the Provisioner constructor.
MakeResource defines the Resource constructor.
MustTypeFromCty returns a Type froma given cty.Type.
MustTypeFromStarlark returns a Type from a given starlark type string.
MustValue returns a Value from a starlark.Value, it panics if error.
NewAttribute returns a new Attribute for a given value or block of a Resource.
NewAttributeWithPath returns a new Attribute for a given value or block of a Resource.
NewBackend returns a new Backend instance based on given arguments,.
NewDict returns a new empty Dict.
NewNestedResourceCollection returns.
NewProvider returns a new Provider instance from a given type, version and name.
NewProviderCollection returns a new ProviderCollection.
NewProvisioner returns a new Provisioner for the given type.
NewResource returns a new resource of the given kind, type based on the given configschema.Block.
NewResourceCollection returns a new ResourceCollection for the given values.
NewResourceCollectionGroup returns a new ResourceCollectionGroup for a given provider and kind based on the given schema.
NewState returns a new instance of State based on the given arguments,.
NewTerraform returns a new instance of Terraform.
NewTypeFromCty returns a Type froma given cty.Type.
NewTypeFromStarlark returns a Type from a given starlark type string.
NewValidationError returns a new ValidationError.
NewValue returns a Value from a starlark.Value.
NewValues return a new instance of Values.
# Constants
Resource Kind constants.
Resource Kind constants.
Resource Kind constants.
PluginManagerLocal is the key of the terraform.PluginManager in the thread.
Resource Kind constants.
Resource Kind constants.
Resource Kind constants.
# Variables
NameGenerator function used to generate Resource names, by default is based on a ULID generator.
# Structs
Attribute is a reference to an argument of a Resource.
Backend represent a Terraform Backend.
Dict is a starlark.Dict HCLCompatible.
NamedValue represents a Value with a given name.
Provider represents a provider as a starlark.Value.
ProviderCollection represents a nested Dict of providers, indexed by provider type and provider name.
Provisioner represents a Terraform provider of a specif type.
Resource represents a resource as a starlark.Value, it can be of four kinds, provider, resource, data source or a nested resource.
ResourceCollection stores and instantiates resources for specific provider and resource.
ResourceCollectionGroup represents a group by kind (resource or data resource) of ResourceCollections for a given provider.
State represents a Terraform state read by a backend.
Terraform is a representation of Terraform as a starlark.Value
outline: types types: Terraform Terraform holds all the configuration defined by a script.
Type is a helper to manipulate and transform starlark.Type and cty.Type.
ValidationError is an error returned by Validabler.Validate.
Value is helper to manipulate and transform starlark.Value to go types and cty.Value.
Values is a list of NamedValues.
# Interfaces
HCLCompatible defines if the struct is suitable of by encoded in HCL.
Validabler defines if the resource is validable.
# Type aliases
Kind describes what kind of resource is represented by a Resource instance.
ValidationErrors represents a list of ValidationErrors.