Skip to content

Rename FXCI 25H2 shared image galleries with underscores#289

Merged
jwmossmoz merged 1 commit intomasterfrom
RELOPS-2172
Mar 11, 2026
Merged

Rename FXCI 25H2 shared image galleries with underscores#289
jwmossmoz merged 1 commit intomasterfrom
RELOPS-2172

Conversation

@jwmossmoz
Copy link
Contributor

Summary

  • rename the six FXCI 25H2 shared image gallery keys in terraform/azure_fxci/worker-images.tf to underscore-separated names
  • keep the existing 24H2 and 2009 gallery names unchanged so the plan only recreates the expected 25H2 galleries and image definitions
  • align the gallery names with the current shared image naming expected by fxci-config so SBOMs are wired correctly in Taskcluster worker manager

Tracking

Validation

  • terraform -chdir=terraform/azure_fxci validate
  • reviewed the saved plan to confirm it only destroys the old compact 25H2 gallery/image pairs and creates the new underscore-named 25H2 pairs
  • checked with az that the old compact 25H2 galleries no longer had image versions blocking deletion

@jwmossmoz
Copy link
Contributor Author

Terraform plan

Saved from terraform/azure_fxci/plan.txt.


Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  + create
  - destroy

Terraform will perform the following actions:

  # azurerm_shared_image.this["win116425h2"] will be destroyed
  # (because key ["win116425h2"] is not in for_each map)
  - resource "azurerm_shared_image" "this" {
      - accelerated_network_support_enabled = false -> null
      - architecture                        = "x64" -> null
      - confidential_vm_enabled             = false -> null
      - confidential_vm_supported           = false -> null
      - disk_controller_type_nvme_enabled   = true -> null
      - disk_types_not_allowed              = [] -> null
      - gallery_name                        = "win116425h2" -> null
      - hibernation_enabled                 = false -> null
      - hyper_v_generation                  = "V2" -> null
      - id                                  = "/subscriptions/108d46d5-fe9b-4850-9a7d-8c914aa6c1f0/resourceGroups/rg-packer-worker-images/providers/Microsoft.Compute/galleries/win116425h2/images/win116425h2" -> null
      - location                            = "centralus" -> null
      - max_recommended_memory_in_gb        = 0 -> null
      - max_recommended_vcpu_count          = 0 -> null
      - min_recommended_memory_in_gb        = 0 -> null
      - min_recommended_vcpu_count          = 0 -> null
      - name                                = "win116425h2" -> null
      - os_type                             = "Windows" -> null
      - release_note_uri                    = "https://github.com/mozilla-platform-ops/worker-images/releases" -> null
      - resource_group_name                 = "rg-packer-worker-images" -> null
      - specialized                         = false -> null
      - tags                                = {
          - "owner_email"      = "relops@mozilla.com"
          - "production_state" = "production"
          - "project_name"     = "worker-images"
          - "source_repo_url"  = "https://github.com/mozilla-platform-ops/relops_infra_as_code"
          - "terraform"        = "true"
        } -> null
      - trusted_launch_enabled              = false -> null
      - trusted_launch_supported            = false -> null
        # (3 unchanged attributes hidden)

      - identifier {
          - offer     = "Windows-11" -> null
          - publisher = "MicrosoftWindowsDesktop" -> null
          - sku       = "win11-25h2-avd" -> null
        }
    }

  # azurerm_shared_image.this["win116425h2alpha"] will be destroyed
  # (because key ["win116425h2alpha"] is not in for_each map)
  - resource "azurerm_shared_image" "this" {
      - accelerated_network_support_enabled = false -> null
      - architecture                        = "x64" -> null
      - confidential_vm_enabled             = false -> null
      - confidential_vm_supported           = false -> null
      - disk_controller_type_nvme_enabled   = true -> null
      - disk_types_not_allowed              = [] -> null
      - gallery_name                        = "win116425h2alpha" -> null
      - hibernation_enabled                 = false -> null
      - hyper_v_generation                  = "V2" -> null
      - id                                  = "/subscriptions/108d46d5-fe9b-4850-9a7d-8c914aa6c1f0/resourceGroups/rg-packer-worker-images/providers/Microsoft.Compute/galleries/win116425h2alpha/images/win116425h2alpha" -> null
      - location                            = "centralus" -> null
      - max_recommended_memory_in_gb        = 0 -> null
      - max_recommended_vcpu_count          = 0 -> null
      - min_recommended_memory_in_gb        = 0 -> null
      - min_recommended_vcpu_count          = 0 -> null
      - name                                = "win116425h2alpha" -> null
      - os_type                             = "Windows" -> null
      - release_note_uri                    = "https://github.com/mozilla-platform-ops/worker-images/releases" -> null
      - resource_group_name                 = "rg-packer-worker-images" -> null
      - specialized                         = false -> null
      - tags                                = {
          - "owner_email"      = "relops@mozilla.com"
          - "production_state" = "production"
          - "project_name"     = "worker-images"
          - "source_repo_url"  = "https://github.com/mozilla-platform-ops/relops_infra_as_code"
          - "terraform"        = "true"
        } -> null
      - trusted_launch_enabled              = false -> null
      - trusted_launch_supported            = false -> null
        # (3 unchanged attributes hidden)

      - identifier {
          - offer     = "Windows-11" -> null
          - publisher = "MicrosoftWindowsDesktop" -> null
          - sku       = "win11-25h2-avd" -> null
        }
    }

  # azurerm_shared_image.this["win11_64_25h2"] will be created
  + resource "azurerm_shared_image" "this" {
      + architecture                      = "x64"
      + disk_controller_type_nvme_enabled = true
      + gallery_name                      = "win11_64_25h2"
      + hyper_v_generation                = "V2"
      + id                                = (known after apply)
      + location                          = "centralus"
      + name                              = "win11_64_25h2"
      + os_type                           = "Windows"
      + release_note_uri                  = "https://github.com/mozilla-platform-ops/worker-images/releases"
      + resource_group_name               = "rg-packer-worker-images"
      + tags                              = {
          + "owner_email"      = "relops@mozilla.com"
          + "production_state" = "production"
          + "project_name"     = "worker-images"
          + "source_repo_url"  = "https://github.com/mozilla-platform-ops/relops_infra_as_code"
          + "terraform"        = "true"
        }

      + identifier {
          + offer     = "Windows-11"
          + publisher = "MicrosoftWindowsDesktop"
          + sku       = "win11-25h2-avd"
        }
    }

  # azurerm_shared_image.this["win11_64_25h2_alpha"] will be created
  + resource "azurerm_shared_image" "this" {
      + architecture                      = "x64"
      + disk_controller_type_nvme_enabled = true
      + gallery_name                      = "win11_64_25h2_alpha"
      + hyper_v_generation                = "V2"
      + id                                = (known after apply)
      + location                          = "centralus"
      + name                              = "win11_64_25h2_alpha"
      + os_type                           = "Windows"
      + release_note_uri                  = "https://github.com/mozilla-platform-ops/worker-images/releases"
      + resource_group_name               = "rg-packer-worker-images"
      + tags                              = {
          + "owner_email"      = "relops@mozilla.com"
          + "production_state" = "production"
          + "project_name"     = "worker-images"
          + "source_repo_url"  = "https://github.com/mozilla-platform-ops/relops_infra_as_code"
          + "terraform"        = "true"
        }

      + identifier {
          + offer     = "Windows-11"
          + publisher = "MicrosoftWindowsDesktop"
          + sku       = "win11-25h2-avd"
        }
    }

  # azurerm_shared_image.this["win11_a64_25h2_builder"] will be created
  + resource "azurerm_shared_image" "this" {
      + architecture                      = "Arm64"
      + disk_controller_type_nvme_enabled = true
      + gallery_name                      = "win11_a64_25h2_builder"
      + hyper_v_generation                = "V2"
      + id                                = (known after apply)
      + location                          = "centralus"
      + name                              = "win11_a64_25h2_builder"
      + os_type                           = "Windows"
      + release_note_uri                  = "https://github.com/mozilla-platform-ops/worker-images/releases"
      + resource_group_name               = "rg-packer-worker-images"
      + tags                              = {
          + "owner_email"      = "relops@mozilla.com"
          + "production_state" = "production"
          + "project_name"     = "worker-images"
          + "source_repo_url"  = "https://github.com/mozilla-platform-ops/relops_infra_as_code"
          + "terraform"        = "true"
        }

      + identifier {
          + offer     = "Windows-11"
          + publisher = "windows11preview-arm64"
          + sku       = "win11-25h2-ent"
        }
    }

  # azurerm_shared_image.this["win11_a64_25h2_builder_alpha"] will be created
  + resource "azurerm_shared_image" "this" {
      + architecture                      = "Arm64"
      + disk_controller_type_nvme_enabled = true
      + gallery_name                      = "win11_a64_25h2_builder_alpha"
      + hyper_v_generation                = "V2"
      + id                                = (known after apply)
      + location                          = "centralus"
      + name                              = "win11_a64_25h2_builder_alpha"
      + os_type                           = "Windows"
      + release_note_uri                  = "https://github.com/mozilla-platform-ops/worker-images/releases"
      + resource_group_name               = "rg-packer-worker-images"
      + tags                              = {
          + "owner_email"      = "relops@mozilla.com"
          + "production_state" = "production"
          + "project_name"     = "worker-images"
          + "source_repo_url"  = "https://github.com/mozilla-platform-ops/relops_infra_as_code"
          + "terraform"        = "true"
        }

      + identifier {
          + offer     = "Windows-11"
          + publisher = "windows11preview-arm64"
          + sku       = "win11-25h2-ent"
        }
    }

  # azurerm_shared_image.this["win11_a64_25h2_tester"] will be created
  + resource "azurerm_shared_image" "this" {
      + architecture                      = "Arm64"
      + disk_controller_type_nvme_enabled = true
      + gallery_name                      = "win11_a64_25h2_tester"
      + hyper_v_generation                = "V2"
      + id                                = (known after apply)
      + location                          = "centralus"
      + name                              = "win11_a64_25h2_tester"
      + os_type                           = "Windows"
      + release_note_uri                  = "https://github.com/mozilla-platform-ops/worker-images/releases"
      + resource_group_name               = "rg-packer-worker-images"
      + tags                              = {
          + "owner_email"      = "relops@mozilla.com"
          + "production_state" = "production"
          + "project_name"     = "worker-images"
          + "source_repo_url"  = "https://github.com/mozilla-platform-ops/relops_infra_as_code"
          + "terraform"        = "true"
        }

      + identifier {
          + offer     = "Windows-11"
          + publisher = "windows11preview-arm64"
          + sku       = "win11-25h2-ent"
        }
    }

  # azurerm_shared_image.this["win11_a64_25h2_tester_alpha"] will be created
  + resource "azurerm_shared_image" "this" {
      + architecture                      = "Arm64"
      + disk_controller_type_nvme_enabled = true
      + gallery_name                      = "win11_a64_25h2_tester_alpha"
      + hyper_v_generation                = "V2"
      + id                                = (known after apply)
      + location                          = "centralus"
      + name                              = "win11_a64_25h2_tester_alpha"
      + os_type                           = "Windows"
      + release_note_uri                  = "https://github.com/mozilla-platform-ops/worker-images/releases"
      + resource_group_name               = "rg-packer-worker-images"
      + tags                              = {
          + "owner_email"      = "relops@mozilla.com"
          + "production_state" = "production"
          + "project_name"     = "worker-images"
          + "source_repo_url"  = "https://github.com/mozilla-platform-ops/relops_infra_as_code"
          + "terraform"        = "true"
        }

      + identifier {
          + offer     = "Windows-11"
          + publisher = "windows11preview-arm64"
          + sku       = "win11-25h2-ent"
        }
    }

  # azurerm_shared_image.this["win11a6425h2builder"] will be destroyed
  # (because key ["win11a6425h2builder"] is not in for_each map)
  - resource "azurerm_shared_image" "this" {
      - accelerated_network_support_enabled = false -> null
      - architecture                        = "Arm64" -> null
      - confidential_vm_enabled             = false -> null
      - confidential_vm_supported           = false -> null
      - disk_controller_type_nvme_enabled   = true -> null
      - disk_types_not_allowed              = [] -> null
      - gallery_name                        = "win11a6425h2builder" -> null
      - hibernation_enabled                 = false -> null
      - hyper_v_generation                  = "V2" -> null
      - id                                  = "/subscriptions/108d46d5-fe9b-4850-9a7d-8c914aa6c1f0/resourceGroups/rg-packer-worker-images/providers/Microsoft.Compute/galleries/win11a6425h2builder/images/win11a6425h2builder" -> null
      - location                            = "centralus" -> null
      - max_recommended_memory_in_gb        = 0 -> null
      - max_recommended_vcpu_count          = 0 -> null
      - min_recommended_memory_in_gb        = 0 -> null
      - min_recommended_vcpu_count          = 0 -> null
      - name                                = "win11a6425h2builder" -> null
      - os_type                             = "Windows" -> null
      - release_note_uri                    = "https://github.com/mozilla-platform-ops/worker-images/releases" -> null
      - resource_group_name                 = "rg-packer-worker-images" -> null
      - specialized                         = false -> null
      - tags                                = {
          - "owner_email"      = "relops@mozilla.com"
          - "production_state" = "production"
          - "project_name"     = "worker-images"
          - "source_repo_url"  = "https://github.com/mozilla-platform-ops/relops_infra_as_code"
          - "terraform"        = "true"
        } -> null
      - trusted_launch_enabled              = false -> null
      - trusted_launch_supported            = false -> null
        # (3 unchanged attributes hidden)

      - identifier {
          - offer     = "Windows-11" -> null
          - publisher = "windows11preview-arm64" -> null
          - sku       = "win11-25h2-ent" -> null
        }
    }

  # azurerm_shared_image.this["win11a6425h2builderalpha"] will be destroyed
  # (because key ["win11a6425h2builderalpha"] is not in for_each map)
  - resource "azurerm_shared_image" "this" {
      - accelerated_network_support_enabled = false -> null
      - architecture                        = "Arm64" -> null
      - confidential_vm_enabled             = false -> null
      - confidential_vm_supported           = false -> null
      - disk_controller_type_nvme_enabled   = true -> null
      - disk_types_not_allowed              = [] -> null
      - gallery_name                        = "win11a6425h2builderalpha" -> null
      - hibernation_enabled                 = false -> null
      - hyper_v_generation                  = "V2" -> null
      - id                                  = "/subscriptions/108d46d5-fe9b-4850-9a7d-8c914aa6c1f0/resourceGroups/rg-packer-worker-images/providers/Microsoft.Compute/galleries/win11a6425h2builderalpha/images/win11a6425h2builderalpha" -> null
      - location                            = "centralus" -> null
      - max_recommended_memory_in_gb        = 0 -> null
      - max_recommended_vcpu_count          = 0 -> null
      - min_recommended_memory_in_gb        = 0 -> null
      - min_recommended_vcpu_count          = 0 -> null
      - name                                = "win11a6425h2builderalpha" -> null
      - os_type                             = "Windows" -> null
      - release_note_uri                    = "https://github.com/mozilla-platform-ops/worker-images/releases" -> null
      - resource_group_name                 = "rg-packer-worker-images" -> null
      - specialized                         = false -> null
      - tags                                = {
          - "owner_email"      = "relops@mozilla.com"
          - "production_state" = "production"
          - "project_name"     = "worker-images"
          - "source_repo_url"  = "https://github.com/mozilla-platform-ops/relops_infra_as_code"
          - "terraform"        = "true"
        } -> null
      - trusted_launch_enabled              = false -> null
      - trusted_launch_supported            = false -> null
        # (3 unchanged attributes hidden)

      - identifier {
          - offer     = "Windows-11" -> null
          - publisher = "windows11preview-arm64" -> null
          - sku       = "win11-25h2-ent" -> null
        }
    }

  # azurerm_shared_image.this["win11a6425h2tester"] will be destroyed
  # (because key ["win11a6425h2tester"] is not in for_each map)
  - resource "azurerm_shared_image" "this" {
      - accelerated_network_support_enabled = false -> null
      - architecture                        = "Arm64" -> null
      - confidential_vm_enabled             = false -> null
      - confidential_vm_supported           = false -> null
      - disk_controller_type_nvme_enabled   = true -> null
      - disk_types_not_allowed              = [] -> null
      - gallery_name                        = "win11a6425h2tester" -> null
      - hibernation_enabled                 = false -> null
      - hyper_v_generation                  = "V2" -> null
      - id                                  = "/subscriptions/108d46d5-fe9b-4850-9a7d-8c914aa6c1f0/resourceGroups/rg-packer-worker-images/providers/Microsoft.Compute/galleries/win11a6425h2tester/images/win11a6425h2tester" -> null
      - location                            = "centralus" -> null
      - max_recommended_memory_in_gb        = 0 -> null
      - max_recommended_vcpu_count          = 0 -> null
      - min_recommended_memory_in_gb        = 0 -> null
      - min_recommended_vcpu_count          = 0 -> null
      - name                                = "win11a6425h2tester" -> null
      - os_type                             = "Windows" -> null
      - release_note_uri                    = "https://github.com/mozilla-platform-ops/worker-images/releases" -> null
      - resource_group_name                 = "rg-packer-worker-images" -> null
      - specialized                         = false -> null
      - tags                                = {
          - "owner_email"      = "relops@mozilla.com"
          - "production_state" = "production"
          - "project_name"     = "worker-images"
          - "source_repo_url"  = "https://github.com/mozilla-platform-ops/relops_infra_as_code"
          - "terraform"        = "true"
        } -> null
      - trusted_launch_enabled              = false -> null
      - trusted_launch_supported            = false -> null
        # (3 unchanged attributes hidden)

      - identifier {
          - offer     = "Windows-11" -> null
          - publisher = "windows11preview-arm64" -> null
          - sku       = "win11-25h2-ent" -> null
        }
    }

  # azurerm_shared_image.this["win11a6425h2testeralpha"] will be destroyed
  # (because key ["win11a6425h2testeralpha"] is not in for_each map)
  - resource "azurerm_shared_image" "this" {
      - accelerated_network_support_enabled = false -> null
      - architecture                        = "Arm64" -> null
      - confidential_vm_enabled             = false -> null
      - confidential_vm_supported           = false -> null
      - disk_controller_type_nvme_enabled   = true -> null
      - disk_types_not_allowed              = [] -> null
      - gallery_name                        = "win11a6425h2testeralpha" -> null
      - hibernation_enabled                 = false -> null
      - hyper_v_generation                  = "V2" -> null
      - id                                  = "/subscriptions/108d46d5-fe9b-4850-9a7d-8c914aa6c1f0/resourceGroups/rg-packer-worker-images/providers/Microsoft.Compute/galleries/win11a6425h2testeralpha/images/win11a6425h2testeralpha" -> null
      - location                            = "centralus" -> null
      - max_recommended_memory_in_gb        = 0 -> null
      - max_recommended_vcpu_count          = 0 -> null
      - min_recommended_memory_in_gb        = 0 -> null
      - min_recommended_vcpu_count          = 0 -> null
      - name                                = "win11a6425h2testeralpha" -> null
      - os_type                             = "Windows" -> null
      - release_note_uri                    = "https://github.com/mozilla-platform-ops/worker-images/releases" -> null
      - resource_group_name                 = "rg-packer-worker-images" -> null
      - specialized                         = false -> null
      - tags                                = {
          - "owner_email"      = "relops@mozilla.com"
          - "production_state" = "production"
          - "project_name"     = "worker-images"
          - "source_repo_url"  = "https://github.com/mozilla-platform-ops/relops_infra_as_code"
          - "terraform"        = "true"
        } -> null
      - trusted_launch_enabled              = false -> null
      - trusted_launch_supported            = false -> null
        # (3 unchanged attributes hidden)

      - identifier {
          - offer     = "Windows-11" -> null
          - publisher = "windows11preview-arm64" -> null
          - sku       = "win11-25h2-ent" -> null
        }
    }

  # azurerm_shared_image_gallery.this["win116425h2"] will be destroyed
  # (because key ["win116425h2"] is not in for_each map)
  - resource "azurerm_shared_image_gallery" "this" {
      - description         = "Shared Image Gallery for win11-25h2-avd" -> null
      - id                  = "/subscriptions/108d46d5-fe9b-4850-9a7d-8c914aa6c1f0/resourceGroups/rg-packer-worker-images/providers/Microsoft.Compute/galleries/win116425h2" -> null
      - location            = "centralus" -> null
      - name                = "win116425h2" -> null
      - resource_group_name = "rg-packer-worker-images" -> null
      - tags                = {
          - "owner_email"      = "relops@mozilla.com"
          - "production_state" = "production"
          - "project_name"     = "worker-images"
          - "source_repo_url"  = "https://github.com/mozilla-platform-ops/relops_infra_as_code"
          - "terraform"        = "true"
        } -> null
      - unique_name         = "108d46d5-fe9b-4850-9a7d-8c914aa6c1f0-WIN116425H2" -> null
    }

  # azurerm_shared_image_gallery.this["win116425h2alpha"] will be destroyed
  # (because key ["win116425h2alpha"] is not in for_each map)
  - resource "azurerm_shared_image_gallery" "this" {
      - description         = "Shared Image Gallery for win11-25h2-avd" -> null
      - id                  = "/subscriptions/108d46d5-fe9b-4850-9a7d-8c914aa6c1f0/resourceGroups/rg-packer-worker-images/providers/Microsoft.Compute/galleries/win116425h2alpha" -> null
      - location            = "centralus" -> null
      - name                = "win116425h2alpha" -> null
      - resource_group_name = "rg-packer-worker-images" -> null
      - tags                = {
          - "owner_email"      = "relops@mozilla.com"
          - "production_state" = "production"
          - "project_name"     = "worker-images"
          - "source_repo_url"  = "https://github.com/mozilla-platform-ops/relops_infra_as_code"
          - "terraform"        = "true"
        } -> null
      - unique_name         = "108d46d5-fe9b-4850-9a7d-8c914aa6c1f0-WIN116425H2ALPHA" -> null
    }

  # azurerm_shared_image_gallery.this["win11_64_25h2"] will be created
  + resource "azurerm_shared_image_gallery" "this" {
      + description         = "Shared Image Gallery for win11-25h2-avd"
      + id                  = (known after apply)
      + location            = "centralus"
      + name                = "win11_64_25h2"
      + resource_group_name = "rg-packer-worker-images"
      + tags                = {
          + "owner_email"      = "relops@mozilla.com"
          + "production_state" = "production"
          + "project_name"     = "worker-images"
          + "source_repo_url"  = "https://github.com/mozilla-platform-ops/relops_infra_as_code"
          + "terraform"        = "true"
        }
      + unique_name         = (known after apply)
    }

  # azurerm_shared_image_gallery.this["win11_64_25h2_alpha"] will be created
  + resource "azurerm_shared_image_gallery" "this" {
      + description         = "Shared Image Gallery for win11-25h2-avd"
      + id                  = (known after apply)
      + location            = "centralus"
      + name                = "win11_64_25h2_alpha"
      + resource_group_name = "rg-packer-worker-images"
      + tags                = {
          + "owner_email"      = "relops@mozilla.com"
          + "production_state" = "production"
          + "project_name"     = "worker-images"
          + "source_repo_url"  = "https://github.com/mozilla-platform-ops/relops_infra_as_code"
          + "terraform"        = "true"
        }
      + unique_name         = (known after apply)
    }

  # azurerm_shared_image_gallery.this["win11_a64_25h2_builder"] will be created
  + resource "azurerm_shared_image_gallery" "this" {
      + description         = "Shared Image Gallery for win11-25h2-ent"
      + id                  = (known after apply)
      + location            = "centralus"
      + name                = "win11_a64_25h2_builder"
      + resource_group_name = "rg-packer-worker-images"
      + tags                = {
          + "owner_email"      = "relops@mozilla.com"
          + "production_state" = "production"
          + "project_name"     = "worker-images"
          + "source_repo_url"  = "https://github.com/mozilla-platform-ops/relops_infra_as_code"
          + "terraform"        = "true"
        }
      + unique_name         = (known after apply)
    }

  # azurerm_shared_image_gallery.this["win11_a64_25h2_builder_alpha"] will be created
  + resource "azurerm_shared_image_gallery" "this" {
      + description         = "Shared Image Gallery for win11-25h2-ent"
      + id                  = (known after apply)
      + location            = "centralus"
      + name                = "win11_a64_25h2_builder_alpha"
      + resource_group_name = "rg-packer-worker-images"
      + tags                = {
          + "owner_email"      = "relops@mozilla.com"
          + "production_state" = "production"
          + "project_name"     = "worker-images"
          + "source_repo_url"  = "https://github.com/mozilla-platform-ops/relops_infra_as_code"
          + "terraform"        = "true"
        }
      + unique_name         = (known after apply)
    }

  # azurerm_shared_image_gallery.this["win11_a64_25h2_tester"] will be created
  + resource "azurerm_shared_image_gallery" "this" {
      + description         = "Shared Image Gallery for win11-25h2-ent"
      + id                  = (known after apply)
      + location            = "centralus"
      + name                = "win11_a64_25h2_tester"
      + resource_group_name = "rg-packer-worker-images"
      + tags                = {
          + "owner_email"      = "relops@mozilla.com"
          + "production_state" = "production"
          + "project_name"     = "worker-images"
          + "source_repo_url"  = "https://github.com/mozilla-platform-ops/relops_infra_as_code"
          + "terraform"        = "true"
        }
      + unique_name         = (known after apply)
    }

  # azurerm_shared_image_gallery.this["win11_a64_25h2_tester_alpha"] will be created
  + resource "azurerm_shared_image_gallery" "this" {
      + description         = "Shared Image Gallery for win11-25h2-ent"
      + id                  = (known after apply)
      + location            = "centralus"
      + name                = "win11_a64_25h2_tester_alpha"
      + resource_group_name = "rg-packer-worker-images"
      + tags                = {
          + "owner_email"      = "relops@mozilla.com"
          + "production_state" = "production"
          + "project_name"     = "worker-images"
          + "source_repo_url"  = "https://github.com/mozilla-platform-ops/relops_infra_as_code"
          + "terraform"        = "true"
        }
      + unique_name         = (known after apply)
    }

  # azurerm_shared_image_gallery.this["win11a6425h2builder"] will be destroyed
  # (because key ["win11a6425h2builder"] is not in for_each map)
  - resource "azurerm_shared_image_gallery" "this" {
      - description         = "Shared Image Gallery for win11-25h2-ent" -> null
      - id                  = "/subscriptions/108d46d5-fe9b-4850-9a7d-8c914aa6c1f0/resourceGroups/rg-packer-worker-images/providers/Microsoft.Compute/galleries/win11a6425h2builder" -> null
      - location            = "centralus" -> null
      - name                = "win11a6425h2builder" -> null
      - resource_group_name = "rg-packer-worker-images" -> null
      - tags                = {
          - "owner_email"      = "relops@mozilla.com"
          - "production_state" = "production"
          - "project_name"     = "worker-images"
          - "source_repo_url"  = "https://github.com/mozilla-platform-ops/relops_infra_as_code"
          - "terraform"        = "true"
        } -> null
      - unique_name         = "108d46d5-fe9b-4850-9a7d-8c914aa6c1f0-WIN11A6425H2BUILDER" -> null
    }

  # azurerm_shared_image_gallery.this["win11a6425h2builderalpha"] will be destroyed
  # (because key ["win11a6425h2builderalpha"] is not in for_each map)
  - resource "azurerm_shared_image_gallery" "this" {
      - description         = "Shared Image Gallery for win11-25h2-ent" -> null
      - id                  = "/subscriptions/108d46d5-fe9b-4850-9a7d-8c914aa6c1f0/resourceGroups/rg-packer-worker-images/providers/Microsoft.Compute/galleries/win11a6425h2builderalpha" -> null
      - location            = "centralus" -> null
      - name                = "win11a6425h2builderalpha" -> null
      - resource_group_name = "rg-packer-worker-images" -> null
      - tags                = {
          - "owner_email"      = "relops@mozilla.com"
          - "production_state" = "production"
          - "project_name"     = "worker-images"
          - "source_repo_url"  = "https://github.com/mozilla-platform-ops/relops_infra_as_code"
          - "terraform"        = "true"
        } -> null
      - unique_name         = "108d46d5-fe9b-4850-9a7d-8c914aa6c1f0-WIN11A6425H2BUILDERALPHA" -> null
    }

  # azurerm_shared_image_gallery.this["win11a6425h2tester"] will be destroyed
  # (because key ["win11a6425h2tester"] is not in for_each map)
  - resource "azurerm_shared_image_gallery" "this" {
      - description         = "Shared Image Gallery for win11-25h2-ent" -> null
      - id                  = "/subscriptions/108d46d5-fe9b-4850-9a7d-8c914aa6c1f0/resourceGroups/rg-packer-worker-images/providers/Microsoft.Compute/galleries/win11a6425h2tester" -> null
      - location            = "centralus" -> null
      - name                = "win11a6425h2tester" -> null
      - resource_group_name = "rg-packer-worker-images" -> null
      - tags                = {
          - "owner_email"      = "relops@mozilla.com"
          - "production_state" = "production"
          - "project_name"     = "worker-images"
          - "source_repo_url"  = "https://github.com/mozilla-platform-ops/relops_infra_as_code"
          - "terraform"        = "true"
        } -> null
      - unique_name         = "108d46d5-fe9b-4850-9a7d-8c914aa6c1f0-WIN11A6425H2TESTER" -> null
    }

  # azurerm_shared_image_gallery.this["win11a6425h2testeralpha"] will be destroyed
  # (because key ["win11a6425h2testeralpha"] is not in for_each map)
  - resource "azurerm_shared_image_gallery" "this" {
      - description         = "Shared Image Gallery for win11-25h2-ent" -> null
      - id                  = "/subscriptions/108d46d5-fe9b-4850-9a7d-8c914aa6c1f0/resourceGroups/rg-packer-worker-images/providers/Microsoft.Compute/galleries/win11a6425h2testeralpha" -> null
      - location            = "centralus" -> null
      - name                = "win11a6425h2testeralpha" -> null
      - resource_group_name = "rg-packer-worker-images" -> null
      - tags                = {
          - "owner_email"      = "relops@mozilla.com"
          - "production_state" = "production"
          - "project_name"     = "worker-images"
          - "source_repo_url"  = "https://github.com/mozilla-platform-ops/relops_infra_as_code"
          - "terraform"        = "true"
        } -> null
      - unique_name         = "108d46d5-fe9b-4850-9a7d-8c914aa6c1f0-WIN11A6425H2TESTERALPHA" -> null
    }

Plan: 12 to add, 0 to change, 12 to destroy.

@jwmossmoz jwmossmoz merged commit 225dd25 into master Mar 11, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants