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
dependabot[bot]
1f8330afc7
chore(deps): bump crazy-max/ghaction-import-gpg from 5 to 6 ( #558 )
2023-09-12 11:55:15 +00:00
dependabot[bot]
ac556b5515
chore(deps): bump goreleaser/goreleaser-action from 4.4.0 to 5.0.0 ( #560 )
2023-09-12 11:52:37 +00:00
Rafał Safin
de8b4ec41a
feat(cluster): add cluster options resource ( #548 )
2023-09-12 07:49:03 -04: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
Pavel Boldyrev
7ace07dfa4
feat(file): FORMAT CHANGE: update import id, so it matches the resource's format: <node_name>/<datastore_id>:<content_type>/<file>
( #543 )
...
* feat(file): FORMAT CHANGE: update **import id**, so it matches the resource's format: `<node_name>/<datastore_id>:<content_type>/<file>`
* better example
2023-09-04 20:29:58 +00:00
Emmanuel Benoît
0233053dd8
fix(vm): explicitly allow ""
as a value for CloudInit interfaces ( #546 )
...
The CloudInit interface can be left empty in order to allow
autodetection of the drive being used. However, it would seem that this
value was causing problems (see #539 ).
This commit adds an additional validator for CloudInit interfaces which
allows the `""` value.
2023-09-04 16:11:14 -04:00
Rafał Safin
13326bbd33
fix(provider): panic crash in provider, interface conversion error ( #545 )
...
Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2023-09-04 19:02:23 +00:00
dependabot[bot]
44d6d6b080
chore(deps): bump actions/checkout from 3 to 4 ( #541 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-04 14:03:27 -04:00
allcontributors[bot]
46b384dff6
docs: add simoncaron as a contributor for code ( #540 )
...
* docs: update README.md
* docs: update .all-contributorsrc
---------
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2023-09-04 14:57:40 +00:00
Simon Caron
8ce9006eed
feat(lxc): add support for keyctl
and fuse
features ( #537 )
2023-09-04 10:44:49 -04:00
Pavel Boldyrev
5ecf135398
chore(code): fix proxmox
package dependencies ( #536 )
...
move `types` back from `internal` to `proxmox` and adjust a few other types, to make sure `proxmox` package is not dependent on anything else, and therefore can be extracted to a separate repo (#423 )
2023-09-03 00:40:47 +00:00
Rafał Safin
124cac247c
feat(provider): add optional SSH port param to node in provider ssh block ( #520 )
...
* feat: Add optional SSH port param to node in provider ssh block
* fix: minor cleanups
---------
Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2023-09-02 19:43:08 -04:00
GitHub Bot
4cccebaa62
chore(main): release 0.30.3 ( #534 )
2023-09-01 01:51:07 +00:00
Pavel Boldyrev
ef2f2c1159
fix(node): file upload in multi-node PVE cluster ( #533 )
...
* fix(node): fix file upload in multi-node PVE cluster
* fix: timezone 🤦
2023-09-01 01:45:20 +00:00
allcontributors[bot]
65bdf24d58
docs: add GJKrupa as a contributor for test ( #532 )
2023-08-31 18:19:23 -04:00