diff --git a/ActionsGPT-shema.yaml b/ActionsGPT-shema.yaml new file mode 100644 index 0000000..ddce215 --- /dev/null +++ b/ActionsGPT-shema.yaml @@ -0,0 +1,23 @@ +openapi: "3.1.0" +info: + title: Proxmox Cluster Status API + version: "1.0" +servers: + - url: https://pve.lawek.com/api2/json +paths: + /cluster/status: + get: + operationId: getClusterStatus + summary: Récupère le statut du cluster Proxmox + responses: + "200": + description: Statut du cluster retourné avec succès + content: + application/json: + schema: + type: object + properties: + data: + type: array + items: + type: object \ No newline at end of file diff --git a/terraform/main.tf b/terraform/main.tf index e070ae0..446a956 100644 --- a/terraform/main.tf +++ b/terraform/main.tf @@ -15,28 +15,3 @@ provider "proxmox" { pm_api_token_secret = "21d623eb-d6c2-4e03-9a28-5c823c643fc4" #pm_tls_insecure = true } - -resource "proxmox_lxc" "test_ct" { - hostname = "test-lxc" - target_node = "pve3" - ostemplate = "cephfs:vztmpl/debian-12-standard_12.7-1_amd64.tar.zst" - password = "DebianTest123" - cores = 1 - memory = 512 - swap = 512 - unprivileged = true - start = true - tags = "terraform,test" - - network { - name = "eth0" - bridge = "vmbr0" - ip = "dhcp" - gw = "" - } - - rootfs { - storage = "main-pool" - size = "4G" - } -} \ No newline at end of file