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

1759 Commits

Author SHA1 Message Date
renovate[bot]
54624fb653
chore(ci): update goreleaser/goreleaser-action action (v6.1.0 → v6.2.1) (#1764)
| datasource  | package                      | from   | to     |
| ----------- | ---------------------------- | ------ | ------ |
| github-tags | goreleaser/goreleaser-action | v6.1.0 | v6.2.1 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-12 01:12:02 +00:00
renovate[bot]
6e21bca2d5
chore(deps): update module github.com/golangci/golangci-lint (v1.63.4 → v1.64.2) in /tools (#1765) 2025-02-11 20:10:14 -05:00
renovate[bot]
d350c65f4c
chore(deps): update module golang.org/x/net (v0.34.0 → v0.35.0) (#1766) 2025-02-11 20:09:49 -05:00
allcontributors[bot]
a1d5fd8707
docs: add fulsiram as a contributor for doc (#1760)
* docs: update CONTRIBUTORS.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2025-02-10 10:18:25 +00:00
fulsiram
28327f90e3
fix(docs): update incorrect reference to meta_data_file_id (#1759)
Signed-off-by: Oleksandr Derevianko <fulsiram@riseup.net>
2025-02-10 05:17:03 -05:00
Pavel Boldyrev
cbff3e4fd4
chore(docs): add security policy (#1758)
This commit introduces a detailed SECURITY.md file that outlines:
- Supported version policy for security patches
- Vulnerability reporting process
- Disclosure and handling procedures
- Security best practices for using the provider
- Additional security resources and references

The new security policy provides clear guidance for users and contributors on how security issues are managed and mitigated.

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2025-02-10 03:35:45 +00:00
Pavel Boldyrev
8c0c79be3c
chore(docs): update project documentation and contribution guidelines (#1756)
* chore(docs): update project documentation and contribution guidelines

This commit updates three key documentation files:
- `CODE_OF_CONDUCT.md`: Refined language and updated contact email
- `CONTRIBUTING.md`: Comprehensive restructuring of contribution guidelines, including more detailed sections on testing, manual testing, and development workflow
- `README.md`: Reorganized badges, updated compatibility notes, and clarified project requirements

The changes improve clarity, provide more detailed guidance for contributors, and enhance the overall documentation structure.

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

* chore(docs): enhance provider documentation

- Add detailed table of contents to improve navigation
- Include environment variables summary table with descriptions and requirements
- Fix minor typos and improve formatting
- Add note about using `proxmox_virtual_environment_download_file` for file downloads

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

---------

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2025-02-09 22:08:30 -05:00
bpg-autobot[bot]
a0d4e2d3cb
chore(main): release 0.71.0 (#1738)
Co-authored-by: bpg-autobot[bot] <155200059+bpg-autobot[bot]@users.noreply.github.com>
Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2025-02-09 16:57:27 -05:00
Pavel Boldyrev
b8751c4d42
misc(provider): add missing acc tests (#1755)
a follow-up on #1754, tests missed from the PR

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2025-02-09 21:46:52 +00:00
Pavel Boldyrev
f221a85f8f
fix(provider): improve provider credentials error handling (#1754)
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2025-02-09 16:40:31 -05:00
allcontributors[bot]
cd7827d208
docs: add cgeopapa as a contributor for code (#1753)
* docs: update CONTRIBUTORS.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2025-02-09 03:21:26 +00:00
cgeopapa
0aa2b505e5
fix(file): fix for datastore does not support content type "dump" (#1752)
* fix(provider): fix for datastore does not support content type "dump"

Signed-off-by: cgeopapa <cgeocodgod@gmail.com>

* fix: move ContentType override further in the flow

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

* fix: update docs

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

---------

Signed-off-by: cgeopapa <cgeocodgod@gmail.com>
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2025-02-08 22:20:12 -05:00
renovate[bot]
96594e4270
chore(deps): update module golang.org/x/crypto (v0.32.0 → v0.33.0) (#1751) 2025-02-08 07:33:58 -05:00
Pavel Boldyrev
5f003143f8
feat(vm): deprecate enabled attribute on cdrom/disk devices (#1746)
* feat(vm): deprecate `enabled` attribute on `cdrom`/`disk` devices

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

* docs(vm): update CDROM configuration terminology and deprecation note

Improve documentation for virtual machine CD-ROM configuration by:
- Correcting capitalization of "CD-ROM"
- Clarifying deprecation note for `enabled` attribute

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

---------

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2025-02-07 22:50:57 -05:00
renovate[bot]
bf9c496f29
chore(deps): update module github.com/hashicorp/terraform-plugin-sdk/v2 (v2.35.0 → v2.36.0) (#1745) 2025-02-05 13:07:20 +00:00
renovate[bot]
0700975ec2
chore(ci): update lycheeverse/lychee-action action (v2.2.0 → v2.3.0) (#1744)
| datasource  | package                   | from   | to     |
| ----------- | ------------------------- | ------ | ------ |
| github-tags | lycheeverse/lychee-action | v2.2.0 | v2.3.0 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-05 08:05:29 -05:00
renovate[bot]
ccc263f8ad
chore(ci): update actions/create-github-app-token action (v1.11.2 → v1.11.3) (#1743)
| datasource  | package                         | from    | to      |
| ----------- | ------------------------------- | ------- | ------- |
| github-tags | actions/create-github-app-token | v1.11.2 | v1.11.3 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-05 08:05:07 -05:00
renovate[bot]
9bd0b57254
chore(docs): update terraform proxmox (0.70.0 → 0.70.1) (#1741)
* chore(docs): update terraform proxmox (0.70.0 → 0.70.1)

| datasource         | package     | from   | to     |
| ------------------ | ----------- | ------ | ------ |
| terraform-provider | bpg/proxmox | 0.70.0 | 0.70.1 |

* chore(config): add provider.tf for clone-vm example to release 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-02-04 03:25:52 +00:00
Rafał Safin
d1cc2144f8
feat(cluster): add proxmox_virtual_environment_metrics_server resource (#1719)
Signed-off-by: rafsaf <rafal.safin@rafsaf.pl>
2025-02-03 13:11:26 -05:00
allcontributors[bot]
4166f66731
docs: add h3krn as a contributor for code (#1739)
* docs: update CONTRIBUTORS.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2025-02-01 02:00:22 +00:00
H3Krn
2925ae63f5
fix(lxc): allow container disk size 0 for lxc zfs/brfs subvols (#1737)
* fix(container): allow 0 size disks for zfs/btrfs subvolumes
* chore(docs): update docs

---------

Signed-off-by: Harm Kroon <harm.kroon@hotmail.com>
2025-01-31 20:59:05 -05:00
bpg-autobot[bot]
d64d1af82e
chore(main): release 0.70.1 (#1718)
Co-authored-by: bpg-autobot[bot] <155200059+bpg-autobot[bot]@users.noreply.github.com>
2025-01-31 00:03:47 -05:00
Pavel Boldyrev
c992dfc1f3
fix(vm): vga block defaults handling during create / clone (#1732)
* fix(vm): fix `vga` block defaults handling during create / clone

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

* fix: formatting

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

* fix: acc test failure due to skip

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

---------

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2025-01-30 22:11:46 -05:00
renovate[bot]
4d89d3484b
chore(ci): update actions/create-github-app-token action (v1.11.1 → v1.11.2) (#1733)
| datasource  | package                         | from    | to      |
| ----------- | ------------------------------- | ------- | ------- |
| github-tags | actions/create-github-app-token | v1.11.1 | v1.11.2 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-31 03:10:44 +00:00
renovate[bot]
4cedbf1813
chore(deps): update module github.com/skeema/knownhosts (v1.3.0 → v1.3.1) (#1734)
| datasource | package                      | from   | to     |
| ---------- | ---------------------------- | ------ | ------ |
| go         | github.com/skeema/knownhosts | v1.3.0 | v1.3.1 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-30 22:08:58 -05:00
renovate[bot]
d4b1d5f1b6
chore(deps): update module github.com/brianvoe/gofakeit/v7 (v7.1.2 → v7.2.1) (#1735)
| datasource | package                         | from   | to     |
| ---------- | ------------------------------- | ------ | ------ |
| go         | github.com/brianvoe/gofakeit/v7 | v7.1.2 | v7.2.1 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-30 22:08:31 -05:00
allcontributors[bot]
a5792ccbac
docs: add sergelogvinov as a contributor for financial (#1730)
* docs: update CONTRIBUTORS.md

* docs: update .all-contributorsrc

* docs: add Serge as a sponsor

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: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2025-01-29 04:12:42 +00:00
allcontributors[bot]
3a9d6aa96a
docs: add gifff as a contributor for code, and bug (#1728)
* docs: update CONTRIBUTORS.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2025-01-25 17:40:29 -05:00
Gifary Dhimas Fadhillah
e92b0064bf
fix(lxc): support device_passthrough config on non-clone container (#1722)
* fix(lxc): support `device_passthrough` config on non-clone container

Signed-off-by: Gifary Dhimas Fadhillah <4391866+gifff@users.noreply.github.com>

* fix(lxc): device_passthrough state of cloned container

Signed-off-by: Gifary Dhimas Fadhillah <4391866+gifff@users.noreply.github.com>

* test(lxc): assert container device passthrough

Signed-off-by: Gifary Dhimas Fadhillah <4391866+gifff@users.noreply.github.com>

---------

Signed-off-by: Gifary Dhimas Fadhillah <4391866+gifff@users.noreply.github.com>
Co-authored-by: Gifary Dhimas Fadhillah <4391866+gifff@users.noreply.github.com>
2025-01-25 17:37:34 -05:00
renovate[bot]
e031a38d50
chore(deps): update module github.com/hashicorp/terraform-plugin-mux (v0.17.0 → v0.18.0) (#1727)
| datasource | package                                   | from    | to      |
| ---------- | ----------------------------------------- | ------- | ------- |
| go         | github.com/hashicorp/terraform-plugin-mux | v0.17.0 | v0.18.0 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-25 22:21:39 +00:00
Rafał Safin
974a3c9069
chore(testacc): add missing acceptance build tags, improve vscode settings (#1723)
* split testacc and remove settings.json

Signed-off-by: rafsaf <rafal.safin@rafsaf.pl>

* further tags and contributing file update

Signed-off-by: rafsaf <rafal.safin@rafsaf.pl>

* revert testacc changes

Signed-off-by: Rafał Safin <rafal.safin@rafsaf.pl>

---------

Signed-off-by: rafsaf <rafal.safin@rafsaf.pl>
Signed-off-by: Rafał Safin <rafal.safin@rafsaf.pl>
Co-authored-by: rafsaf <rafal.safin@rafsaf.pl>
2025-01-25 17:20:18 -05:00
Pavel Boldyrev
5e7e7994d5
chore(testacc): update apt repository acceptance tests (#1725)
* chore(tests): update apt repository acc tests

- Refactored test configurations for `proxmox_virtual_environment_apt_repository` and `proxmox_virtual_environment_apt_standard_repository` to use `te.RenderConfig` for better readability.
- Simplified resource attribute checks and ensured consistent naming conventions across tests.
- Updated test steps to reflect changes in resource attributes and improved error handling.
- explicitly use root@pam account in container tests that use hardware mapping

This commit enhances the maintainability of the test suite and aligns with recent changes in the Proxmox provider.

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2025-01-23 17:34:30 -05:00
renovate[bot]
198f0ad337
chore(deps): update module github.com/hashicorp/terraform-plugin-go (v0.25.0 → v0.26.0) (#1726)
| datasource | package                                  | from    | to      |
| ---------- | ---------------------------------------- | ------- | ------- |
| go         | github.com/hashicorp/terraform-plugin-go | v0.25.0 | v0.26.0 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-22 23:35:10 -05:00
renovate[bot]
56f81ccac3
chore(docs): update terraform proxmox (0.69.1 → 0.70.0) (#1717)
| datasource         | package     | from   | to     |
| ------------------ | ----------- | ------ | ------ |
| terraform-provider | bpg/proxmox | 0.69.1 | 0.70.0 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-18 11:31:18 -05:00
bpg-autobot[bot]
15a8036f4f
chore(main): release 0.70.0 (#1704)
Co-authored-by: bpg-autobot[bot] <155200059+bpg-autobot[bot]@users.noreply.github.com>
2025-01-17 21:04:33 -05:00
Pavel Boldyrev
ccaae927e6
feat(docs): basic guide how to clone a VM template (#1716)
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2025-01-17 19:30:34 -05:00
Pavel Boldyrev
3ecd0443bb
fix(vm): handle PVE node availability in VM datasource (#1715)
- Added error handling for HTTP error code 595 in vmsRead, providing a warning if a node is not available, which may result in an incomplete VM list.

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2025-01-17 12:40:17 -05:00
renovate[bot]
eccd55f522
chore(deps): update module github.com/hashicorp/terraform-plugin-framework-timeouts (v0.4.1 → v0.5.0) (#1714)
| datasource | package                                                  | from   | to     |
| ---------- | -------------------------------------------------------- | ------ | ------ |
| go         | github.com/hashicorp/terraform-plugin-framework-timeouts | v0.4.1 | v0.5.0 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-16 18:00:42 -05:00
Petr Gajdosik
7cbd1b46fa
feat(lxc): add support for device_passthrough config option (#1706)
Signed-off-by: Tarasa24 <tarasa24@tarasa24.dev>
2025-01-16 17:58:49 -05:00
Pavel Boldyrev
c57dc78119
fix(vm): do not delete a VM during retry on create (#1711)
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2025-01-13 20:40:16 -05:00
allcontributors[bot]
085caaf927
docs: add Tarasa24 as a contributor for code, and test (#1710)
* docs: update CONTRIBUTORS.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2025-01-13 19:47:30 -05:00
Pavel Boldyrev
6f657892c0
chore(docs): update README.md (#1707)
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2025-01-11 22:39:49 -05:00
Pavel Boldyrev
ab09b09fbf
chore(docs): add 'stop_on_destroy' configuration to cloud image examples (#1705)
Added the 'stop_on_destroy' parameter to the Proxmox VM configurations in the cloud image documentation and example files for CentOS, Ubuntu, and Debian. This parameter should be set to true if the QEMU agent is not installed or enabled on the VM, enhancing clarity for users configuring their virtual machines.

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2025-01-08 22:34:00 -05:00
renovate[bot]
3808aef33e
chore(deps): update module golang.org/x/net (v0.33.0 → v0.34.0) (#1703)
| datasource | package          | from    | to      |
| ---------- | ---------------- | ------- | ------- |
| go         | golang.org/x/net | v0.33.0 | v0.34.0 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-08 22:24:24 -05:00
renovate[bot]
d22f9d32f0
chore(deps): update module golang.org/x/crypto (v0.31.0 → v0.32.0) (#1702)
| datasource | package             | from    | to      |
| ---------- | ------------------- | ------- | ------- |
| go         | golang.org/x/crypto | v0.31.0 | v0.32.0 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-08 22:19:10 -05:00
bpg-autobot[bot]
aa24985760
chore(main): release 0.69.1 (#1689)
Co-authored-by: bpg-autobot[bot] <155200059+bpg-autobot[bot]@users.noreply.github.com>
2025-01-04 08:07:08 -05:00
Pavel Boldyrev
b3170c3751
chore(docs): update README.md (#1698)
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2025-01-04 07:55:47 -05:00
renovate[bot]
9257a11336
chore(deps): update module github.com/golangci/golangci-lint (v1.62.2 → v1.63.4) in /tools (#1697)
* chore(deps): update module github.com/golangci/golangci-lint (v1.62.2 → v1.63.4) in /tools

| datasource | package                           | from    | to      |
| ---------- | --------------------------------- | ------- | ------- |
| go         | github.com/golangci/golangci-lint | v1.62.2 | v1.63.4 |

* chore(deps): remove golang.org/x/exp dependency and update imports to use slices package

- Removed the golang.org/x/exp dependency from go.mod and go.sum.
- Updated imports in proxmox/api/client.go, proxmoxtf/datasource/vms.go, and proxmoxtf/resource/file.go to use the slices package instead of golang.org/x/exp/slices.

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-01-04 11:15:37 +00:00
renovate[bot]
493cbac006
chore(ci): update jetbrains/qodana-action action (v2024.3.3 → v2024.3.4) (#1694)
| datasource  | package                 | from      | to        |
| ----------- | ----------------------- | --------- | --------- |
| github-tags | JetBrains/qodana-action | v2024.3.3 | v2024.3.4 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-04 06:08:24 -05:00
renovate[bot]
100e8c7f8b
chore(deps): update golang.org/x/exp digest (b2144cd → 7d7fa50) (#1696)
| datasource | package          | from                               | to                                 |
| ---------- | ---------------- | ---------------------------------- | ---------------------------------- |
| go         | golang.org/x/exp | v0.0.0-20241217172543-b2144cdd0a67 | v0.0.0-20250103183323-7d7fa50e5329 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-04 06:08:01 -05:00