A Docker image that serves as a skeleton for creating hsdp_function tasks which can take advantage of HSDP Iron GPU workers.
module "siderite_backend" {
source = "philips-labs/siderite-backend/cloudfoundry"
cf_region = "eu-west"
cf_org_name = "hsdp-demo-org"
cf_user = var.cf_user
iron_plan = "large-encrypted-gpu"
}
resource "hsdp_function" "cuda_test" {
name = "cuda-test"
docker_image = "philipslabs/hsdp-task-cuda-test:latest"
command = ["/app/cudatest"]
schedule = "*/5 * * * *"
backend {
credentials = module.siderite_backend.credentials
}
}
Please post your questions on the HSDP Slack #terraform
channel
License is MIT