0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-06-29 18:21:10 +00:00
Commit Graph

1781 Commits

Author SHA1 Message Date
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
Pavel Boldyrev
d3d3910655
chore(docs): update project badges (#1842)
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2025-03-21 02:18:28 +00:00
Pavel Boldyrev
33e1eb4f4d
chore(ci): enable attestation (#1841)
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2025-03-20 22:08:30 -04:00
Pavel Boldyrev
faeada970c
fix(vm): fix and improve disk management for cloned VMs (#1840)
Allow to set disk speed and set / update other attributes of existing disks when cloning a VM

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2025-03-20 20:34:19 -04:00
renovate[bot]
267eb3d07d
chore(ci): update actions/create-github-app-token action (v1.11.6 → v1.11.7) (#1839)
| datasource  | package                         | from    | to      |
| ----------- | ------------------------------- | ------- | ------- |
| github-tags | actions/create-github-app-token | v1.11.6 | v1.11.7 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-20 09:47:46 -04:00
renovate[bot]
292811bdde
chore(deps): update golangci/golangci-lint (#1834)
* chore(deps): update golangci/golangci-lint

| datasource      | package                | from    | to      |
| --------------- | ---------------------- | ------- | ------- |
| github-releases | golangci/golangci-lint | v1.64.7 | v1.64.8 |
| github-releases | golangci/golangci-lint | 1.64.7  | 1.64.8  |

* Fix golangci-lint version format in workflow

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-19 22:33:58 -04:00
renovate[bot]
bb13d05f01
chore(deps): update module github.com/hashicorp/terraform-plugin-testing (v1.11.0 → v1.12.0) (#1837)
| datasource | package                                       | from    | to      |
| ---------- | --------------------------------------------- | ------- | ------- |
| go         | github.com/hashicorp/terraform-plugin-testing | v1.11.0 | v1.12.0 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-19 22:22:55 -04:00
renovate[bot]
27fe17008f
chore(deps): update image mcr.microsoft.com/devcontainers/go (1.23 → 1.24) (#1835)
| datasource | package                            | from | to   |
| ---------- | ---------------------------------- | ---- | ---- |
| docker     | mcr.microsoft.com/devcontainers/go | 1.23 | 1.24 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-20 02:22:28 +00:00
renovate[bot]
53d0045cdf
chore(deps): update module github.com/hashicorp/go-cty (v1.4.1 → v1.5.0) (#1836)
| datasource | package                     | from   | to     |
| ---------- | --------------------------- | ------ | ------ |
| go         | github.com/hashicorp/go-cty | v1.4.1 | v1.5.0 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-19 22:22:12 -04:00
renovate[bot]
319eecdedc
chore(ci): update golangci/golangci-lint-action digest (4696ba8 → 55c2c14) (#1833)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-19 22:20:26 -04:00
renovate[bot]
3bd2dac4d1
chore(ci): update actions/upload-artifact digest (4cec3d8 → ea165f8) (#1832)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-19 22:20:02 -04:00
renovate[bot]
bd5ab9103c
chore(ci): update actions/setup-go digest (f111f33 → 0aaccfd) (#1831)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-19 22:19:42 -04:00
Pavel Boldyrev
a681e828bf
chore(docs): update cloud-init configuration examples (#1830)
* chore(docs): update cloud-init and VM configuration examples

- Added timezone and package installation for qemu-guest-agent in cloud-init configuration.
- Updated VM configuration to include 'started' attribute and clarified agent usage in documentation.

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

* not sure why the image checksum has changed

This looks a bit suspicious, but I can ignore this for the test code. In production that would be a red flag requiring investigation

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

---------

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2025-03-19 22:11:07 -04:00
allcontributors[bot]
2a4eceb6f4
docs: add techuser9182 as a contributor for financial (#1826)
* docs: update CONTRIBUTORS.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2025-03-17 13:40:42 +00:00
Pavel Boldyrev
febf239b58
fix(provider): better error handling for non-existent resources (#1824)
* feat(provider): enhance error handling for non-existent resources
* docs(vm): clarify `local-lvm` datastore usage

---------

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2025-03-12 17:16:40 -04:00
renovate[bot]
189e81aba3
chore(ci): pin dependencies (#1822)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-12 19:31:48 +00:00
renovate[bot]
57244d2f99
chore(deps): update golangci/golangci-lint (v1.64.5 → v1.64.7) (#1821)
| datasource      | package                | from    | to      |
| --------------- | ---------------------- | ------- | ------- |
| github-releases | golangci/golangci-lint | v1.64.5 | v1.64.7 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-12 19:13:45 +00:00
renovate[bot]
b38a29a1da
chore(deps): update module github.com/pkg/sftp (v1.13.7 → v1.13.8) (#1819)
| datasource | package             | from    | to      |
| ---------- | ------------------- | ------- | ------- |
| go         | github.com/pkg/sftp | v1.13.7 | v1.13.8 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-12 15:08:56 -04:00
Pavel Boldyrev
06d091ed84
misc(dev): update Makefile (#1820)
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2025-03-12 15:06:22 -04:00
renovate[bot]
0977473dd2
chore(deps): update golangci/golangci-lint (1.64.5 → 1.64.7) (#1810)
* chore(deps): update golangci/golangci-lint (1.64.5 → 1.64.7)

| datasource      | package                | from   | to     |
| --------------- | ---------------------- | ------ | ------ |
| github-releases | golangci/golangci-lint | 1.64.5 | 1.64.7 |

* chore(ci): update golangci-lint workflow to include linter filter

- Modified the workflow to check for linter output in addition to Go files.
- Updated conditions for setting up Go and linting code to include linter filter.

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

* fix version

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-12 14:50:15 -04:00
bpg-autobot[bot]
ed0a8d3b19
chore(main): release 0.73.1 (#1794)
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-11 00:13:13 -04:00
allcontributors[bot]
2761436b8e
docs: add 149segolte as a contributor for ideas (#1817)
* docs: update CONTRIBUTORS.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2025-03-10 21:34:25 +00:00
renovate[bot]
c126928f3b
chore(deps): update module golang.org/x/net (v0.35.0 → v0.37.0) (#1814)
| datasource | package          | from    | to      |
| ---------- | ---------------- | ------- | ------- |
| go         | golang.org/x/net | v0.35.0 | v0.37.0 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-10 17:28:06 -04:00
renovate[bot]
be6ddb4712
chore(deps): update module golang.org/x/crypto (v0.35.0 → v0.36.0) (#1813)
| datasource | package             | from    | to      |
| ---------- | ------------------- | ------- | ------- |
| go         | golang.org/x/crypto | v0.35.0 | v0.36.0 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-10 21:22:00 +00:00
renovate[bot]
b526e756a3
chore(ci): update googleapis/release-please-action action (v4.1.4 → v4.2.0) (#1812)
| datasource  | package                          | from   | to     |
| ----------- | -------------------------------- | ------ | ------ |
| github-tags | googleapis/release-please-action | v4.1.4 | v4.2.0 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-10 21:21:32 +00:00
renovate[bot]
51b93cfd19
chore(deps): update module github.com/hashicorp/go-cty (v1.4.1-0.20241127173709-a0325cb22c13 → v1.4.1) (#1811)
| datasource | package                     | from                                 | to     |
| ---------- | --------------------------- | ------------------------------------ | ------ |
| go         | github.com/hashicorp/go-cty | v1.4.1-0.20241127173709-a0325cb22c13 | v1.4.1 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-10 17:19:51 -04:00
renovate[bot]
1145718166
chore(ci): update actions/create-github-app-token action (v1.11.5 → v1.11.6) (#1809)
| datasource  | package                         | from    | to      |
| ----------- | ------------------------------- | ------- | ------- |
| github-tags | actions/create-github-app-token | v1.11.5 | v1.11.6 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-10 17:18:49 -04:00
allcontributors[bot]
1018f70fef
docs: add Nemesees as a contributor for financial (#1807)
* docs: update CONTRIBUTORS.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2025-03-03 00:35:57 +00:00
renovate[bot]
ed1b25a936
chore(deps): update module github.com/rogpeppe/go-internal (v1.14.0 → v1.14.1) (#1805)
| datasource | package                         | from    | to      |
| ---------- | ------------------------------- | ------- | ------- |
| go         | github.com/rogpeppe/go-internal | v1.14.0 | v1.14.1 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-01 07:26:02 -05:00
renovate[bot]
748fb0dc77
chore(ci): update googleapis/release-please-action action (v4.1.3 → v4.1.4) (#1804)
| datasource  | package                          | from   | to     |
| ----------- | -------------------------------- | ------ | ------ |
| github-tags | googleapis/release-please-action | v4.1.3 | v4.1.4 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-01 07:25:30 -05:00