Inputs Section
Inputs defines the input parameters that the Terraform module requires to function correctly. Each input is defined as a key-value pair, where the key is the name of the input and the value is an object describing the input.
Within each input object:
- type: This field indicates the kind of data expected by the module for that input. For instance, if the type is @outputs/databricks_account, that means the input databricks_account should be the output of a module that produces a databricks_account.
- providers: This field identifies the provider(s) associated with the input. These providers are used to configure resources in other Terraform modules with the help of this provider. This field offers flexibility for interoperability among various Terraform modules.
adds_capability: set to true, indicates that this input enhances the capabilities of the resource.
Example:
inputs:
databricks_account:
type: "@outputs/databricks_account"
providers:
- databricks
network_details:
type: "@outputs/aws_vpc"
adds_capability: true
default:
resource_type: network
resource_name: default
Updated about 24 hours ago