The file provisioner copies files or directories from the machine running Terraform to the newly created resource. The file provisioner supports both ssh and winrm type connections. See fileDocumentation 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 |
|---|---|---|
Destination | string | The source file or directory. |
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. |
Content | string | The destination path to write to on the remote system. |
Source | string | The direct content to copy on the destination. |
DestinationRequired
- Type: string
TypeRequired
- Type: string
ConnectionOptional
ContentOptional
- Type: string
SourceOptional
- Type: string