0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-06-30 02:31:10 +00:00
Commit Graph

1710 Commits

Author SHA1 Message Date
renovate[bot]
ce5cc746f9
chore(deps): update golangci/golangci-lint (v2.0.2 → v2.1.2) (#1903)
* chore(deps): update golangci/golangci-lint (v2.0.2 → v2.1.2)

| datasource      | package                | from   | to     |
| --------------- | ---------------------- | ------ | ------ |
| github-releases | golangci/golangci-lint | v2.0.2 | v2.1.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>
2025-04-16 19:19:18 -04:00
allcontributors[bot]
9277a600dd
docs: add felinira as a contributor for code, and test (#1910)
* docs: update CONTRIBUTORS.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2025-04-16 22:55:58 +00:00
Fina
6dbff43bd1
feat(hardwaremapping): Introduce support for directory mappings (#1902)
Signed-off-by: Fina Wilke <code@felinira.net>
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2025-04-16 18:54:22 -04:00
allcontributors[bot]
6c447acb2e
docs: add Guldoman as a contributor for bug, and test (#1908)
* docs: update CONTRIBUTORS.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2025-04-15 17:18:30 +00:00
Fina
55b3f7391a
feat(vm): add support for virtiofs (#1900)
Signed-off-by: Fina Wilke <code@felinira.net>
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2025-04-15 13:10:37 -04:00
Pavel Boldyrev
ad41476962
chore(vm): add an acc test for disk.backup update edge case (#1906)
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2025-04-15 00:55:59 +00:00
Pavel Boldyrev
35a529609d
chore(docs): indicate support of Proxmox VE 8.4 (#1899)
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2025-04-11 16:11:08 +00:00
renovate[bot]
504a84cb83
chore(deps): update module github.com/hashicorp/terraform-plugin-docs (v0.20.1 → v0.21.0) (#1898)
| datasource | package                                    | from    | to      |
| ---------- | ------------------------------------------ | ------- | ------- |
| go         | github.com/hashicorp/terraform-plugin-docs | v0.20.1 | v0.21.0 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-11 10:56:22 -04:00
Pavel Boldyrev
4ca2f32ac6
fix(vm): edge case error when cloning a VM with EFI disk (#1897)
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2025-04-11 10:50:04 -04:00
Pavel Boldyrev
13401465c9
fix(vm,lxc): error parsing disk ID when datastore name contains . (#1894)
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2025-04-11 09:02:15 -04:00
Pavel Boldyrev
c84e7bb5f4
misc(docs): add Brian King as a sponsor in the README (#1891)
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2025-04-09 21:42:00 +00:00
allcontributors[bot]
052b201bd0
docs: add TomaszDom as a contributor for bug, and test (#1890)
* docs: update CONTRIBUTORS.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2025-04-09 09:57:51 -04:00
bpg-autobot[bot]
7ca292069d
chore(main): release 0.75.0 (#1874)
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
Co-authored-by: bpg-autobot[bot] <155200059+bpg-autobot[bot]@users.noreply.github.com>
2025-04-07 23:01:52 -04:00
renovate[bot]
50359656bd
chore(deps): update module golang.org/x/net (v0.38.0 → v0.39.0) (#1887)
| datasource | package          | from    | to      |
| ---------- | ---------------- | ------- | ------- |
| go         | golang.org/x/net | v0.38.0 | v0.39.0 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-07 22:58:54 -04:00
Pavel Boldyrev
8e231f9737
chore(docs): add known issue to the README about Debian 12 VM requiring a serial device (#1886)
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2025-04-07 20:07:55 -04:00
Pavel Boldyrev
d631ccbf90
feat(vm): do not force VM re-create on initialization.user_account changes (#1885)
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2025-04-07 18:56:59 -04:00
Pavel Boldyrev
51e6d7b8db
chore(vm)!: remove deprecated initialization.dns.server, initialization.upgrade (#1884)
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2025-04-07 14:39:26 -04:00
Pavel Boldyrev
d01bcf4fac
misc(datastores): update datasource references in /example (#1883)
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2025-04-07 14:12:42 -04:00
renovate[bot]
c526208f4b
chore(deps): update module golang.org/x/crypto (v0.36.0 → v0.37.0) (#1882)
| datasource | package             | from    | to      |
| ---------- | ------------------- | ------- | ------- |
| go         | golang.org/x/crypto | v0.36.0 | v0.37.0 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-07 13:36:48 +00:00
renovate[bot]
3d0c47ae79
chore(ci): Update actions/create-github-app-token action (v1.12.0 → v2.0.2) (#1880)
| datasource  | package                         | from    | to     |
| ----------- | ------------------------------- | ------- | ------ |
| github-tags | actions/create-github-app-token | v1.12.0 | v2.0.2 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-04 14:53:06 -04:00
Pavel Boldyrev
b5b61b48dc
feat(datastores)!: implement new structured format and filters for datastores data source (#1875)
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2025-04-01 17:32:29 -04:00
renovate[bot]
ece13f7716
chore(ci): update lycheeverse/lychee-action action (v2.3.0 → v2.4.0) (#1873)
| datasource  | package                   | from   | to     |
| ----------- | ------------------------- | ------ | ------ |
| github-tags | lycheeverse/lychee-action | v2.3.0 | v2.4.0 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-31 15:41:41 -04:00
renovate[bot]
f7706c8058
chore(ci): pin golangci/golangci-lint-action action to (#1872)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-31 15:41:24 -04:00
allcontributors[bot]
b6cee9af0b
docs: add CaptaiNiveau as a contributor for code (#1870)
* docs: update CONTRIBUTORS.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2025-03-31 00:25:42 +00:00
bpg-autobot[bot]
8d7f672831
chore(main): release 0.74.1 (#1853)
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
Co-authored-by: bpg-autobot[bot] <155200059+bpg-autobot[bot]@users.noreply.github.com>
2025-03-31 00:23:44 +00:00
renovate[bot]
4d30ba7186
chore(ci): update crazy-max/ghaction-import-gpg action (v6.2.0 → v6.3.0) (#1868)
| datasource  | package                       | from   | to     |
| ----------- | ----------------------------- | ------ | ------ |
| github-tags | crazy-max/ghaction-import-gpg | v6.2.0 | v6.3.0 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-31 00:22:31 +00:00
renovate[bot]
8c42d8063f
chore(ci): update goreleaser/goreleaser-action action (v6.2.1 → v6.3.0) (#1869)
* chore(ci): update crazy-max/ghaction-import-gpg action (v6.2.0 → v6.3.0)

| datasource  | package                       | from   | to     |
| ----------- | ----------------------------- | ------ | ------ |
| github-tags | crazy-max/ghaction-import-gpg | v6.2.0 | v6.3.0 |

* chore(ci): update goreleaser/goreleaser-action action (v6.2.1 → v6.3.0)

| datasource  | package                      | from   | to     |
| ----------- | ---------------------------- | ------ | ------ |
| github-tags | goreleaser/goreleaser-action | v6.2.1 | v6.3.0 |

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-31 00:22:16 +00:00
CaptaiNiveau
aa9cdba0bf
fix(lxc): multiple issues during container import (#1867)
* fix(container): Added `Unprivileged` to `containerRead` on import

Signed-off-by: CaptaiNiveau <c.straten@proton.me>

* fix(container): Changed default value of device passthrough mode to 0660

Signed-off-by: CaptaiNiveau <c.straten@proton.me>

* chore(lxc): add default device passthrough mode to the schema, update acc tests

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

---------

Signed-off-by: CaptaiNiveau <c.straten@proton.me>
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
Co-authored-by: CaptaiNiveau <c.straten@proton.me>
Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2025-03-30 20:20:30 -04:00
Pavel Boldyrev
2a356014a1
misc(code): move fwprovider files around (#1866)
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2025-03-29 19:02:41 +00:00
Pavel Boldyrev
7090b1036a
fix(vm): allow to set machine type in clone (#1865)
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2025-03-29 14:31:26 -04:00
Pavel Boldyrev
4f522ec342
fix(vm): prevent cloud-init password reset to ********** during update (#1864)
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2025-03-29 17:52:08 +00:00
Pavel Boldyrev
c9fcb30762
fix(vm): prevent cloud-init username reset to " " during create (#1863)
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2025-03-29 13:04:26 -04:00
Pavel Boldyrev
af46a9c71a
fix(vm): remove qcow2 as the default for disk.file_format (#1862)
No more need to explicitly set `file_format = "raw"` when defining new disks!

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2025-03-29 11:42:07 -04:00
Pavel Boldyrev
03f2079902
fix(lxc): prevent spurious dns config change when updating initialization block (#1859)
* fix(lxc): prevent spurious `dns` config change when updating `initialization` block

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2025-03-28 22:39:57 -04:00
renovate[bot]
f030a49e9f
chore(deps): update module golang.org/x/net (v0.37.0 → v0.38.0) (#1861)
| datasource | package          | from    | to      |
| ---------- | ---------------- | ------- | ------- |
| go         | golang.org/x/net | v0.37.0 | v0.38.0 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-28 22:37:11 -04:00
renovate[bot]
7ba94171bf
chore(ci): update actions/create-github-app-token action (v1.11.7 → v1.12.0) (#1860)
| datasource  | package                         | from    | to      |
| ----------- | ------------------------------- | ------- | ------- |
| github-tags | actions/create-github-app-token | v1.11.7 | v1.12.0 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-29 02:35:27 +00:00
Pavel Boldyrev
539b902633
fix(vm): improve error handling when updating initialization block (#1858)
* fix(vm): improve error handling when updating `initialization` block

Fix for an edge case where a VM is created without an initialization block, then any subsequent update to the block would cause a panic.

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

* linter

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

---------

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2025-03-28 17:23:46 -04:00
Pavel Boldyrev
2da4e3de1c
fix(token): do not reset user token value in TF state during update (#1857)
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2025-03-28 14:54:45 -04:00
Pavel Boldyrev
de65997de4
chore(docs): add known issue for HA VMs and containers in README (#1855)
* chore(docs): add known issue for HA VMs and containers in README

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2025-03-28 10:12:47 -04:00
Pavel Boldyrev
e2cdf60dbf
misc(docs): minor README updates (#1854)
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2025-03-27 15:52:56 -04:00
allcontributors[bot]
11d1dfe6ca
docs: add pileus-lines as a contributor for doc (#1852)
* docs: update CONTRIBUTORS.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2025-03-27 19:15:24 +00:00
pileus-lines
b19d28e841
fix(docs): clarify tags behaviour for container (#1851)
Update virtual_environment_container.md

List of tags unsorted do not impact `terraform plan` differences seen by terraform. But having tags with capital letters do.

Signed-off-by: pileus-lines <pileus@savaneprod.fr>
2025-03-27 15:14:09 -04:00
bpg-autobot[bot]
237afa1c1c
chore(main): release 0.74.0 (#1844)
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
Co-authored-by: bpg-autobot[bot] <155200059+bpg-autobot[bot]@users.noreply.github.com>
2025-03-26 16:30:36 -04:00
Pavel Boldyrev
75281b2652
chore(docs)!: clarify disk behaviour in clone operation (#1850)
This is a "meta" PR to bump the minor version due potentially breaking changes from #1840.

See documentation for more details.

> When cloning an existing virtual machine, whether it's a template or not, the
> resource will inherit the disks and other configuration from the source VM.
>
> *If* you modify any attributes of an existing disk in the clone, you also need to
> explicitly provide values for any other attributes that differ from the schema defaults
> in the source (e.g., `size`, `discard`, `cache`, `aio`).
> Otherwise, the schema defaults will take effect and override the source values.

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2025-03-26 14:48:13 -04:00
Pavel Boldyrev
09d3e97d02
fix(vm): handle update of disks moved during VM clone (#1849)
* fix(vm): handle update of disks moved during VM clone

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2025-03-26 13:12:00 -04:00
renovate[bot]
1eee8cdbd0
chore(deps): Update golangci/golangci-lint (v1.64.8 → v2.0.2) (#1847)
* chore(deps): Update golangci/golangci-lint (v1.64.8 → v2.0.2)

| datasource      | package                | from    | to     |
| --------------- | ---------------------- | ------- | ------ |
| github-releases | golangci/golangci-lint | v1.64.8 | v2.0.2 |

* migrate linter config

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>
2025-03-26 10:56:36 -04:00
renovate[bot]
2ae77257d3
chore(deps): update module github.com/pkg/sftp (v1.13.8 → v1.13.9) (#1846)
| datasource | package             | from    | to      |
| ---------- | ------------------- | ------- | ------- |
| go         | github.com/pkg/sftp | v1.13.8 | v1.13.9 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-26 10:31:04 -04:00
Pavel Boldyrev
3bd4c9a1a8
misc(ci): fix renovate annotations (#1848)
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2025-03-26 10:30:32 -04:00
renovate[bot]
ef66b55fc2
chore(ci): pin actions/attest-build-provenance action to (#1843) 2025-03-22 07:49:05 -04:00
bpg-autobot[bot]
17b0725bc0
chore(main): release 0.73.2 (#1818)
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
Co-authored-by: bpg-autobot[bot] <155200059+bpg-autobot[bot]@users.noreply.github.com>
2025-03-20 22:20:02 -04:00