From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 7982CB834 for ; Thu, 7 Apr 2022 12:27:51 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 6CC453960 for ; Thu, 7 Apr 2022 12:27:51 +0200 (CEST) Received: from mail-pg1-x52e.google.com (mail-pg1-x52e.google.com [IPv6:2607:f8b0:4864:20::52e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS id 95598394F for ; Thu, 7 Apr 2022 12:27:50 +0200 (CEST) Received: by mail-pg1-x52e.google.com with SMTP id s21so72768pgv.13 for ; Thu, 07 Apr 2022 03:27:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sciborek-com.20210112.gappssmtp.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=MpN8oxVmkcU05v/zvVjJVy8MrQgWiQAtsZgZFIBm++I=; b=yPGmt6kPLjMz+K+za3Dg3/2Apwk/t4DwllkTGj7lS1h5JBCNX8xOt5qLL0nmdhWT+f qYEWgNYIJ0k7IZrrnayBl5AzN50/El7gcFbLvchbazMweioM65HCY5yKtD8hE/aCW/tM gxfMU+yCPhIWf8SUbM8Uc2jCKqqVP5nrbJz3gpoLih1wg2nfGU+05XTzrHHL9doyGMCP 9DUX+ORTgMeOyN3B9j5z422qjS4VFJBX7hXgO7nq39ZOEdaYtMN8KHnfN66t95fSCCLy vRUmk+rUQFpINuvtJlsG6f1Y0Kmc72QPTwzEUfg/Il/75QAtKzQB5n8gpf/xZQeIckin gLFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=MpN8oxVmkcU05v/zvVjJVy8MrQgWiQAtsZgZFIBm++I=; b=4hXWNS+rNlC9FmITiZsHvyN4dzm9tnX1eB3sDoteZkRP0GSNCLMi586wz882vEOE4O krKxWUgan76CAt+5EwwZoZr6FaN8ZnXdvOflTPJTIkz1AiTAp6+Am94wZ16yGfdjA8Rd sMDir7j0/52IB82wVcVFqgiAGAH9uKjYq6z0+4Mpm49p5m7+NE8KR585vyzJVGixckPq AfdzHP338BWM8uZMCepXxuP2lT/31+QOyRnoS/k8bZImNQeMh5+RlX9/e6ZPSlRnVYgf RnyNKuOXKtS2TmTSS0tP/COzj37afGBbtd1bDw6KOtlX2/KPRNL4FzPYtkZEeMeq3DGF 1A4w== X-Gm-Message-State: AOAM532aRrwdJqU1zg/hH8o5jBu1kGbaJ31zsWTVB2d9sOPfVDghui2n uvVjoDdb6j2xec+KxNRwSO3U4UPCx/+vzk95pO9XGJf6yQElWw== X-Google-Smtp-Source: ABdhPJySImI9goOkxgMb98Xv+jm1sgaW1cr60mMQpMuwNi2cyoI1L2BQMg+f98f2MwFBn79OIDWAhVVEi4y6CHAIt/M= X-Received: by 2002:aa7:9019:0:b0:4fa:7532:9551 with SMTP id m25-20020aa79019000000b004fa75329551mr13422470pfo.26.1649327262385; Thu, 07 Apr 2022 03:27:42 -0700 (PDT) MIME-Version: 1.0 From: =?UTF-8?Q?Patryk_=C5=9Aciborek?= Date: Thu, 7 Apr 2022 12:27:31 +0200 Message-ID: To: pve-devel@lists.proxmox.com X-SPAM-LEVEL: Spam detection results: 0 BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature HTML_MESSAGE 0.001 HTML included in message RCVD_IN_DNSWL_NONE -0.0001 Sender listed at https://www.dnswl.org/, no trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record T_SCC_BODY_TEXT_LINE -0.01 - URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [proxmox.com] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: [pve-devel] New API endpoint to manage snippets X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Apr 2022 10:27:51 -0000 Hi Guys! I'm using Terraform to manage VMs running on Proxmox. I need to be able to upload snippets with custom cloud-init configuration. Right now I have to use scp/sftp to upload snippets so I have to use a system account. It looks that I'm not the only one having this issue: https://bugzilla.proxmox.com/show_bug.cgi?id=2208 So I thought that I could implement a new API endpoint which would allow to create, read, update and delete snippets so other tools like Terraform would be able to use it. What do you think about this idea? Best regards, Patryk