mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
Updated new lines (#8883)
the render in the webpage did not show the code blocks for `Upload file to vSphere` section correctly.
This commit is contained in:
parent
1eed5ddbe0
commit
4f7723bed8
@ -15,6 +15,7 @@ Updates to file resources will handle moving a file to a new destination (datace
|
||||
## Example Usages
|
||||
|
||||
**Upload file to vSphere:**
|
||||
|
||||
```
|
||||
resource "vsphere_file" "ubuntu_disk_upload" {
|
||||
datacenter = "my_datacenter"
|
||||
@ -25,6 +26,7 @@ resource "vsphere_file" "ubuntu_disk_upload" {
|
||||
```
|
||||
|
||||
**Copy file within vSphere:**
|
||||
|
||||
```
|
||||
resource "vsphere_file" "ubuntu_disk_copy" {
|
||||
source_datacenter = "my_datacenter"
|
||||
@ -48,4 +50,4 @@ The following arguments are supported:
|
||||
* `datacenter` - (Optional) The name of a Datacenter in which the file will be uploaded to.
|
||||
* `source_datastore` - (Optional) The name of the Datastore in which file will be copied from.
|
||||
* `datastore` - (Required) The name of the Datastore in which to upload the file to.
|
||||
* `create_directories` - (Optional) Create directories in `destination_file` path parameter if any missing for copy operation. *Note: Directories are not deleted on destroy operation.
|
||||
* `create_directories` - (Optional) Create directories in `destination_file` path parameter if any missing for copy operation. *Note: Directories are not deleted on destroy operation.
|
||||
|
Loading…
Reference in New Issue
Block a user