0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-08-22 11:28:33 +00:00
Commit Graph

191 Commits

Author SHA1 Message Date
GitHub Bot
e06558ddbf
chore(main): release 0.43.0 (#849)
Signed-off-by: GitHub Bot <48106979+bpg-bot@users.noreply.github.com>
Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-01-03 22:58:57 -05:00
GitHub Bot
91e4780af5
chore(main): release 0.42.1 (#835)
Signed-off-by: GitHub Bot <48106979+bpg-bot@users.noreply.github.com>
2023-12-29 00:25:49 -05:00
Pavel Boldyrev
d8f82d47b3
chore(tests): Update acceptance tests to PVE 8.1, add docs (#834)
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2023-12-24 07:26:06 -05:00
GitHub Bot
528efbca0d
chore(main): release 0.42.0 (#821)
Signed-off-by: GitHub Bot <48106979+bpg-bot@users.noreply.github.com>
2023-12-22 20:28:12 -05:00
GitHub Bot
100eec3a28
chore(main): release 0.41.0 (#786)
Signed-off-by: GitHub Bot <48106979+bpg-bot@users.noreply.github.com>
2023-12-17 22:31:13 -05:00
GitHub Bot
db270efd89
chore(main): release 0.40.0 (#763)
Signed-off-by: GitHub Bot <48106979+bpg-bot@users.noreply.github.com>
2023-12-06 19:31:34 -05:00
DanielHabenicht
f1450cb6dd
fix(docs): add more details about local testing of the provider (#698)
* fix(docs): add local testing part

Signed-off-by: GitHub <noreply@github.com>
Signed-off-by: DanielHabenicht <daniel-habenicht@outlook.de>

* fix code format

Signed-off-by: GitHub <noreply@github.com>
Signed-off-by: DanielHabenicht <daniel-habenicht@outlook.de>

* update manual testing instructions

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>

* fix terraform.rc ref for windows

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>

---------

Signed-off-by: GitHub <noreply@github.com>
Signed-off-by: DanielHabenicht <daniel-habenicht@outlook.de>
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 22:33:19 -05:00
GitHub Bot
6747dafac7
chore(main): release 0.39.0 (#746)
Signed-off-by: GitHub Bot <48106979+bpg-bot@users.noreply.github.com>
Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2023-11-30 12:48:56 -05:00
GitHub Bot
a96a3a9641
chore(main): release 0.38.1 (#729)
Signed-off-by: GitHub Bot <48106979+bpg-bot@users.noreply.github.com>
2023-11-17 18:42:31 -05:00
GitHub Bot
9e9d892b48
chore(main): release 0.38.0 (#714)
Signed-off-by: GitHub Bot <48106979+bpg-bot@users.noreply.github.com>
2023-11-16 21:25:43 -05:00
GitHub Bot
74ddd82550
chore(main): release 0.37.1 (#682)
Signed-off-by: GitHub Bot <48106979+bpg-bot@users.noreply.github.com>
2023-11-11 21:22:36 -05:00
GitHub Bot
2db0782edf
chore(main): release 0.37.0 (#661)
Signed-off-by: GitHub Bot <48106979+bpg-bot@users.noreply.github.com>
2023-10-30 21:57:56 -04:00
GitHub Bot
30878f9183
chore(main): release 0.36.0 (#644)
Signed-off-by: GitHub Bot <48106979+bpg-bot@users.noreply.github.com>
2023-10-25 22:04:59 -04:00
GitHub Bot
70e94e6722
chore(main): release 0.35.1 (#639)
Signed-off-by: GitHub Bot <48106979+bpg-bot@users.noreply.github.com>
2023-10-22 23:53:28 -04:00
GitHub Bot
3db98718c6
chore(main): release 0.35.0 (#618)
Signed-off-by: GitHub Bot <48106979+bpg-bot@users.noreply.github.com>
2023-10-16 20:31:24 -04:00
GitHub Bot
73749425a1
chore(main): release 0.34.0 (#608)
Signed-off-by: GitHub Bot <48106979+bpg-bot@users.noreply.github.com>
2023-10-09 21:27:18 -04:00
GitHub Bot
9e542ad8a8
chore(main): release 0.33.0 (#594)
Signed-off-by: GitHub Bot <48106979+bpg-bot@users.noreply.github.com>
2023-10-01 22:46:19 -04:00
GitHub Bot
dfbf89b827
chore(main): release 0.32.2 (#588)
Signed-off-by: GitHub Bot <48106979+bpg-bot@users.noreply.github.com>
2023-09-27 21:55:55 -04:00
GitHub Bot
4640cd07f8
chore(main): release 0.32.1 (#569)
Signed-off-by: GitHub Bot <48106979+bpg-bot@users.noreply.github.com>
2023-09-24 21:09:02 -04:00
Pavel Boldyrev
7d064a8b27
chore(code): re-organize and cleanup "fwk provider"'s code (#568)
* chore(code): code cleanup / renaming

* chore(code): flatten and rename fw provider package

* chore(code): refactor & update network tests
2023-09-17 22:50:24 +00:00
GitHub Bot
dc5e0ad8df
chore(main): release 0.32.0 (#550) 2023-09-13 03:07:25 +00:00
Pavel Boldyrev
edec5bfd1c
chore(ci): cleanup and update project configs (#549) 2023-09-07 01:41:08 +00:00
GitHub Bot
79eafe41e3
chore(main): release 0.31.0 (#535) 2023-09-04 16:34:30 -04:00
GitHub Bot
4cccebaa62
chore(main): release 0.30.3 (#534) 2023-09-01 01:51:07 +00:00
GitHub Bot
f95970d26d
chore(main): release 0.30.2 (#525) 2023-08-31 01:39:23 +00:00
GitHub Bot
60f59c6e13
chore(main): release 0.30.1 (#516) 2023-08-22 10:13:46 -04:00
GitHub Bot
dfae1637be
chore(main): release 0.30.0 (#490) 2023-08-21 00:10:19 +00:00
GitHub Bot
73ff94b70c
chore(main): release 0.29.0 (#470)
Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2023-08-10 21:44:46 +00:00
Pavel Boldyrev
8d0b3ed25f
fix(vm): default disk cache is not set to none if not specified for an existing disk (#478)
Also fixes missing `ForceNew` for `file` resources.
2023-08-10 19:27:22 +00:00
dandaolrian
f901e711dd
feat(file): ensure upload of ISO/VSTMPL is completed upon resource creation (#471)
* feat(provider): ensure upload of ISO/VSTMPL completes before starting VM and add timeout to config for this

* remove `ForceNew: true` for the timeout attribute

* minor docs update

---------

Co-authored-by: dandaolrian <dandaolrian@users.noreply.github.com>
Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2023-08-10 11:01:14 -04:00
GitHub Bot
8803bb0b6a
chore(main): release 0.28.0 (#452) 2023-08-06 13:45:14 -04:00
GitHub Bot
c785279786
chore(main): release 0.27.0 (#444) 2023-07-30 15:14:14 -04:00
Pavel Boldyrev
a3b95c8053
chore: update dependencies, cleanup docs (#446) 2023-07-30 16:24:53 +00:00
GitHub Bot
aefa349263
chore(main): release 0.26.0 (#441) 2023-07-28 22:15:45 -04:00
Pavel Boldyrev
a9a7329d9f
feat(core): migrate version datasource to TF plugin framework (#440)
* feat: migrate `version` datasource to tf framework

* set up documentation generator

* add generated docs for network resources

* fix test mux server, add import examples to network resources

* fix network tests

* fix shell examples
2023-07-29 02:10:02 +00:00
GitHub Bot
f68e8ea565
chore(main): release 0.25.0 (#434) 2023-07-20 20:02:07 -04:00
Pavel Boldyrev
b2a27f3ccf
chore: cleanup resource validators & utility code (#438)
* chore: cleanup resource validators & utility code

* fix linter errors
2023-07-20 19:58:19 -04:00
GitHub Bot
45590ef653
chore(main): release 0.24.2 (#431) 2023-07-16 18:14:37 +00:00
GitHub Bot
a1d76441d5
chore(main): release 0.24.1 (#425) 2023-07-16 13:39:33 -04:00
GitHub Bot
041c71e4b5
chore(main): release 0.24.0 (#404) 2023-07-08 22:27:40 -04:00
GitHub Bot
514877132c
chore(main): release 0.23.0 (#382) 2023-07-02 20:56:17 -04:00
GitHub Bot
e3662df083
chore(main): release 0.22.0 (#372) 2023-06-24 01:42:51 -04:00
GitHub Bot
ff1e6a4524
chore(main): release 0.21.1 (#357) 2023-06-07 23:42:44 +00:00
GitHub Bot
e8a77734e0
chore(main): release 0.21.0 (#348) 2023-05-31 21:22:56 -04:00
GitHub Bot
b2b18470f9
chore(main): release 0.20.1 (#346) 2023-05-23 02:14:17 +00:00
GitHub Bot
18fceb8734
chore(main): release 0.20.0 (#338) 2023-05-22 14:12:53 -04:00
Pavel Boldyrev
37494a01b6
Update Makefile 2023-05-19 12:42:44 -04:00
Kevin
1c920de71d
feat: bump Go to 1.20 to resolve MacOS DNS resolution issues (#342)
* feat: bump the go version

Bumping the go version ensures that MacOS DNS is resolved correctly as
per https://go-review.googlesource.com/c/go/+/446178.

Resolves: #341

* bump go version in /tools and in readme

---------

Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2023-05-19 12:37:22 -04:00
GitHub Bot
85ddac9053
chore(main): release 0.19.1 (#332) 2023-05-13 22:16:55 -04:00
GitHub Bot
ba57a5da36
chore(main): release 0.19.0 (#325) 2023-05-10 22:12:02 -04:00
GitHub Bot
c3f1d25d7c
chore(main): release 0.18.2 (#315) 2023-05-04 20:27:19 -04:00
Pavel Boldyrev
aa99290664
chore(make): Add lint, release-build targets (#317) 2023-05-01 03:37:35 +00:00
GitHub Bot
b33a8ce620
chore(main): release 0.18.1 (#309) 2023-04-24 11:09:21 -04:00
GitHub Bot
20aacc2547
chore(main): release 0.18.0 (#297) 2023-04-18 01:41:04 +00:00
GitHub Bot
5ffb7d5acc
chore(main): release 0.17.1 (#292) 2023-04-09 20:02:40 -04:00
GitHub Bot
b7e73ed360
chore(main): release 0.17.0 (#289) 2023-04-07 15:39:10 -04:00
GitHub Bot
e8d926218e
chore(main): release 0.17.0-rc2 (#286) 2023-04-03 20:47:08 -04:00
GitHub Bot
9465f1472c
chore(main): release 0.17.0-rc1 (#284) 2023-04-02 18:04:52 -04:00
GitHub Bot
960af3ab89
chore(main): release 0.16.0 (#279) 2023-04-02 17:03:14 -04:00
GitHub Bot
51ebd8db43
chore(main): release 0.15.0 (#272) 2023-03-25 10:34:59 -04:00
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