meilisearch/cloud-providers

Add Azure provider

Opened this issue · 1 comments

I was trying some implementations here, but it was not easy to pass through the auth:

source "azure-arm" "debian" {
  client_id           = "0bbc3c11-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
  client_secret       = "client-secret"
  subscription_id     = "09bcffb6-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
  tenant_id           = "f0bbad2e-xxxx-xxxx-xxxx-xxxxxxxxxxxx"


  image_publisher = "Debian"
  image_offer     = "debian-11"
  image_sku       = "11"
  os_type         = "Linux"

  azure_tags = {
    dept = "packer"
  }

  location        = "eastus"
  
  resource_group_name = "PackerImages"
  storage_account = "meilisearchazureimages"
  capture_container_name = "meilisearchazureimages"
  capture_name_prefix = "meili"
}