The remote-exec provisioner invokes a script on a remote resource after it is created. This can be used to run a configuration management tool, bootstrap into a cluster, etc The remote-exec provisioner requires a connection and supports both ssh and winrm. See remote-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 |
|---|---|---|
Type | string | No description. |
Connection | SSHProvisionerConnection|WinrmProvisionerConnection | Most provisioners require access to the remote resource via SSH or WinRM and expect a nested connection block with details about how to connect. |
Inline | string[] | This is a list of command strings. |
Script | string | This is a path (relative or absolute) to a local script that will be copied to the remote resource and then executed. |
Scripts | string[] | This is a list of paths (relative or absolute) to local scripts that will be copied to the remote resource and then executed. |
TypeRequired
- Type: string
ConnectionOptional
InlineOptional
- Type: string[]
ScriptOptional
- Type: string
ScriptsOptional
- Type: string[]