Ovh

From Arvo-AI/aurora · View interactive version

Ovh is an AI agent skill from the GitHub repository Arvo-AI/aurora. OVHcloud infrastructure integration for managing instances, Kubernetes clusters, networks, and object storage via CLI and Terraform

How to use this skill

Skill file

OVHcloud Integration

Overview

OVHcloud infrastructure provider for managing compute instances, Managed Kubernetes Service (MKS), networks, and object storage.

Instructions

CLI COMMANDS (use cloud_exec with 'ovh')

Discovery Commands:

Instance Management:

Kubernetes (MKS):

KUBECTL WORKFLOW (for OVH clusters):

  1. Save kubeconfig to file: cloud_exec('ovh', 'cloud kube kubeconfig generate <CLUSTER_ID> --cloud-project <PROJECT_ID>', output_file='/tmp/kubeconfig.yaml')
  2. Run kubectl: terminal_exec('kubectl --kubeconfig=/tmp/kubeconfig.yaml get pods -A')
  3. CRITICAL: Use output_file parameter to save kubeconfig directly - avoids shell escaping issues
  4. Do NOT try to embed kubeconfig YAML in echo commands - it will break due to special characters

Networks:

Object Storage (S3):

TERRAFORM FOR OVH

Use iac_tool - provider.tf is AUTO-GENERATED, just write the resource!

INSTANCE EXAMPLE (MUST use nested blocks, NOT flat attributes):

resource "ovh_cloud_project_instance" "vm" {
  service_name   = "<PROJECT_ID>"
  region         = "US-EAST-VA-1"
  billing_period = "hourly"
  name           = "my-vm"
  flavor {
    flavor_id = "<FLAVOR_UUID>"
  }
  boot_from {
    image_id = "<IMAGE_UUID>"
  }
  network {
    public = true
  }
  # SSH key options (use ONE):
  # Option 1: Reference existing SSH key by name
  ssh_key {
    name = "my-ssh-key"  # Must exist in OVH first
  }
  # Option 2: Create new SSH key inline
  # ssh_key_create {
  #   name = "my-new-key"
  #   public_key = "ssh-rsa AAAA..."
  # }
}

SSH KEY IMPORTANT: Use ssh_key to reference existing key, or ssh_key_create to create new one inline. If unsure, query Context7 with topic='ovh_cloud_project_instance ssh_key'.

Other resources: ovh_cloud_project_kube, ovh_cloud_project_kube_nodepool, ovh_cloud_project_database

DO NOT write terraform{} or provider{} blocks - they are auto-generated!

CRITICAL RULES

DYNAMIC/RUNTIME DATA (versions, flavors, images)

Context7 docs do NOT contain runtime data. For dynamic values, use CLI:

MANDATORY: ON ANY OVH ERROR OR FAILURE

YOU MUST use Context7 MCP to look up correct syntax BEFORE retrying. Choose the RIGHT library:

If iac_tool (Terraform) fails -- Use TERRAFORM docs:

mcp_context7_get_library_docs(context7CompatibleLibraryID='/ovh/terraform-provider-ovh', topic='ovh_cloud_project_instance')

Topic should be the resource type (e.g., 'ovh_cloud_project_instance', 'ovh_cloud_project_kube', 'ssh_key block')

If cloud_exec (CLI) fails -- Use CLI docs:

mcp_context7_get_library_docs(context7CompatibleLibraryID='/ovh/ovhcloud-cli', topic='cloud instance create')

Topic should be the CLI command (e.g., 'cloud instance create', 'cloud kube list')

Do NOT mix them up! Terraform errors need Terraform docs, CLI errors need CLI docs.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.