0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-07-01 02:52:58 +00:00
Commit Graph

1447 Commits

Author SHA1 Message Date
Pavel Boldyrev
c20d79dfbe
fix(vm): cpu.architecture showed as new attribute at re-apply after creation (#1524)
Fix for another use case of mismanaged default value. This one was a bit trickier to spot as it triggered only when provider is authenticated using root@pam, as architecture change is allowed only for root.

Removing default value altogether, as the PVE API default for this attribute is an empty string.

VM2 resource will have no such issue, related: #1310, #1311

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-09-08 19:25:40 -04:00
Pavel Boldyrev
35b6571bf4
chore(vm): add acc test for no cdrom by default (#1523)
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-09-08 22:14:16 +00:00
Pavel Boldyrev
84d55cf569
fix(docs): improve "SSH User" section describing sudo privileges (#1522)
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-09-08 21:29:53 +00:00
renovate[bot]
a0bce8d699
chore(deps): update module golang.org/x/net (v0.28.0 → v0.29.0) (#1520)
| datasource | package          | from    | to      |
| ---------- | ---------------- | ------- | ------- |
| go         | golang.org/x/net | v0.28.0 | v0.29.0 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-08 11:13:47 -04:00
renovate[bot]
3951bdab4a
chore(deps): update module golang.org/x/crypto (v0.26.0 → v0.27.0) (#1519)
| datasource | package             | from    | to      |
| ---------- | ------------------- | ------- | ------- |
| go         | golang.org/x/crypto | v0.26.0 | v0.27.0 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-08 11:13:34 -04:00
renovate[bot]
273b3c93b3
chore(deps): update golang.org/x/exp digest (9b4947d → e7e105d) (#1517)
| datasource | package          | from                               | to                                 |
| ---------- | ---------------- | ---------------------------------- | ---------------------------------- |
| go         | golang.org/x/exp | v0.0.0-20240823005443-9b4947da3948 | v0.0.0-20240904232852-e7e105dedf7e |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-08 11:08:48 -04:00
Sven Greb
9b34c485ab
feat(lxc): Implement support for container's "protection flag" (#1512)
* feat(lxc): Implement support for container's "protection flag"

The Proxmox VE types already has the `protection` API parameter [1],
but it is not exposed to the provider users.
This pull request implements the missing logic to make it available in
order to allow to protect containers against deletion/update operations,
including the container's disks.

[1]: https://github.com/bpg/terraform-provider-proxmox/blob/v0.63.0/proxmox/nodes/containers/containers_types.go#L59

Relates GH-1126

Signed-off-by: Sven Greb <development@svengreb.de>

* Update example/resource_virtual_environment_container.tf

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

---------

Signed-off-by: Sven Greb <development@svengreb.de>
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-09-08 11:08:13 -04:00
Björn Brauer
a6eb81af08
feat(acme): implement resources and data sources for ACME plugins (#1479)
* feat(acme): implement CRUD API for proxmox cluster ACME plugins

Signed-off-by: Björn Brauer <zaubernerd@zaubernerd.de>

* feat(acme): implement acme_plugins data source

Signed-off-by: Björn Brauer <zaubernerd@zaubernerd.de>

* feat(acme): implement acme_plugin data source

Signed-off-by: Björn Brauer <zaubernerd@zaubernerd.de>

* feat(acme): implement plugin resource creation

Signed-off-by: Björn Brauer <zaubernerd@zaubernerd.de>

* feat(acme): implement plugin resource read

Signed-off-by: Björn Brauer <zaubernerd@zaubernerd.de>

* feat(acme): implement plugin resource update

Signed-off-by: Björn Brauer <zaubernerd@zaubernerd.de>

* feat(acme): implement plugin resource deletion

Signed-off-by: Björn Brauer <zaubernerd@zaubernerd.de>

* feat(acme): implement plugin resource import

Signed-off-by: Björn Brauer <zaubernerd@zaubernerd.de>

* docs(acme): generate documentation

Signed-off-by: Björn Brauer <zaubernerd@zaubernerd.de>

* fix: apply suggestions from code review

Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
Signed-off-by: Björn Brauer <zaubernerd@zaubernerd.de>

* refactor: extract common fields into BasePluginData

Signed-off-by: Björn Brauer <zaubernerd@zaubernerd.de>

* fix: restrict plugin resource to type=dns only

because type=standalone is not configurable and always enabled by
default.

Signed-off-by: Björn Brauer <zaubernerd@zaubernerd.de>

* fix: remove unused 'nodes' property

https://github.com/bpg/terraform-provider-proxmox/pull/1479/files#r1710916265

Signed-off-by: Björn Brauer <zaubernerd@zaubernerd.de>

* fix: remove "delete" property

https://github.com/bpg/terraform-provider-proxmox/pull/1479/files#r1710908809

Signed-off-by: Björn Brauer <zaubernerd@zaubernerd.de>

* feat: implement attribute deletion

Signed-off-by: Björn Brauer <zaubernerd@zaubernerd.de>

* fix: ignore empty lines in dns plugin data

Signed-off-by: Björn Brauer <zaubernerd@zaubernerd.de>

* fix: partial revert of code review suggestions

Joining the values with a string literal would produce \\n instead of \n
and splitting at \\n doesn't match a newline.

Signed-off-by: Björn Brauer <zaubernerd@zaubernerd.de>

* refactor: extract acme plugin models into separate file

Signed-off-by: Björn Brauer <zaubernerd@zaubernerd.de>

* fix: format disable parameter as int

Signed-off-by: Björn Brauer <zaubernerd@zaubernerd.de>

---------

Signed-off-by: Björn Brauer <zaubernerd@zaubernerd.de>
Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-09-08 10:54:16 -04:00
renovate[bot]
112f058e66
chore(ci): update actions/create-github-app-token action (v1.10.3 → v1.10.4) (#1518)
| datasource  | package                         | from    | to      |
| ----------- | ------------------------------- | ------- | ------- |
| github-tags | actions/create-github-app-token | v1.10.3 | v1.10.4 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-06 02:39:58 +00:00
renovate[bot]
9172ec6a9f
chore(deps): update module go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp (v0.53.0 → v0.54.0) in /tools (#1509)
* chore(deps): update module go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp (v0.53.0 → v0.54.0) in /tools

| datasource | package                                                       | from    | to      |
| ---------- | ------------------------------------------------------------- | ------- | ------- |
| go         | go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp | v0.53.0 | v0.54.0 |

* cleanup tools/go.mod

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: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-08-24 21:00:20 -04:00
renovate[bot]
0623bfd156
chore(deps): update golang.org/x/exp digest (0cdaa3a → 9b4947d) (#1506)
| datasource | package          | from                               | to                                 |
| ---------- | ---------------- | ---------------------------------- | ---------------------------------- |
| go         | golang.org/x/exp | v0.0.0-20240808152545-0cdaa3abc0fa | v0.0.0-20240823005443-9b4947da3948 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-23 02:46:49 -04:00
renovate[bot]
5707feab06
chore(deps): update module github.com/golangci/golangci-lint (v1.60.2 → v1.60.3) in /tools (#1507)
| datasource | package                           | from    | to      |
| ---------- | --------------------------------- | ------- | ------- |
| go         | github.com/golangci/golangci-lint | v1.60.2 | v1.60.3 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-23 02:46:35 -04:00
renovate[bot]
35cbe98d6b
chore(deps): update module github.com/golangci/golangci-lint (v1.60.1 → v1.60.2) in /tools (#1499)
* chore(deps): update module github.com/golangci/golangci-lint (v1.60.1 → v1.60.2) in /tools

| datasource | package                           | from    | to      |
| ---------- | --------------------------------- | ------- | ------- |
| go         | github.com/golangci/golangci-lint | v1.60.1 | v1.60.2 |

* 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: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-08-22 00:30:20 +00:00
bpg-autobot[bot]
f907ea4bf8
chore(main): release 0.63.0 (#1486)
Co-authored-by: bpg-autobot[bot] <155200059+bpg-autobot[bot]@users.noreply.github.com>
2024-08-20 23:09:14 -04:00
renovate[bot]
3f6bc5eba2
chore(ci): update hashicorp/setup-terraform action (v3.1.1 → v3.1.2) (#1498)
| datasource  | package                   | from   | to     |
| ----------- | ------------------------- | ------ | ------ |
| github-tags | hashicorp/setup-terraform | v3.1.1 | v3.1.2 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-21 03:00:57 +00:00
Pavel Boldyrev
abb0be4684
chore(example): update links to container images, use faster mirror (#1497)
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-08-19 18:20:05 +00:00
renovate[bot]
6635c89f63
chore(deps): update tools (#1490)
* chore(deps): update tools

| datasource     | package                           | from    | to      |
| -------------- | --------------------------------- | ------- | ------- |
| go             | github.com/golangci/golangci-lint | v1.59.1 | v1.60.1 |
| golang-version | go                                | 1.22.6  | 1.23.0  |

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

* fix: linter errors

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

* fix: 1.23.0 in the main `go.mod`

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: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-08-19 13:48:39 -04:00
renovate[bot]
3343a93840
chore(deps): update go (1.22.6 → 1.23.0) (#1489)
| datasource     | package | from   | to     |
| -------------- | ------- | ------ | ------ |
| golang-version | go      | 1.22.6 | 1.23.0 |

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-19 16:21:00 +00:00
allcontributors[bot]
52641456cd
docs: add Diskoteket as a contributor for doc (#1496)
* docs: update CONTRIBUTORS.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2024-08-19 16:01:26 +00:00
Tim Wetterek
4f8e18da04
fix(doc): update virtual_environment_vm.md (#1495)
Update virtual_environment_vm.md

Typo in example usage of using downloaded iso for disk

Signed-off-by: Tim Wetterek <tim@wetterek.se>
2024-08-19 11:59:54 -04:00
Sven Greb
cc9d0e7131
feat(file): add support to set the file mode (#1478)
* feat(file): Add support to set the file mode

GH-733 [1] implemented basic support for hook scripts, but the authors
"did not manage to find time to work on" [2] also including support to
set the file mode. This small but important feature makes the use of the
`proxmox_virtual_environment_container.hook_script_file_id` [3] and
`virtual_environment_vm.hook_script_file_id` [34] attributes basically
useless when not combined with the manual step of making the uploaded
file executable (manually running `chmod +x /path/to/script` or using
other methods, based on the storage backend). Using the
`hook_script_file_id` on its own also causes all planned and applies
changes in the same execution to not be saved in the state because the
Proxmox VE API responses with a HTTP `500` because the uploaded and
assigned file is not executable.

This pull request implements the missing feature to set the file mode
by adding a new `file_mode` attribute of type `string` where an
octal-formatted value can be passed, e.g. `0700` or only `600`.
Note that the support for the octal prefixes `0o` and `0x` are not
supported to reduced the complexity, even though Go of course support
it, including the used `os.FileMode` type [5].
Changing the file mode also causes the file to be replaced, which is
true for almost any attribute in the `proxmox_virtual_environment_file`
resource, to ensure that the file mode can also be changed after the
initial creation.

[1]: https://github.com/bpg/terraform-provider-proxmox/pull/733
[2]: https://github.com/bpg/terraform-provider-proxmox/pull/733#issuecomment-2096716738
[3]: https://registry.terraform.io/providers/bpg/proxmox/latest/docs/resources/virtual_environment_container#hook_script_file_id
[4]: https://registry.terraform.io/providers/bpg/proxmox/latest/docs/resources/virtual_environment_vm#hook_script_file_id
[5]: https://pkg.go.dev/os#FileMode

Related to GH-570
Related to GH-733

Signed-off-by: Sven Greb <development@svengreb.de>


---------

Signed-off-by: Sven Greb <development@svengreb.de>
2024-08-13 21:28:48 -04:00
Pavel Boldyrev
8f82d1a384
chore(code): align resource/datasource names in the fwprovider code (#1488)
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-08-13 01:03:17 +00:00
Pavel Boldyrev
55bfe14ce1
fix(firewall): remove limit for number of CIRDs in ipset. (#1487)
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-08-13 00:22:16 +00:00
renovate[bot]
e566c4e35e
chore(deps): update golang.org/x/exp digest (8a7402a → 0cdaa3a) (#1483)
| datasource | package          | from                               | to                                 |
| ---------- | ---------------- | ---------------------------------- | ---------------------------------- |
| go         | golang.org/x/exp | v0.0.0-20240719175910-8a7402abbf56 | v0.0.0-20240808152545-0cdaa3abc0fa |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-12 23:26:50 +00:00
renovate[bot]
767f680cc3
chore(deps): update module github.com/hashicorp/terraform-plugin-testing (v1.9.0 → v1.10.0) (#1485)
| datasource | package                                       | from   | to      |
| ---------- | --------------------------------------------- | ------ | ------- |
| go         | github.com/hashicorp/terraform-plugin-testing | v1.9.0 | v1.10.0 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-12 23:23:58 +00:00
Björn Brauer
daaedf2d99
feat(devcontainer): configure provider override in post attach command (#1481)
* feat(devcontainer): update terraform version
* refactor(devcontainer): move post attach command to separate script
* feat(devcontainer): configure provider override in post attach command


---------

Signed-off-by: Björn Brauer <zaubernerd@zaubernerd.de>
2024-08-12 19:20:35 -04:00
renovate[bot]
dd6d5ec88f
chore(ci): update jetbrains/qodana-action action (v2024.1.8 → v2024.1.9) (#1484)
| datasource  | package                 | from      | to        |
| ----------- | ----------------------- | --------- | --------- |
| github-tags | JetBrains/qodana-action | v2024.1.8 | v2024.1.9 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-10 05:47:03 +00:00
bpg-autobot[bot]
07ab51e654
chore(main): release 0.62.0 (#1446)
Co-authored-by: bpg-autobot[bot] <155200059+bpg-autobot[bot]@users.noreply.github.com>
2024-08-07 23:57:23 -04:00
renovate[bot]
b7a110e8fb
chore(deps): update module github.com/hashicorp/terraform-plugin-framework (v1.10.0 → v1.11.0) (#1471)
| datasource | package                                         | from    | to      |
| ---------- | ----------------------------------------------- | ------- | ------- |
| go         | github.com/hashicorp/terraform-plugin-framework | v1.10.0 | v1.11.0 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-08 03:24:47 +00:00
renovate[bot]
10b2340c5b
chore(deps): update go (1.22.5 → 1.22.6) in /tools (#1470)
| datasource     | package | from   | to     |
| -------------- | ------- | ------ | ------ |
| golang-version | go      | 1.22.5 | 1.22.6 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-08 03:22:42 +00:00
renovate[bot]
966ea7aa40
chore(deps): update go (1.22.5 → 1.22.6) (#1469)
| datasource     | package | from   | to     |
| -------------- | ------- | ------ | ------ |
| golang-version | go      | 1.22.5 | 1.22.6 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-08 03:22:38 +00:00
renovate[bot]
56b98bd4e6
chore(deps): update module golang.org/x/net (v0.27.0 → v0.28.0) (#1474)
| datasource | package          | from    | to      |
| ---------- | ---------------- | ------- | ------- |
| go         | golang.org/x/net | v0.27.0 | v0.28.0 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-08 03:20:00 +00:00
renovate[bot]
e641b55734
chore(deps): update module golang.org/x/crypto (v0.25.0 → v0.26.0) (#1472)
| datasource | package             | from    | to      |
| ---------- | ------------------- | ------- | ------- |
| go         | golang.org/x/crypto | v0.25.0 | v0.26.0 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-08 03:19:41 +00:00
allcontributors[bot]
ab94730847
docs: add ZauberNerd as a contributor for code, and ideas (#1476)
* docs: update CONTRIBUTORS.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2024-08-08 03:18:19 +00:00
Björn Brauer
9de4037a82
feat(acme): implement resources and data sources for ACME accounts (#1455)
* feat(acme): implement CRUD API for proxmox cluster ACME
* feat(acme): implement acme_accounts data source
* feat(acme): implement acme_account data source
* fix(acme): wait for task status on account creation
* feat(acme): implement account resource creation
* feat(acme): implement account read
* fix(acme): wait for task status on account update
* feat(acme): implement account update
* fix(acme): wait for task status on account deletion
* feat(acme): implement account deletion
* feat(acme): implement account import
* feat(acme): provide correctly typed API response for `account` field
* feat(acme): implement account schema for acme_account data source
* fix(acme): read `location` into state in acme_account resource
* fix(acme): ensure `name` of acme_account resource can't be changed
* docs(acme): generate documentation
* feat(acme): read back ACME account details from API
* Revert "fix(acme): ensure `name` of acme_account resource can't be changed"
* fix(acme): provide default for acme account name
* fix(acme): acme account name can't be changed
* chore(acme): update resource doc to clarify PVE auth requirements
* chore(acme): add `created_at` attr to the resource, sort model fields & schema attributes alphabetically

---------

Signed-off-by: Björn Brauer <zaubernerd@zaubernerd.de>
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-08-07 23:16:31 -04:00
allcontributors[bot]
b589083a1a
docs: add KingKeithC as a contributor for code, and test (#1473)
* docs: update CONTRIBUTORS.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2024-08-07 02:40:01 +00:00
Keith
e8bd1fcda7
fix(storage): ignore os.ErrClosed from deferred fileReader.Close() in storage.APIUpload (#1468)
fix(provider): ignore `ErrClosed` for fileReader

Signed-off-by: Keith King <KingKeithC@gmail.com>
2024-08-06 22:36:24 -04:00
Björn Brauer
f7c3560260
fix(tools): ensure docs/guides files are copied correctly (#1464)
Before this change the `make docs` command would cause the generated
guides directory to be nested in `docs/guides/guides`.

Signed-off-by: Björn Brauer <zaubernerd@zaubernerd.de>
2024-08-03 01:04:12 +00:00
Pavel Boldyrev
2bf9a94562
chore(docs): minor documentation updates (#1463)
* chore(docs): minor documentation updates
* chore(docs): proofread README.md

---------

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-08-02 00:40:38 +00:00
renovate[bot]
76ce03f614
chore(deps): update golang.org/x/exp digest (e3f2596 → 8a7402a) (#1452)
| datasource | package          | from                               | to                                 |
| ---------- | ---------------- | ---------------------------------- | ---------------------------------- |
| go         | golang.org/x/exp | v0.0.0-20240716175740-e3f259677ff7 | v0.0.0-20240719175910-8a7402abbf56 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-29 23:00:02 -04:00
renovate[bot]
f1161276ad
chore(deps): update module github.com/skeema/knownhosts (v1.2.2 → v1.3.0) (#1449)
| datasource | package                      | from   | to     |
| ---------- | ---------------------------- | ------ | ------ |
| go         | github.com/skeema/knownhosts | v1.2.2 | v1.3.0 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-16 20:01:41 -04:00
renovate[bot]
1ba422a68e
chore(deps): update golang.org/x/exp digest (46b0784 → e3f2596) (#1448)
| datasource | package          | from                               | to                                 |
| ---------- | ---------------- | ---------------------------------- | ---------------------------------- |
| go         | golang.org/x/exp | v0.0.0-20240707233637-46b078467d37 | v0.0.0-20240716175740-e3f259677ff7 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-16 23:41:36 +00:00
allcontributors[bot]
ff89ccd17f
docs: add windowsrefund as a contributor for doc (#1447)
* docs: update CONTRIBUTORS.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2024-07-16 19:38:54 -04:00
windowsrefund
2475d99317
fix(docs): document role privileges required by proxmox_virtual_environment_download_file (#1442)
* document role privileges required by proxmox_virtual_environment_download_file resource

* move the new section to the download_file resource doc


---------

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
Co-authored-by: windowsrefund <mtf8>
Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-07-16 19:36:05 -04:00
bpg-autobot[bot]
69320cb2a7
chore(main): release 0.61.1 (#1433)
Co-authored-by: bpg-autobot[bot] <155200059+bpg-autobot[bot]@users.noreply.github.com>
2024-07-11 19:11:39 -04:00
Pavel Boldyrev
fc42ac3a5e
fix(vm): panic when reading VM with SPICE USB passthrough (#1438)
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-07-11 18:38:43 -04:00
renovate[bot]
b63c98b13f
chore(deps): update github.com/hashicorp/terraform-plugin-* (#1437)
| datasource | package                                                    | from    | to      |
| ---------- | ---------------------------------------------------------- | ------- | ------- |
| go         | github.com/hashicorp/terraform-plugin-framework            | v1.9.0  | v1.10.0 |
| go         | github.com/hashicorp/terraform-plugin-framework-validators | v0.12.0 | v0.13.0 |
| go         | github.com/hashicorp/terraform-plugin-testing              | v1.8.0  | v1.9.0  |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-10 21:12:12 -04:00
Pavel Boldyrev
b4d4e4f9d4
fix(time): embed timezone data to fix set/get TZ on windows (#1436)
* fix(time): embed timezone data to fix set/get TZ on windows

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-07-10 21:07:40 -04:00
renovate[bot]
0a978e5664
chore(deps): update golang.org/x/exp digest (7f521ea → 46b0784) (#1432)
| datasource | package          | from                               | to                                 |
| ---------- | ---------------- | ---------------------------------- | ---------------------------------- |
| go         | golang.org/x/exp | v0.0.0-20240613232115-7f521ea00fb8 | v0.0.0-20240707233637-46b078467d37 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-08 18:19:40 +00:00
Pavel Boldyrev
d193abd33e
fix(vm): improve reliability of VM create / get operations (#1431)
* fix(vm): improve reliability of VM create / get operations

- Add retries to GET API calls, fix retrying on POST (VM create) API calls.
- Minor fix in acceptance tests

---------

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-07-08 18:17:53 +00:00