Terraform
Last updated
Last updated
ExecRemote allows commands to be executed in remote containers
Attributes are the properties of a resource that can be used to configure it.
Networks network
required
Network attaches the container to an existing network defined in a separate stanza. This block can be specified multiple times to attach the container to multiple networks.
Source source
required
string
The source directory containing the Terraform config to provision.
Version version
string
The version of Terraform to use.
WorkingDirectory working_directory
string
The working directory to run the Terraform commands.
Environment environment
map[string]string
Environment variables to set.
Variables variables
Terraform variables to pass to Terraform.
Volumes volume
required
A volume allows you to specify a local volume which is mounted to the container when it is created. This stanza can be specified multiple times.
These attributes are computed when the config is parsed and applied, and are therefor only known at parsetime or runtime.
Meta ID meta.id
string
The full ID of the resource e.g. `resource.type.name`. This is computed from the full resource path:
Meta Type meta.type
string
The type of the resource. This taken from the type label of the resource definition.
Meta Name meta.name
string
The name of the resource. This taken from the name label of the resource definition.
Output output
Any outputs defined in the Terraform configuration will be exposed as output values on the Terraform resource.
ApplyOutput apply_output
string
Console output from the Terraform apply.