Pavel Boldyrev
0c6ecb85ed
fix(doc): fix sudo
configuration steps ( #1132 )
...
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-03-16 18:26:15 +00:00
Pavel Boldyrev
11ca880f28
feat(vm): add support for disconnected
attribute in network interface ( #1129 )
...
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-03-16 01:41:53 +00:00
Pavel Boldyrev
cea65a8a12
feat(vm): add support for protection
attribute ( #1126 )
...
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-03-14 22:23:02 -04:00
Pavel Boldyrev
014b59e04f
feat(vm): add support for disk aio
, backup
, iops*
attributes ( #1124 )
...
* feat(vm): add support for disk `aio`, `backup`, `iops*` attributes
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-03-14 00:24:17 -04:00
Pavel Boldyrev
27dbcad5cd
chore: minor cleanups and doc updates ( #1108 )
...
* Fix some obvious errors, remove dead code
* Add instructions for manually adding public key to authorized_keys file
* Add GitHub context dump step and update testacc workflow condition
---------
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-03-09 23:20:44 -05:00
Pavel Boldyrev
171dd2f234
chore(docs): minor improvements around SSH private key usage ( #1091 )
...
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-03-05 00:57:37 +00:00
Ming Xie
85705fdd51
fix(docs): fix wrong startup delay attributes ( #1088 )
...
fix(docs): Fix wrong startup delay attributes
Signed-off-by: Ming Xie <git@mxie.dev>
2024-03-04 19:34:13 -05:00
Jack Hodgkiss
cb5fc279cd
feat(vm): add VLAN
trunk support ( #1086 )
...
* feat(vm): add `VLAN` trunk support
Signed-off-by: Jack Hodgkiss <identity@jackhodgkiss.uk>
* update docs
* better error handling
* add trunks to acceptance test
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
---------
Signed-off-by: Jack Hodgkiss <identity@jackhodgkiss.uk>
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-03-03 13:57:58 -05:00
Pavel Boldyrev
3195b3cdf4
feat(file)!: snippets upload using SSH input stream ( #1085 )
...
* feat(file)!: safer snippets upload using SSH input stream
* fixes for acceptance tests on windows
* enable other OS-es for acceptance tests
* update example templates to use api token auth
---------
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-03-02 19:06:59 -05:00
Pavel Boldyrev
2c6d3ad01d
feat(provider): add support for private key authentication for SSH ( #1076 )
...
* feat(provider): add support for private key authentication for SSH
Also fix bunch of issues with acceptance tests
---------
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-03-02 11:10:42 -05:00
Pavel Boldyrev
c64fcd2948
feat(file): add overwrite_unmanaged
attribute to virtual_environment_download_file
resource ( #1064 )
...
* feat(file): add `overwrite_unmanaged` attribute to `virtual_environment_download_file` resource
* misc(ci): add a check for uncommitted generated docs
* misc(ci): better dependency cache
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-02-25 21:33:17 -05:00
Pavel Boldyrev
60fb679e9f
fix(file): use sudo
for snippets upload ( #1004 )
...
* fix(file): use `sudo` for snippets upload
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
* fix: linter
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
* fix: no more rm -rf
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
---------
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-02-05 21:28:28 -05:00
Eusebius1920
6bd8ba566a
docs: update sudo configuration to a more restrictive variant ( #1001 )
...
Signed-off-by: Daniel Schlosser <8429638+Eusebius1920@users.noreply.github.com>
Co-authored-by: Daniel Schlosser <8429638+Eusebius1920@users.noreply.github.com>
2024-02-04 00:38:26 -05:00
Pavel Boldyrev
49a76bb1a1
fix(docs): fix documentation tree structure in the TF registry ( #980 )
...
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-01-27 22:16:53 -05:00
Pavel Boldyrev
c39494b939
feat(docs): rename howtos -> guides and publish to the Terraform Registry ( #971 )
...
feat(docs): rename howtos -> guides and publish on the registry page
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-01-27 16:45:56 -05:00
Pavel Boldyrev
da1d7804af
feat(provider): add SOCKS5 proxy support for SSH connections ( #970 )
...
* feat(provider): add support for SOCKS5 proxy for SSH connection.
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
* fix: linter
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
---------
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-01-27 20:09:14 +00:00
Pavel Boldyrev
01a8f9779c
fix(vm): regression: sudo: command not found
when creating a VM ( #966 )
...
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-01-26 20:27:25 -05:00
Ming Xie
0d548a7807
fix(docs): Inconsistent indentations in docs ( #961 )
...
fix(docs): Inconsistent indentations cause rendering issues
Signed-off-by: Ming Xie <git@mxie.dev>
2024-01-26 20:25:51 -05:00
Pavel Boldyrev
9d764e5889
feat(provider): use sudo
to execute commands over SSH ( #950 )
...
* feat(provider): use `sudo` to execute commands over SSH
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
* fix: simplify everything, use sudo per command
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
* feat: add documentation
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
* minor doc fix
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
* chore: cleanup docs
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
---------
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-01-21 21:44:12 -05:00
Robert Kaussow
01ff2cb7db
feat: add min-tls option to provider config ( #931 )
...
* feat: add min-tls option to provider config
Signed-off-by: Robert Kaussow <mail@thegeeklab.de>
* fix: clenup code and add min-tls to file resource
Signed-off-by: Robert Kaussow <mail@thegeeklab.de>
* fix: linter errors, wrong schema type in file resource
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
* chore: update docs
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
---------
Signed-off-by: Robert Kaussow <mail@thegeeklab.de>
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-01-19 20:26:14 -05:00
Pavel Boldyrev
7d94bf73ec
chore(docs): remove static website generator with ruby dependencies ( #929 )
...
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-01-18 03:21:50 +00:00
Jason Kossis
c9c3067b61
feat(lxc): add container startup options ( #923 )
...
Signed-off-by: Jason Kossis <jkossis@gmail.om>
Co-authored-by: Jason Kossis <jkossis@gmail.om>
2024-01-17 20:45:30 -05:00
renovate[bot]
85109cbe3d
chore(docs): update activesupport (7.1.2 → 7.1.3) ( #925 )
...
| datasource | package | from | to |
| ---------- | ------------- | ----- | ----- |
| rubygems | activesupport | 7.1.2 | 7.1.3 |
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-17 19:06:42 -05:00
renovate[bot]
93283ef3ab
chore(docs): update jekyll (3.9.3 → 3.9.4) ( #921 )
...
| datasource | package | from | to |
| ---------- | ------- | ----- | ----- |
| rubygems | jekyll | 3.9.3 | 3.9.4 |
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-17 18:45:48 -05:00
renovate[bot]
2f074d6b2d
chore(deps): update just-the-docs (0.5.4 → 0.7.0) ( #898 )
...
| datasource | package | from | to |
| ---------- | ------------- | ----- | ----- |
| rubygems | just-the-docs | 0.5.4 | 0.7.0 |
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-16 05:20:06 +00:00
renovate[bot]
9a0b8979be
chore(deps): update activesupport (7.0.7.1 → 7.1.2) ( #897 )
...
| datasource | package | from | to |
| ---------- | ------------- | ------- | ----- |
| rubygems | activesupport | 7.0.7.1 | 7.1.2 |
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-16 00:18:49 -05:00
renovate[bot]
2edf2cbb1d
chore(deps): update tzinfo-data (1.2023.3 → 1.2023.4) ( #896 )
...
| datasource | package | from | to |
| ---------- | ----------- | -------- | -------- |
| rubygems | tzinfo-data | 1.2023.3 | 1.2023.4 |
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-16 04:26:00 +00:00
renovate[bot]
65f429e81c
chore(deps): update jekyll (3.9.3 → 3.9.4) ( #894 )
...
| datasource | package | from | to |
| ---------- | ------- | ----- | ----- |
| rubygems | jekyll | 3.9.3 | 3.9.4 |
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-15 23:25:00 -05:00
Tom Stokes
10dbfddc57
fix(docs): fix indentation in virtual_environment_container.md
( #882 )
...
Fix incorrect indentation in `disk` block which caused the `size` parameter to render incorrectly.
Signed-off-by: Tom Stokes <tomstokes@radixengineering.com>
2024-01-11 19:34:01 -05:00
Pavel Boldyrev
74e0ef3b1e
fix(doc): typos in proxmox_virtual_environment_file
resource ( #872 )
...
fix(doc): typos in `proxmox_virtual_environment_file` resource doc
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-01-09 21:40:55 -05:00
Pavel Boldyrev
2677445802
chore(docs): update provider documentation with more details about token use ( #846 )
...
* chore(doc): cleanup changelog
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
* fix(doc): update provider's documentation
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
* address peer-review feedback
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
---------
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-01-03 22:45:11 -05:00
Rafał Safin
58347c09fe
feat(storage): add new resource proxmox_virtual_environment_download_file
( #837 )
...
* feat(core): add query url metadata endpoint to nodes client api
Signed-off-by: Rafał Safin <rafal.safin@rafsaf.pl>
* feat(core): move storage api code to nodestorage folder
Signed-off-by: Rafał Safin <rafal.safin@rafsaf.pl>
* feat(core): add download url api
Signed-off-by: Rafał Safin <rafal.safin@rafsaf.pl>
* feat(storage): add resource_download_file
Signed-off-by: Rafał Safin <rafal.safin@rafsaf.pl>
* feat(storage): finish new resource_download_file
Signed-off-by: Rafał Safin <rafal.safin@rafsaf.pl>
* feat(storage): generate docs for new download file resource, update other docs and examples
Signed-off-by: Rafał Safin <rafal.safin@rafsaf.pl>
* feat(storage): add basic acc tests for resource download_file
Signed-off-by: Rafał Safin <rafal.safin@rafsaf.pl>
* fix(test): lint new test file
Signed-off-by: Rafał Safin <rafal.safin@rafsaf.pl>
* feat(storage): warning instead of error when file already exists on resource download file
Signed-off-by: Rafał Safin <rafal.safin@rafsaf.pl>
* feat(storage): better validation in resource download file, delete upload task on error
Signed-off-by: Rafał Safin <rafal.safin@rafsaf.pl>
* feat(storage): better err message in resource download file
Signed-off-by: Rafał Safin <rafal.safin@rafsaf.pl>
* fix(core): removed unnecessary toint in custom type bool
Signed-off-by: Rafał Safin <rafal.safin@rafsaf.pl>
* fix(storage): typo in resource download file error
Signed-off-by: Rafał Safin <rafal.safin@rafsaf.pl>
* feat(storage): download file resource review - 1
Signed-off-by: Rafał Safin <rafal.safin@rafsaf.pl>
* feat(storage): finish resource download file after review
Signed-off-by: Rafał Safin <rafal.safin@rafsaf.pl>
* fix(storage): error instead of warnings in parse int errors in sizeRequiresReplaceModifier
Signed-off-by: Rafał Safin <rafal.safin@rafsaf.pl>
* fix(docs): remove unwanted changes in virtual_environment_file.md
Signed-off-by: Rafał Safin <rafal.safin@rafsaf.pl>
* fix(test): fix download file base acceptance tests
Signed-off-by: Rafał Safin <rafal.safin@rafsaf.pl>
* fix(test): fix resource download file acc tests
Signed-off-by: Rafał Safin <rafal.safin@rafsaf.pl>
* fix(test): last fix resource download file acc test
Signed-off-by: Rafał Safin <rafal.safin@rafsaf.pl>
* fix: use PVE-compatible jammy LXC image, fix few typos
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
---------
Signed-off-by: Rafał Safin <rafal.safin@rafsaf.pl>
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
Co-authored-by: Rafał Safin <rafal.safin@rafsaf.pl>
Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-01-02 21:29:13 -05:00
Rafał Safin
16e571dc19
feat(vm, lxc): add new initialization.dns.servers
param to vm and container ( #832 )
...
feat(vm): add new dns servers param to vm and container, deprecated server param
Signed-off-by: rafsaf <rafal.safin12@gmail.com>
2023-12-22 20:19:21 -05:00
bitchecker
34df9773c3
fix(provider): allow FQDN for ssh.node.address
in provider's config ( #824 )
...
* fix(provider): removed ip check/limitation to mkProviderSSHNode
It is now possible to use an FQDN instead of an IP Address when the SSH
node is configured
Changes to be committed:
modified: proxmoxtf/provider/schema.go
Signed-off-by: bitchecker <ciro.deluca@autistici.org>
* fix(docs): Updating documentation after the code updates
Signed-off-by: bitchecker <ciro.deluca@autistici.org>
---------
Signed-off-by: bitchecker <ciro.deluca@autistici.org>
2023-12-20 19:40:11 -05:00
Pavel Boldyrev
9712952e26
feat(vm): add cpu.limit
attribute ( #814 )
...
* feat(vm): add `cpu.limit` attribute
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
* update docs and examples
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
---------
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2023-12-17 18:18:41 -05:00
frostyfab
86d0f07e9b
fix(docs): add clone/full parameter for vms ( #797 )
...
Add documentation for vm/clone/full parameter related to #551
Signed-off-by: Moritz Winter <siliconaire@frostyfab.de>
2023-12-13 20:59:23 -05:00
Chase H
6ebe8dcc60
feat(vm): support stopping (rather than shutting down) VMs on resource destroy ( #783 )
...
* Support stopping VMs on destroy
Signed-off-by: Chase <31072505+ActualTrash@users.noreply.github.com>
* Make the linter happy
Signed-off-by: Chase <31072505+ActualTrash@users.noreply.github.com>
---------
Signed-off-by: Chase <31072505+ActualTrash@users.noreply.github.com>
2023-12-10 23:43:30 -05:00
Pavel Boldyrev
25deebba26
fix(lxc): fixes for datastore-backed volume mounts ( #772 )
...
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2023-12-06 23:39:35 +00:00
Taras
8bf26099e0
feat(lxc)!: allow to update features
, add mount type support ( #765 )
...
* feat(lxc): allow to update features, add mount type support
Signed-off-by: tarik02 <taras.fomin@gmail.com>
* updates according to the MR
Signed-off-by: tarik02 <taras.fomin@gmail.com>
* update according to the pull request
Signed-off-by: tarik02 <taras.fomin@gmail.com>
---------
Signed-off-by: tarik02 <taras.fomin@gmail.com>
2023-12-06 16:18:05 -05:00
Rui Lopes
66bba2a027
feat(vm): Add support for setting the VM TPM State device ( #743 )
...
* feat(vm): add support for setting the vm tpm state
Signed-off-by: Rui Lopes <rgl@ruilopes.com>
* feat(vm): add encoding / unmarshalling for CustomTPMState
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
* feat(vm): fix typos
Signed-off-by: Rui Lopes <rgl@ruilopes.com>
* feat(vm): fix vmGetTPMState
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
* feat(docs): add the vm tpm_state documentation
Signed-off-by: Rui Lopes <rgl@ruilopes.com>
* feat(docs): add the vm tpm_state example
Signed-off-by: Rui Lopes <rgl@ruilopes.com>
---------
Signed-off-by: Rui Lopes <rgl@ruilopes.com>
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2023-12-04 21:53:33 -05:00
Pavel Boldyrev
d5193b3e9b
fix(docs): improve documentation for container feature flags ( #747 )
...
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2023-11-28 14:30:01 -05:00
Pavel Boldyrev
e2717a9a9e
feat(docs): add initial mini-howtos for VM ( #730 )
...
* chore(docs): minor fixes and linting
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
* chore(docs): add VM mini-howtos with examples
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
* address peer-review feedback
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
* vscode settings
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
---------
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2023-11-28 12:38:47 -05:00
simplysoft
0eb04b2a25
feat(vm): Support hook script ( #733 )
...
for vms, relates to #570
Signed-off-by: Simplysoft GmbH <1588210+simplysoft@users.noreply.github.com>
2023-11-28 12:06:11 -05:00
DanielHabenicht
3280370155
feat(file): rename content type backup
-> dump
for backups ( #724 )
...
specify right content type for backups
This now matches with the folder used by proxmox for backups
Also update documentation to reflect the change
Signed-off-by: DanielHabenicht <daniel-habenicht@outlook.de>
2023-11-16 20:54:48 -05:00
Daniele De Lorenzi
0eeb7a7fd9
feat(vm): Add Win 11 as os type ( #720 )
2023-11-16 13:55:34 +00:00
TheNotary
0bf3a2aea3
chore(docs): update hostpci id to mentions requirement around root user ( #710 )
...
Signed-off-by: TheNotary <799247+TheNotary@users.noreply.github.com>
Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2023-11-12 02:03:38 +00:00
DanielHabenicht
e45c1c8126
fix(docs): add SSH info box to ressources needing it ( #690 )
...
* Update virtual_environment_file.md
* Update proxmox_virtual_environment_file readme
Signed-off-by: DanielHabenicht <daniel-habenicht@outlook.de>
---------
Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2023-11-11 20:11:16 -05:00
TheNotary
d61cdc2b5c
chore(docs): update VM ip address to mention the CIDR suffic requirement ( #697 )
...
docs: update VM ip address to mention the CIDR suffic requirement
Signed-off-by: TheNotary <799247+TheNotary@users.noreply.github.com>
2023-11-09 18:44:11 -05:00
Pavel Boldyrev
3f582d8163
fix(provider): sanitize PVE endpoint value ( #686 )
...
Ignore `/api2/json` path in case it is present in the endpoint.
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2023-11-06 00:30:43 +00:00
Pavel Boldyrev
3fd6b6b2ce
fix(vm): update validation and docs for machine
attribute ( #681 )
...
* fix(vm): update validation and docs for `machine` attribute.
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
* chore: remove certificate resource from acceptance tests
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
---------
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2023-11-05 22:49:01 +00:00