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

feat(cpu type): CPU type support for EPYC-v4 (#1611)

This commit is contained in:
Mrton0121 2024-11-04 14:29:19 +01:00 committed by GitHub
parent be6b660495
commit 8b51e9991e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 1 deletions

2
docs/resources/virtual_environment_vm.md Normal file → Executable file
View File

@ -199,7 +199,7 @@ output "ubuntu_vm_public_key" {
- `Cascadelake-Server`/`Cascadelake-Server-noTSX`/`Cascadelake-Server-v2`/`Cascadelake-Server-v4`/`Cascadelake-Server-v5` - Intel Xeon 32xx/42xx/52xx/62xx/82xx/92xx (2019).
- `Conroe` - Intel Celeron_4x0 (Conroe/Merom Class Core 2, 2006).
- `Cooperlake`/`Cooperlake-v2`
- `EPYC`/`EPYC-IBPB`/`EPYC-Milan`/`EPYC-Rome`/`EPYC-Rome-v2`/`EPYC-v3` -
- `EPYC`/`EPYC-IBPB`/`EPYC-Milan`/`EPYC-Rome`/`EPYC-Rome-v2`/`EPYC-v3` / `EPYC-v4` -
AMD EPYC Processor (2017).
- `Haswell`/`Haswell-IBRS`/`Haswell-noTSX`/`Haswell-noTSX-IBRS` - Intel
Core Processor (Haswell, 2013).

1
fwprovider/vm/cpu/resource_schema.go Normal file → Executable file
View File

@ -141,6 +141,7 @@ func ResourceSchema() schema.Attribute {
"EPYC-Rome",
"EPYC-Rome-v2",
"EPYC-v3",
"EPYC-v4",
"Haswell",
"Haswell-IBRS",
"Haswell-noTSX",

1
proxmoxtf/resource/vm/validators.go Normal file → Executable file
View File

@ -83,6 +83,7 @@ func CPUTypeValidator() schema.SchemaValidateDiagFunc {
"EPYC-Rome",
"EPYC-Rome-v2",
"EPYC-v3",
"EPYC-v4",
"Haswell",
"Haswell-IBRS",
"Haswell-noTSX",