The local-exec provisioner invokes a local executable after a resource is created. This invokes a process on the machine running Terraform, not on the resource. See local-execDocumentation Index
Fetch the complete documentation index at: https://cdktn.io/docs/llms.txt
Use this file to discover all available pages before exploring further.
Initializer
Properties
| Name | Type | Description |
|---|---|---|
Command | *string | This is the command to execute. |
Type | *string | No description. |
Environment | *map[string]*string | A record of key value pairs representing the environment of the executed command. |
Interpreter | *[]*string | If provided, this is a list of interpreter arguments used to execute the command. |
When | *string | If provided, specifies when Terraform will execute the command. |
WorkingDir | *string | If provided, specifies the working directory where command will be executed. |
CommandRequired
- Type: *string
TypeRequired
- Type: *string
EnvironmentOptional
- Type: *map[string]*string
InterpreterOptional
- Type: *[]*string
WhenOptional
- Type: *string
WorkingDirOptional
- Type: *string