0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-07-04 21:14:05 +00:00
Commit Graph

1035 Commits

Author SHA1 Message Date
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
allcontributors[bot]
0400805123
docs: add zamrih as a contributor for bug, and code (#626)
* docs: update README.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2023-10-17 00:15:38 +00:00
zamrih
b90445a12c
fix(lxc): unmarshal string/int vmid as int when read container status (#622)
fix(lxc): unmarshal string/int vmid as int

Signed-off-by: zamrih <ramzi.hb@gmail.com>
Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2023-10-16 20:14:26 -04:00
allcontributors[bot]
21e33d4261
docs: add TheNotary as a contributor for code, and test (#625)
* docs: update README.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2023-10-16 20:04:24 -04:00
dependabot[bot]
21e48c7fb8
chore(deps): bump github.com/google/go-cmp from 0.5.9 to 0.6.0 (#624)
Bumps [github.com/google/go-cmp](https://github.com/google/go-cmp) from 0.5.9 to 0.6.0.
- [Release notes](https://github.com/google/go-cmp/releases)
- [Commits](https://github.com/google/go-cmp/compare/v0.5.9...v0.6.0)

---
updated-dependencies:
- dependency-name: github.com/google/go-cmp
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-16 20:03:19 -04:00
TheNotary
388ce7ce8d
fix(provider): add informative error around ssh-agent (#620)
* fix(provider): add informative error around ssh-agent
Signed-off-by: TheNotary <799247+TheNotary@users.noreply.github.com>

* fix linter errors

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

---------

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2023-10-16 20:00:09 -04:00
Oto Petřík
aeb5e88bc9
feat(vm): add 'path_in_datastore' disk argument (#606)
* feat(vm): add 'path_in_datastore' disk argument

Provide access to actual in-datastore path to disk image,
and experimental support for attaching other VM's disks or host devices.

Signed-off-by: Oto Petřík <oto.petrik@gmail.com>

* chore: added to `/example` for acceptance testing

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

---------

Signed-off-by: Oto Petřík <oto.petrik@gmail.com>
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2023-10-11 22:13:09 -04:00
dependabot[bot]
29894bda23
chore(deps): bump golang.org/x/net from 0.13.0 to 0.17.0 (#616) 2023-10-12 00:51:24 +00:00
dependabot[bot]
7287f5de48
chore(deps): bump golang.org/x/net from 0.15.0 to 0.17.0 in /tools (#617) 2023-10-11 20:50:15 -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
Pavel Boldyrev
d5994a2bd5
fix(lxc): cloned container does not start by default (#615)
* fix(lxc): cloned container does not start by default

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2023-10-10 01:20:01 +00:00
Pavel Boldyrev
be5251dd5a
feat(vm): add option to enable multiqueue in network devices (#614)
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2023-10-09 16:01:24 +00:00
dependabot[bot]
0150a97cd4
chore(deps): bump golang.org/x/crypto from 0.13.0 to 0.14.0 (#613)
* chore(deps): bump github.com/hashicorp/terraform-plugin-framework from 1.4.0 to 1.4.1 (#612)

chore(deps): bump github.com/hashicorp/terraform-plugin-framework

Bumps [github.com/hashicorp/terraform-plugin-framework](https://github.com/hashicorp/terraform-plugin-framework) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/hashicorp/terraform-plugin-framework/releases)
- [Changelog](https://github.com/hashicorp/terraform-plugin-framework/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/terraform-plugin-framework/compare/v1.4.0...v1.4.1)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/terraform-plugin-framework
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump golang.org/x/crypto from 0.13.0 to 0.14.0

Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.13.0 to 0.14.0.
- [Commits](https://github.com/golang/crypto/compare/v0.13.0...v0.14.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-09 10:17:35 -04:00
dependabot[bot]
a266496fcb
chore(deps): bump github.com/hashicorp/terraform-plugin-framework from 1.4.0 to 1.4.1 (#612)
chore(deps): bump github.com/hashicorp/terraform-plugin-framework

Bumps [github.com/hashicorp/terraform-plugin-framework](https://github.com/hashicorp/terraform-plugin-framework) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/hashicorp/terraform-plugin-framework/releases)
- [Changelog](https://github.com/hashicorp/terraform-plugin-framework/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/terraform-plugin-framework/compare/v1.4.0...v1.4.1)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/terraform-plugin-framework
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-09 10:11:01 -04:00
Pavel Boldyrev
088ad09e35
fix(lxc): multi-line description always shows as changed (#611)
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2023-10-08 21:14:04 -04:00
Pavel Boldyrev
32bdc94167
fix(lxc): create container when authenticated with API token (#610)
And also fix container startup behaviour: "error starting container ... - already running"

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2023-10-08 20:35:34 -04:00
Oto Petřík
06ad00463c
feat(provider): configure temp directory (#607)
* feat(provider): configure temp directory

Resource 'proxmox_virtual_environment_file' often requires lot of disk
space in /tmp, which can be space-limited.

Instead of requiring to set TMPDIR environment variable before running
terraform, make it a provider configuration option.

Signed-off-by: Oto Petřík <oto.petrik@gmail.com>

* fix: lint error, align names in the `client` struct

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

---------

Signed-off-by: Oto Petřík <oto.petrik@gmail.com>
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2023-10-07 21:00:34 -04:00
Simon Caron
d36cf4eab8
feat(lxc): add support for the start_on_boot option (#605)
* feat(lxc): add support for the `start_on_boot` option

Signed-off-by: Simon Caron <simon.caron.8@gmail.com>

* Move code next to started blocks + update default value

Signed-off-by: Simon Caron <simon.caron.8@gmail.com>

---------

Signed-off-by: Simon Caron <simon.caron.8@gmail.com>
Co-authored-by: Simon Caron <simon.caron.8@gmail.com>
2023-10-07 20:08:09 -04:00
Pavel Boldyrev
c44e93a9f1
misc: add sponsorship note (#602)
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2023-10-04 02:37:55 +00: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
Pavel Boldyrev
0b8f2e2c6f
fet(vm): allow scsi and sata interfaces for CloudInit Drive (#598)
* fet(vm): allow `scsi` and `sata` interfaces for CloudInit Drive

---------

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2023-10-01 22:23:11 -04:00
Pavel Boldyrev
fa590ed9e9
misc: fix tls min version typo (#597)
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2023-10-01 18:27:45 +00:00
Pavel Boldyrev
16ebf30a79
fix(api): set min TLS version 1.3, secure HTTP-only cookie (#596)
* fix(api): set min TLS version 1.3, secure HTTP-only cookie
* remove `all-tests-passed` job

---------

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2023-10-01 14:19:51 -04:00
Pavel Boldyrev
bd09fd3d6e
chore(ci): cleanup CI flows (#595)
* chore: cleanup CI flows

- remove codeql
- pin 3rd-party action versions

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

* run linter only if go files changed

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

* run build/test only if go files changed

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

---------

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2023-10-01 15:01:22 +00:00
Pavel Boldyrev
5e24a75d09
feat(file): add optional overwrite flag to the file resource (#593)
* chore: add file test

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

* add file updated test, file_name / ID is getting changed :/

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

* more tests, refactor file's read, more consistency in the attributes
TODO: need to check backward compatibility

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

* fix error message, enable import test

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

* more tests

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

* more tests for owerwrite, update docs

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

* fix tests on CI

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

---------

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2023-09-28 22:07:04 -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
dependabot[bot]
2621aadb5f
chore(deps): bump github.com/goreleaser/goreleaser from 1.21.0 to 1.21.2 in /tools (#592)
chore(deps): bump github.com/goreleaser/goreleaser in /tools

Bumps [github.com/goreleaser/goreleaser](https://github.com/goreleaser/goreleaser) from 1.21.0 to 1.21.2.
- [Release notes](https://github.com/goreleaser/goreleaser/releases)
- [Changelog](https://github.com/goreleaser/goreleaser/blob/main/.goreleaser.yaml)
- [Commits](https://github.com/goreleaser/goreleaser/compare/v1.21.0...v1.21.2)

---
updated-dependencies:
- dependency-name: github.com/goreleaser/goreleaser
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-27 21:52:54 -04:00
Pavel Boldyrev
294a9daa87
fix(tasks): fix UPID (task id) parsing error (#591)
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2023-09-28 01:46:45 +00:00
allcontributors[bot]
222f9eb4fa
docs: add 2b as a contributor for bug (#590)
* docs: update README.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2023-09-27 21:41:46 -04:00
dependabot[bot]
257332393f
chore(deps): bump github.com/goreleaser/goreleaser from 1.20.0 to 1.21.0 in /tools (#587) 2023-09-25 19:02:05 -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
03f3ed7871
fix(cluster): inconsistencies in applying cluster options (#573)
* fix(cluster): inconsistencies in applying cluster options

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

* address review comments

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

---------

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2023-09-23 08:04:52 -04:00
Pavel Boldyrev
11c09405ea
chore(code): bump go to v1.21 (#585)
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2023-09-22 02:36:03 +00:00
dependabot[bot]
7890212a56
chore(deps): bump github.com/skeema/knownhosts from 1.2.0 to 1.2.1 (#584)
Bumps [github.com/skeema/knownhosts](https://github.com/skeema/knownhosts) from 1.2.0 to 1.2.1.
- [Commits](https://github.com/skeema/knownhosts/compare/v1.2.0...v1.2.1)

---
updated-dependencies:
- dependency-name: github.com/skeema/knownhosts
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-22 02:24:58 +00:00
Pavel Boldyrev
5c0452319d
misc: fix Sign-off release-please commits
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2023-09-21 21:19:07 -04:00
Pavel Boldyrev
de1eb2b950
chore(docs): add "Proof of Work" section to the PR template (#583)
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2023-09-22 01:15:16 +00:00
Pavel Boldyrev
7cfdf7ac72
misc: fix Sign-off release-please commits (#582)
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2023-09-22 00:44:21 +00:00
Eric B
7dde53cf1c
chore(docs): update proxmox_virtual_environment_file documentation (#580)
* Update virtual_environment_file.md

* Update virtual_environment_file.md

---------

Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2023-09-21 20:33:47 -04:00
allcontributors[bot]
91d0f18871
docs: add mritalian as a contributor for test, and doc (#581)
* docs: update README.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2023-09-21 20:31:09 -04:00
allcontributors[bot]
2f4d0b682d
docs: add 0xinterface as a contributor for ideas (#579)
* docs: update README.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2023-09-21 20:09:39 -04:00
Pavel Boldyrev
b9106ff93d
misc: Sign-off release-please commits (#576)
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2023-09-19 23:28:40 -04:00
Pavel Boldyrev
d0c9b4594d
chore(doc): add a note about DCO to CONTRIBUTING.md (#574)
chore(doc): Add a note about DCO to CONTRIBUTING.md

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2023-09-19 23:10:05 -04:00
Pavel Boldyrev
5720fe4673
fix(network): remove computed flag from mtu attribute (#572)
* chore(code): refactor & update network tests

* fix(network): remove `computed` flag from `mtu` attribute

* chore: revert accidentally committed files

* chore: update docs
2023-09-19 21:41:25 -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
allcontributors[bot]
0a37dfd28d
docs: add ishioni as a contributor for bug (#565)
* docs: update README.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2023-09-13 03:09:52 +00:00
GitHub Bot
dc5e0ad8df
chore(main): release 0.32.0 (#550) 2023-09-13 03:07:25 +00:00
Pavel Boldyrev
2dee65bd0b
chore(code): remove redundant types2 import aliases (#564) 2023-09-13 03:03:43 +00:00
Pavel Boldyrev
11a8ec0c95
fix(lxc,vm): error unmarshalling string cpulimit (#563)
fix(lxc,vm): error: cannot unmarshal string `cpulimit`
2023-09-13 02:53:28 +00:00
Pavel Boldyrev
3d7fbaa7c7
chore(deps): bump github.com/hashicorp/terraform-plugin-* dependencies (#561)
* chore(deps): bump github.com/hashicorp/terraform-plugin-sdk/v2

Bumps [github.com/hashicorp/terraform-plugin-sdk/v2](https://github.com/hashicorp/terraform-plugin-sdk) from 2.28.0 to 2.29.0.
- [Release notes](https://github.com/hashicorp/terraform-plugin-sdk/releases)
- [Changelog](https://github.com/hashicorp/terraform-plugin-sdk/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/terraform-plugin-sdk/compare/v2.28.0...v2.29.0)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/terraform-plugin-sdk/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps): bump github.com/hashicorp/terraform-plugin-framework

Bumps [github.com/hashicorp/terraform-plugin-framework](https://github.com/hashicorp/terraform-plugin-framework) from 1.3.5 to 1.4.0.
- [Release notes](https://github.com/hashicorp/terraform-plugin-framework/releases)
- [Changelog](https://github.com/hashicorp/terraform-plugin-framework/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/terraform-plugin-framework/compare/v1.3.5...v1.4.0)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/terraform-plugin-framework
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps): bump github.com/hashicorp/terraform-plugin-go

Bumps [github.com/hashicorp/terraform-plugin-go](https://github.com/hashicorp/terraform-plugin-go) from 0.18.0 to 0.19.0.
- [Release notes](https://github.com/hashicorp/terraform-plugin-go/releases)
- [Changelog](https://github.com/hashicorp/terraform-plugin-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/terraform-plugin-go/compare/v0.18.0...v0.19.0)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/terraform-plugin-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps): bump github.com/hashicorp/terraform-plugin-mux

Bumps [github.com/hashicorp/terraform-plugin-mux](https://github.com/hashicorp/terraform-plugin-mux) from 0.11.2 to 0.12.0.
- [Release notes](https://github.com/hashicorp/terraform-plugin-mux/releases)
- [Changelog](https://github.com/hashicorp/terraform-plugin-mux/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/terraform-plugin-mux/compare/v0.11.2...v0.12.0)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/terraform-plugin-mux
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-13 00:25:54 +00:00
dependabot[bot]
1040aabb23
chore(deps): bump golang.org/x/crypto from 0.12.0 to 0.13.0 (#554) 2023-09-12 12:04:27 +00:00