0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-07-01 02:52:58 +00:00
Commit Graph

32 Commits

Author SHA1 Message Date
Pavel Boldyrev
bf9e31ecfc
chore: lint and reformat the code (#204)
* chore: reformat code

* chore: add commitlint config

* reformat README.md

* add linter config

* lint & reformat docs

* go linter: only new issues

* fix some linting errors

* more reformatting

* disable linter warning for some duplicated code
2023-01-16 18:07:30 -05:00
kaje783
8bd3fd7b1d
feat(vm): add support for "args" flag for VM (#205)
* feat: add support for "args" flag for VM

* switch from args to kvmarguments, update type

* cosmetics: `kvmarguments` -> `kvm_arguments`

also update doc to match description from the official PVE documentation.

Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2023-01-14 21:42:10 -05:00
Pavel Boldyrev
01d20504a1
feat: Add hostpci support (#194)
* feat: Add `hostpci` support

* document `machine` argument

* fix `rombar` argument name
2022-12-28 22:14:48 -05:00
Abdelfadeel Farag
3c02cb1389
feat: add support for network_device MTU (#176)
* add support for network_device MTU

* add mtu to the example templates

* change default mtu 1500 -> 0, update docs

Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2022-12-12 23:07:02 -05:00
Pavel Boldyrev
192cbd5e3d
Upgrade the provider codebase to use Terraform SDK v2 (#91)
* Update TF SDK using `tf-sdk-migrator v2upgrade`
Address some linter issues
Clean up `resource_virtual_environment_file.go` (still, error handling is not ideal)

* few minor cleanups

* Clean up, add context and diagnostics to `resource_virtual_environment_vm.go`

* Clean up, add context and diagnostics to `resource_virtual_environment_container.go`

* Clean up, add context and diagnostics to `resource_virtual_environment_container.go`

* Update remaining resources and data sources

* fix `make example`... now it actually uses the built provider 🤦

* propagate Context everywhere
use tflog.* for logging

* add support for debug flag

* fix old issues with:
- setting `resource_virtual_environment_file.changed` attribute
- setting `resource_virtual_environment_cluster_ipset.cidr` attributes
- setting `data_source_virtual_environment_user.groups` and `.keys` attributes

* bump dependencies

* minor cleanups

* Bump Go to v1.18
Dropped support for TF v0.x

* more cleanups

* update README.md

* update PR template

* update release.yml
2022-07-14 12:20:30 -04:00
ryan
4597175e5c provider: Migrate to standalone terraform plugin SDK 1.9.1 2020-12-13 12:25:02 +08:00
Dan Petersen
8c84784d69 Add agent.timeout argument 2020-03-14 21:20:05 +01:00
Dan Petersen
aec59ef607 Add datastore_id argument to initialization block for VM resources 2020-03-08 17:40:58 +01:00
Dan Petersen
1efe8019e4 Initial support for container cloning 2020-01-26 05:13:26 +01:00
Dan Petersen
c4c31cdf96 Refactor test cases 2020-01-19 20:52:12 +01:00
Dan Petersen
94679a3f5e Initial support for VM cloning 2020-01-19 03:40:10 +01:00
Dan Petersen
1c96dc1803 Add audio_device argument to VM resource 2020-01-14 21:31:21 +01:00
Dan Petersen
23466ab289 Add serial_device argument to VM resource 2020-01-11 16:39:08 +01:00
Dan Petersen
6dac302a01 Initial work on container resource 2020-01-02 07:57:48 +01:00
Dan Petersen
347b553202 Add bios argument to VM resource 2019-12-31 07:40:18 +01:00
Dan Petersen
073030965a Add acpi argument to VM resource 2019-12-31 07:22:34 +01:00
Dan Petersen
8a06e287b3 Add tablet_device argument to VM resource 2019-12-31 07:06:03 +01:00
Dan Petersen
ea0c17bfca Additional CPU argument 2019-12-31 06:11:13 +01:00
Dan Petersen
a9349cfbd0 Additional CPU arguments 2019-12-31 05:25:19 +01:00
Dan Petersen
7344300126 Add vga argument to VM resource 2019-12-31 01:00:53 +01:00
Dan Petersen
11524b88ee Continued work on VM resource 2019-12-30 06:03:52 +01:00
Dan Petersen
d29a0a7ef6 Add mac_addresses attribute to VM resource 2019-12-29 23:24:22 +01:00
Dan Petersen
1dfe979e9e Initial support for remote-exec provisioners 2019-12-29 21:21:48 +01:00
Dan Petersen
f335b1072c Continued work on VM resource 2019-12-28 04:12:39 +01:00
Dan Petersen
478631ce80 Continued work on VM resource 2019-12-28 00:23:40 +01:00
Dan Petersen
9261dcbf07 Initial support for multiple VLANs 2019-12-27 23:25:35 +01:00
Dan Petersen
40084fa433 Initial speed limit support for disk devices 2019-12-27 23:13:37 +01:00
Dan Petersen
f69339966a Continued work on VM resource 2019-12-27 19:36:12 +01:00
Dan Petersen
08e389dac8 Continued work on VM resource 2019-12-27 19:13:40 +01:00
Dan Petersen
c69cabc57a Continued work on VM resource 2019-12-27 02:48:27 +01:00
Dan Petersen
96d139fcb4 Initial work on VM resource implementation 2019-12-26 23:01:43 +01:00
Dan Petersen
b5c91c08f8 Continued work on VM support 2019-12-26 03:05:03 +01:00