terraform {
  backend "azurerm" {
    subscription_id      = "625b66d7-5b11-40fb-99ab-ba303c13ea88"
    resource_group_name  = "tf_state"
    storage_account_name = "continobakerytfstate"
    container_name       = "example"
    key                  = "secops-infrastructure.tfstate"
  }
}

locals {

  ## details for creating rhe new additional shared image gallery in a new resource group (f enabled)

  location                                          = "uksouth"
  shared_image_gallery_name                         = "secops_base_images"
  shared_image_gallery_resource_group_name          = "secops_base_images-rg"
  shared_image_gallery_resource_group_create        = true
  contributor_role_create                           = false
  reader_role_create                                = false

  ## common build resource groups 
  ## build_resource_group                           the group used to deploy the build VM and create the OS Snapshot  
  ## managed_image_resource_group                   the group that the managed image is stored prior to being impoorted
  ##                                                as a shared image defintion version in the Shared Image Gallery

  build_resource_group_name                         = "secops_base_images_build-rg"
  build_vnet_name                                   = "secops_base_images-vnet"
  managed_image_resource_group_name                 = "secops_base_images-rg"


}

variable "PAT" { default = "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" }

Attachments: