Expand description
Terraform provider library
It enables to write your own TF provider that is supported by both Terraform and OpenTofu.
Implementing a provider consists in implementing the Resource
, DataSource
, and/or Function
traits,
and implementing the Provider
trait that references the resources, data sources and functions.
Modules§
Macros§
- map
- Build a hash map
Structs§
- Attribute
Path - Represent the path to an attribute
- Diagnostic
- Diagnostic component
- Diagnostics
- List of Errors and Warnings to send back to Terraform
Enums§
- Attribute
Path Step - Single step of an
AttributePath
Traits§
- Data
Source - Trait for implementing a data source with automatic serialization/deserialization
- Dynamic
Data Source - Trait for implementing a data source without automatic serialization/deserialization
- Dynamic
Function - Trait for implementing a function without automatic serialization/deserialization
- Dynamic
Provider - Trait for implementing a provider without automatic serialization/deserialization
- Dynamic
Resource - Trait for implementing a resource without automatic serialization/deserialization
- Function
- Trait for implementing a function with automatic serialization/deserialization
- Provider
- Trait for implementing a provider with automatic serialization/deserialization
- Resource
- Trait for implementing a resource with automatic serialization/deserialization
Functions§
- serve
- Serve the provider
- serve_
dynamic - Serve the provider