1. Anuncie Aqui ! Entre em contato fdantas@4each.com.br

[SQL] Provision new SQL Azure database into existing, non-terraform managed SQL Server instance

Discussão em 'Outras Linguagens' iniciado por Stack, Outubro 1, 2024 às 10:52.

  1. Stack

    Stack Membro Participativo

    I am starting to provision a set of new services on Azure and am using Terraform for IaC. Normally, I'd provision everything top to bottom in Terraform in nice neat modules. However, for this job I've an externally imposed restriction of deploying to a non-terraform managed SQL server managed instance. The config file will throw an error during plan of the form:


    parsing "" as an Server ID: parsing Azure ID: parse "": invalid URI for request

    All the docs reference a SQL server provisioned (usually directly beforehand) in the same script as the DB, I'm wondering if there's any string literal I can put there that will ref an existing server

    I have tried IDs of the following format:

    • server-name
    • /server-name
    • resource-group/server-name
    • /resource-group/server-name
    • The azure object ID (guid)

    Continue reading...

Compartilhe esta Página