Hi everybody,
Every time i try to run Terraform apply this error is thrown:
╷
│ Error: Client Error
│
│ with runpod_pod.gpu_instance,
│ on main.tf line 26, in resource "runpod_pod" "gpu_instance":
│ 26: resource "runpod_pod" "gpu_instance" {
│
│ Unable to create pod, got error: API request failed with status 500: {"error":"create pod: There are no instances currently available","status":500}
│
This is my Terraform template, I have try at different times and with different gpu_type_ids:
terraform {
required_providers {
runpod = {
source = "decentralized-infrastructure/runpod"
}
}
}
locals {
data_center_id = "CA-MTL-1"
}
# Create a GPU pod
resource "runpod_pod" "gpu_instance" {
name = "my-gpu-pod"
image_name = "runpod/pytorch:1.0.2-cu1281-torch280-ubuntu2404"
gpu_type_ids = [
"NVIDIA A40",
]
data_center_ids = [
local.data_center_id
]
gpu_count = 1
cloud_type = "COMMUNITY"
support_public_ip = true
global_networking = true
volume_in_gb = 20
container_disk_in_gb = 20
env = {
RUNPOD_ALLOW_IP = "x.x.x.x/32"
}
ports = ["22/tcp"]
}
If i go to the RunPod console, i can deploy the same GPU Pod type without problems, any idea?
Thanks!
Hi everybody,
Every time i try to run
Terraform applythis error is thrown:╷
│ Error: Client Error
│
│ with runpod_pod.gpu_instance,
│ on main.tf line 26, in resource "runpod_pod" "gpu_instance":
│ 26: resource "runpod_pod" "gpu_instance" {
│
│ Unable to create pod, got error: API request failed with status 500: {"error":"create pod: There are no instances currently available","status":500}
│
This is my Terraform template, I have try at different times and with different
gpu_type_ids:If i go to the
RunPod console, i can deploy the same GPU Pod type without problems, any idea?Thanks!