0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-07-02 03:22:59 +00:00
Commit Graph

29 Commits

Author SHA1 Message Date
kaje783
b539aab228
fix(vm): Add parser for CustomEFIDisk (#208)
* 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.

* fix(vm): Add parser for CustomEFIDisk

* use parseDiskSize(&string) from utils.go for CustomEFIDisk

* readd the remove space by github space

* address linter errors, remove duplicated code, add unit test

Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2023-01-17 22:57:28 -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
Pascal Wiedenbeck
0df14f9d6a
feat: add the ability to clone to non-shared storage on different nodes (#178)
* feat: add workaround for cloning to non-shared storage

* fix: fix wrong API params used

* test: add new var to tests

* fix: lint issues

* docs: add new argument to docs

* docs: fix function documentation

* fix: better work with heterogeneous datastores

* docs: clarify clone behavior

* fix: go lint issues

Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2022-12-12 16:28:53 -05:00
Pavel Boldyrev
0fad160ed6
fix: linter issues (#158)
* fix: remove io/ioutil

* fix: lost diagnostic context

* fix: various linter errors

* fix: json manifests
2022-10-24 19:40:57 -04: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
Pavel Boldyrev
380f07c3e2
Update project to use bpg/terraform-provider-proxmox 2021-09-09 12:20:19 -04:00
Dan Petersen
781d83535b fix: state diff issue 2021-02-13 07:18:29 +01:00
Dan Petersen
4911843287 Merge remote-tracking branch 'patsissons/add-citype-support' into release-0.4.0 2021-01-02 22:41:03 +01:00
Dan Petersen
b02238a001 Merge remote-tracking branch 'ryan4yin/migrate-terraform-sdk' into release-0.4.0 2021-01-02 22:31:39 +01:00
Lucas Hahn
3956a31494 Add multidisk support 2021-01-02 14:21:55 +01:00
Lucas Hahn
8acafc0bb7 Fix Errors
- Fix required disk interface parameter
 - Fix datastore move to same datastore error
 - Fix compare sizes for resize disk
2021-01-02 14:21:20 +01:00
Dan Petersen
7642a319ce Support for moving and resizing disks
- Utilize asynchronous Functions for proxmox
2021-01-02 14:18:45 +01:00
Pat Sissons
fd85eb85cb adding citype support 2020-12-12 23:32:28 -08:00
ryan
4597175e5c provider: Migrate to standalone terraform plugin SDK 1.9.1 2020-12-13 12:25:02 +08:00
Dan Petersen
9775ede37e Fix VM ID collision 2020-04-03 22:12:44 +02:00
Dan Petersen
8c84784d69 Add agent.timeout argument 2020-03-14 21:20:05 +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
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
a9349cfbd0 Additional CPU arguments 2019-12-31 05:25:19 +01:00
Dan Petersen
60a998cb09 Change state comparison and default values 2019-12-31 01:40:51 +01:00
Dan Petersen
7344300126 Add vga argument to VM resource 2019-12-31 01:00:53 +01:00
Dan Petersen
1dfe979e9e Initial support for remote-exec provisioners 2019-12-29 21:21:48 +01:00
Dan Petersen
1176ef9ee4 Initial support for custom cloud-init user data 2019-12-29 06:58:35 +01:00
Dan Petersen
9261dcbf07 Initial support for multiple VLANs 2019-12-27 23:25:35 +01:00
Dan Petersen
08e389dac8 Continued work on VM resource 2019-12-27 19:13:40 +01:00
Dan Petersen
96d139fcb4 Initial work on VM resource implementation 2019-12-26 23:01:43 +01:00
Dan Petersen
ac49fb66b9 Refactoring 2019-12-15 16:45:40 +01:00