0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-08-25 12:55:41 +00:00
Commit Graph

3 Commits

Author SHA1 Message Date
Pavel Boldyrev
c63aa98d4b
update required vs optional attributes, update docs
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2025-07-30 21:57:37 -04:00
Pavel Boldyrev
03203dc4f3
refactor: simplify genericAttributesWith function signature and logic
- Updated the genericAttributesWith function to accept a single map of attributes instead of a variadic argument.
- Improved the logic to initialize and merge attributes, ensuring that extra attributes can override the generic ones.
- Adjusted the SimpleResource schema to call genericAttributesWith with nil for clarity.

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2025-07-30 21:15:17 -04:00
Pavel Boldyrev
12cc3298e9
cleanup
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2025-07-30 21:15:15 -04:00