Skip to content

Commit 486ba23

Browse files
committed
fix linting issues
1 parent af3e16c commit 486ba23

File tree

14 files changed

+223
-57
lines changed

14 files changed

+223
-57
lines changed

docs/index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
# generated by https://github.com/hashicorp/terraform-plugin-docs
33
page_title: "parallels-desktop Provider"
4-
subcategory: ""
54
description: |-
65
Parallels Desktop provider allows you to manage Parallels Desktop virtual machines in a remote environment.
76
You will need a business edition license to use this provider. To get your license, please visit Parallels Desktop https://www.parallels.com/products/desktop/.

docs/resources/clone_vm.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,8 @@ resource "parallels-desktop_clone_vm" "example" {
144144
- `config` (Block, Optional) Virtual Machine config block, this is used set some of the most common settings for a VM (see [below for nested schema](#nestedblock--config))
145145
- `force_changes` (Boolean) Force changes, this will force the VM to be stopped and started again
146146
- `host` (String) Parallels Desktop DevOps Host
147+
- `keep_after_error` (Boolean) This will keep the VM even if there is an error during creation
148+
- `keep_running` (Boolean) This will keep the VM running after the terraform apply
147149
- `on_destroy_script` (Block List) Run any script after the virtual machine is created (see [below for nested schema](#nestedblock--on_destroy_script))
148150
- `orchestrator` (String) Parallels Desktop DevOps Orchestrator
149151
- `owner` (String) Virtual Machine owner
@@ -160,7 +162,6 @@ resource "parallels-desktop_clone_vm" "example" {
160162
- `external_ip` (String) VM external IP address
161163
- `id` (String) Virtual Machine Id
162164
- `internal_ip` (String) VM internal IP address
163-
- `keep_running` (Boolean) This will keep the VM running after the terraform apply
164165
- `os_type` (String) Virtual Machine OS type
165166

166167
<a id="nestedblock--authenticator"></a>

docs/resources/deploy.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ resource "parallels-desktop_deploy" "example" {
111111

112112
- `api_config` (Block, Optional) Parallels Desktop DevOps configuration (see [below for nested schema](#nestedblock--api_config))
113113
- `install_local` (Boolean) Deploy Parallels Desktop in the local machine, this will ignore the need to connect to a remote machine
114+
- `keep_after_error` (Boolean) Keep the cloned VM after an error occurs during creation
114115
- `orchestrator_registration` (Block, Optional) Orchestrator connection details (see [below for nested schema](#nestedblock--orchestrator_registration))
115116
- `reverse_proxy_host` (Block List) Parallels Desktop DevOps Reverse Proxy configuration (see [below for nested schema](#nestedblock--reverse_proxy_host))
116117
- `ssh_connection` (Block, Optional) Host connection details (see [below for nested schema](#nestedblock--ssh_connection))
@@ -134,6 +135,10 @@ resource "parallels-desktop_deploy" "example" {
134135

135136
Optional:
136137

138+
- `catalog_cache_allow_cache_above_keep_free_disk_space` (Boolean) Allow catalog cache to override the keep free disk space if it needs, this will render the keep free disk space useless
139+
- `catalog_cache_disable_stream` (Boolean) Disable catalog caching to stream, this will disable the ability of the caching to decompress the catalog items on the fly
140+
- `catalog_cache_keep_free_disk_space_size` (Number) Catalog cache keep free disk space in MB
141+
- `catalog_cache_max_size` (Number) Catalog cache max size in MB
137142
- `devops_version` (String) Parallels Desktop DevOps version to install, if empty the latest will be installed
138143
- `disable_catalog_caching` (Boolean) Disable catalog caching, this will disable the ability to cache catalog items that are pulled from a remote catalog
139144
- `enable_logging` (Boolean) Enable logging
@@ -143,6 +148,7 @@ Optional:
143148
- `environment_variables` (Map of String) Environment variables that can be used in the DevOps service, please see documentation to see which variables are available
144149
- `hmac_secret` (String, Sensitive) Parallels Desktop DevOps HMAC secret, this is used to sign the JWT tokens
145150
- `log_level` (String) Parallels Desktop DevOps log level, you can choose between debug, info, warn, error
151+
- `log_path` (String) Path to store logs
146152
- `mode` (String, Sensitive) API Operation mode, either orchestrator or catalog
147153
- `port` (String) Parallels Desktop DevOps port
148154
- `prefix` (String) Parallels Desktop DevOps port

docs/resources/remote_vm.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ resource "parallels-desktop_remote_vm" "example_box" {
150150
- `config` (Block, Optional) Virtual Machine config block, this is used set some of the most common settings for a VM (see [below for nested schema](#nestedblock--config))
151151
- `force_changes` (Boolean) Force changes, this will force the VM to be stopped and started again
152152
- `host` (String) Parallels Desktop DevOps Host
153+
- `keep_after_error` (Boolean) Keep the cloned VM after an error occurs during creation
153154
- `keep_running` (Boolean) This will keep the VM running after the terraform apply
154155
- `on_destroy_script` (Block List) Run any script after the virtual machine is created (see [below for nested schema](#nestedblock--on_destroy_script))
155156
- `orchestrator` (String) Parallels Desktop DevOps Orchestrator

go.mod

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,28 +16,66 @@ require (
1616
)
1717

1818
require (
19+
github.com/BurntSushi/toml v1.4.1-0.20240526193622-a339e1f7089c // indirect
20+
github.com/Kunde21/markdownfmt/v3 v3.1.0 // indirect
21+
github.com/Masterminds/goutils v1.1.1 // indirect
22+
github.com/Masterminds/semver/v3 v3.3.1 // indirect
23+
github.com/Masterminds/sprig/v3 v3.2.3 // indirect
24+
github.com/ProtonMail/go-crypto v1.1.6 // indirect
25+
github.com/apparentlymart/go-textseg/v15 v15.0.0 // indirect
26+
github.com/armon/go-radix v1.0.0 // indirect
27+
github.com/bgentry/speakeasy v0.1.0 // indirect
28+
github.com/bmatcuk/doublestar/v4 v4.9.1 // indirect
29+
github.com/cloudflare/circl v1.6.1 // indirect
1930
github.com/fatih/color v1.18.0 // indirect
2031
github.com/golang/protobuf v1.5.4 // indirect
2132
github.com/google/uuid v1.6.0 // indirect
33+
github.com/hashicorp/cli v1.1.7 // indirect
34+
github.com/hashicorp/errwrap v1.1.0 // indirect
35+
github.com/hashicorp/go-checkpoint v0.5.0 // indirect
36+
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
2237
github.com/hashicorp/go-hclog v1.6.3 // indirect
38+
github.com/hashicorp/go-multierror v1.1.1 // indirect
2339
github.com/hashicorp/go-plugin v1.7.0 // indirect
40+
github.com/hashicorp/go-retryablehttp v0.7.7 // indirect
2441
github.com/hashicorp/go-uuid v1.0.3 // indirect
42+
github.com/hashicorp/go-version v1.7.0 // indirect
43+
github.com/hashicorp/hc-install v0.9.2 // indirect
44+
github.com/hashicorp/terraform-exec v0.24.0 // indirect
45+
github.com/hashicorp/terraform-json v0.27.2 // indirect
46+
github.com/hashicorp/terraform-plugin-docs v0.24.0 // indirect
2547
github.com/hashicorp/terraform-plugin-go v0.29.0 // indirect
2648
github.com/hashicorp/terraform-registry-address v0.4.0 // indirect
2749
github.com/hashicorp/terraform-svchost v0.1.1 // indirect
2850
github.com/hashicorp/yamux v0.1.2 // indirect
51+
github.com/huandu/xstrings v1.3.3 // indirect
52+
github.com/imdario/mergo v0.3.15 // indirect
2953
github.com/kr/fs v0.1.0 // indirect
3054
github.com/kr/text v0.2.0 // indirect
3155
github.com/mattn/go-colorable v0.1.14 // indirect
3256
github.com/mattn/go-isatty v0.0.20 // indirect
57+
github.com/mattn/go-runewidth v0.0.16 // indirect
58+
github.com/mitchellh/copystructure v1.2.0 // indirect
3359
github.com/mitchellh/go-testing-interface v1.14.1 // indirect
60+
github.com/mitchellh/reflectwalk v1.0.2 // indirect
3461
github.com/oklog/run v1.1.0 // indirect
62+
github.com/posener/complete v1.2.3 // indirect
63+
github.com/rivo/uniseg v0.4.7 // indirect
64+
github.com/shopspring/decimal v1.3.1 // indirect
65+
github.com/spf13/cast v1.7.1 // indirect
3566
github.com/vmihailenco/msgpack/v5 v5.4.1 // indirect
3667
github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect
68+
github.com/yuin/goldmark v1.7.7 // indirect
69+
github.com/yuin/goldmark-meta v1.1.0 // indirect
70+
github.com/zclconf/go-cty v1.17.0 // indirect
71+
go.abhg.dev/goldmark/frontmatter v0.2.0 // indirect
72+
golang.org/x/exp v0.0.0-20230626212559-97b1e661b5df // indirect
73+
golang.org/x/mod v0.31.0 // indirect
3774
golang.org/x/net v0.48.0 // indirect
3875
golang.org/x/sys v0.40.0 // indirect
3976
golang.org/x/text v0.33.0 // indirect
4077
google.golang.org/genproto/googleapis/rpc v0.0.0-20250707201910-8d1bb00bc6a7 // indirect
4178
google.golang.org/grpc v1.75.1 // indirect
4279
google.golang.org/protobuf v1.36.9 // indirect
80+
gopkg.in/yaml.v2 v2.4.0 // indirect
4381
)

0 commit comments

Comments
 (0)