0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-06-30 18:42:58 +00:00
Commit Graph

181 Commits

Author SHA1 Message Date
GitHub Bot
6e71c5edaa
chore(main): release 0.14.1 (#264) 2023-03-19 01:24:21 +00:00
Pavel Boldyrev
914631f58b
fix(build): Fix make example-init for TF 1.4 (#262)
* fix(build): Fix make example-init for TF 1.4

* add 1.4.2 to versions list
2023-03-16 22:09:41 -04:00
GitHub Bot
8b28e94628
chore(main): release 0.14.0 (#252) 2023-03-13 23:54:43 -04:00
GitHub Bot
1b4caa2206
chore(main): release 0.13.1 (#243) 2023-03-06 23:18:20 -05:00
GitHub Bot
6bb6bac3e6
chore(main): release 0.13.0 (#236) 2023-02-17 17:00:16 -05:00
GitHub Bot
4bc3b8dd5a
chore(main): release 0.12.1 (#232) 2023-02-07 10:15:06 -05:00
Pavel Boldyrev
f97407dc00
fix(build): trailing space in provider's version (#233) 2023-02-07 00:29:24 +00:00
GitHub Bot
ae91210f3f
chore(main): release 0.12.0 (#218) 2023-02-05 23:21:42 -05:00
GitHub Bot
216dce2a0a
chore(main): release 0.11.0 (#213) 2023-01-23 21:35:51 -05:00
GitHub Bot
4b2d4b5555
chore(main): release 0.10.0 (#206) 2023-01-17 23:03:50 -05:00
GitHub Bot
9101977dc8
chore(main): release 0.9.1 (#200) 2023-01-02 15:43:17 -05:00
GitHub Bot
d1fbdee71c
chore(main): release 0.9.0 (#195) 2023-01-01 21:26:27 -05:00
GitHub Bot
b9c51e6e27
chore(main): release 0.8.0 (#170) 2022-12-12 23:11:29 -05:00
GitHub Bot
e6e24786a1
chore(main): release 0.7.0 (#159)
Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2022-11-17 20:43:58 -05:00
Pavel Boldyrev
66f965df04
chore(main): release 0.6.4 (#146) 2022-10-17 01:45:47 -04:00
Pavel Boldyrev
7145061bb3
chore: use automatic versioning in Makefile
Closes: #132
2022-10-16 21:40:19 -04:00
Pavel Boldyrev
37fe0e03ff
Fix disk import when VM template has multiple disks (#96)
The disk import operation is not exposed via Proxmox APIs, so implemented as a sequence of commands run as an inline script via ssh.
`qm importdisk` is used to import a disk into VM from an external file, however, it auto-generates the disk ID.
The following command `qm set` is used to assign the imported disk to a VM, and it requires the disk ID as a parameter.

Update the import logic to read the disk ID from the output of `qm importdisk` command rather than trying to assume it from a number of disks defined in the VM.
2022-07-22 19:03:39 -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
a595cba835
Add support for darwin_arm64 in Makefile & bump deps in examples (#56) 2022-04-02 00:39:35 -04:00
Pavel Boldyrev
380f07c3e2
Update project to use bpg/terraform-provider-proxmox 2021-09-09 12:20:19 -04:00
Dan Petersen
427db3d44a fix: example and makefile issues 2021-02-13 02:46:29 +01:00
Dan Petersen
c077ea4060 fix: changed ip detection logic based on review and added initial terraform 0.13 compatibility for the example module 2020-09-15 22:08:03 +02:00
Dan Petersen
23101627dc Format code 2020-03-17 22:20:26 +01:00
Dan Petersen
440d24f2d4 Update Makefile 2019-12-16 02:18:23 +01:00
Dan Petersen
72f10d9ebe Update Makefile 2019-12-16 02:13:39 +01:00
Dan Petersen
51f671ad23 Initial work on VM API handling 2019-12-16 00:05:53 +01:00
Dan Petersen
1cf307cec0 Update Makefile 2019-12-15 16:49:41 +01:00
Dan Petersen
ac49fb66b9 Refactoring 2019-12-15 16:45:40 +01:00
Dan Petersen
59598cf544 Initial work on user resource 2019-12-09 22:38:28 +01:00
Dan Petersen
df101366f2 Latest work 2019-12-08 17:59:05 +01:00
Dan Petersen
5a79f039c1 Initial work 2019-12-07 19:58:29 +01:00