Quotes around "nvidia.com/gpu" causes error upon `tofu validate` command.
Closed this issue · 2 comments
NauchtanRobotics commented
I am running OpenTofu v1.7.3.
Error message says: "Argument names must not be quoted."
My usage
limits {
cpu = "1000m" // Limit to one CPU core
"nvidia.com/gpu" = 1 // Request one NVIDIA T4 GPU
}
NauchtanRobotics commented
Okay, I found a solution:, just had to add an "=" after "limits", i.e.
limits = {
cpu = "1000m" // Limit to one CPU core
"nvidia.com/gpu" = 1 // Request one NVIDIA T4 GPU
}
NauchtanRobotics commented
Closing issue.