Skip to content

Align perftest infra#241

Open
rapolaskaseliscgi wants to merge 20 commits intoperftestfrom
align-perftest-infra
Open

Align perftest infra#241
rapolaskaseliscgi wants to merge 20 commits intoperftestfrom
align-perftest-infra

Conversation

@rapolaskaseliscgi
Copy link
Copy Markdown

Change description

Match demo/ithc infra on perftest

@rapolaskaseliscgi rapolaskaseliscgi requested a review from a team as a code owner February 18, 2026 12:20
@rapolaskaseliscgi rapolaskaseliscgi requested review from charlesluokb, playfair0319-moj and subtitleuk and removed request for a team February 18, 2026 12:20
@rapolaskaseliscgi rapolaskaseliscgi changed the base branch from master to perftest February 18, 2026 12:20
@hmcts-jenkins-a-to-c
Copy link
Copy Markdown
Contributor

Plan Result (aat)

⚠️ Resource Deletion will happen

This plan contains resource delete operation. Please check the plan result very carefully!

Plan: 10 to add, 11 to change, 10 to destroy.
  • Create
    • module.load_balancers["legacy"].azurerm_lb.this
    • module.load_balancers["legacy"].azurerm_lb_backend_address_pool.this
    • module.load_balancers["legacy"].azurerm_lb_backend_address_pool_address.this["ccd-data-0"]
    • module.load_balancers["legacy"].azurerm_lb_backend_address_pool_address.this["ccd-data-1"]
    • module.load_balancers["legacy"].azurerm_lb_backend_address_pool_address.this["ccd-data-2"]
    • module.load_balancers["legacy"].azurerm_lb_backend_address_pool_address.this["ccd-data-3"]
    • module.load_balancers["legacy"].azurerm_lb_probe.this["http"]
    • module.load_balancers["legacy"].azurerm_lb_probe.this["transport"]
    • module.load_balancers["legacy"].azurerm_lb_rule.this["http"]
    • module.load_balancers["legacy"].azurerm_lb_rule.this["transport"]
  • Update
    • azurerm_network_security_rule.nsg_rules["AKS_To_ES"]
    • azurerm_network_security_rule.nsg_rules["App_To_ES"]
    • azurerm_network_security_rule.nsg_rules["Bastion_To_ES"]
    • azurerm_network_security_rule.nsg_rules["ElasticClusterTransport"]
    • azurerm_network_security_rule.nsg_rules["Jenkins_To_ES"]
    • azurerm_network_security_rule.nsg_rules["LB_To_ES"]
    • azurerm_network_security_rule.nsg_rules["SSH"]
    • module.elastic2["ccd-data-0"].module.virtual-machines.azurerm_virtual_machine_extension.entra[0]
    • module.elastic2["ccd-data-1"].module.virtual-machines.azurerm_virtual_machine_extension.entra[0]
    • module.elastic2["ccd-data-2"].module.virtual-machines.azurerm_virtual_machine_extension.entra[0]
    • module.elastic2["ccd-data-3"].module.virtual-machines.azurerm_virtual_machine_extension.entra[0]
  • Delete
    • module.main_lb.azurerm_lb.this
    • module.main_lb.azurerm_lb_backend_address_pool.this
    • module.main_lb.azurerm_lb_backend_address_pool_address.this["ccd-data-0"]
    • module.main_lb.azurerm_lb_backend_address_pool_address.this["ccd-data-1"]
    • module.main_lb.azurerm_lb_backend_address_pool_address.this["ccd-data-2"]
    • module.main_lb.azurerm_lb_backend_address_pool_address.this["ccd-data-3"]
    • module.main_lb.azurerm_lb_probe.this["http"]
    • module.main_lb.azurerm_lb_probe.this["transport"]
    • module.main_lb.azurerm_lb_rule.this["http"]
    • module.main_lb.azurerm_lb_rule.this["transport"]
Change Result (Click me)
  # azurerm_network_security_rule.nsg_rules["AKS_To_ES"] will be updated in-place
  ~ resource "azurerm_network_security_rule" "nsg_rules" {
      ~ destination_application_security_group_ids = [
          - "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/CCD-ELASTIC-SEARCH-AAT/providers/Microsoft.Network/applicationSecurityGroups/CCD-DATA-ASG",
          + "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/ccd-elastic-search-aat/providers/Microsoft.Network/applicationSecurityGroups/ccd-data-asg",
        ]
        id                                         = "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/ccd-elastic-search-aat/providers/Microsoft.Network/networkSecurityGroups/ccd-cluster-nsg/securityRules/AKS_To_ES"
        name                                       = "AKS_To_ES"
        # (16 unchanged attributes hidden)
    }

  # azurerm_network_security_rule.nsg_rules["App_To_ES"] will be updated in-place
  ~ resource "azurerm_network_security_rule" "nsg_rules" {
      ~ destination_application_security_group_ids = [
          - "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/CCD-ELASTIC-SEARCH-AAT/providers/Microsoft.Network/applicationSecurityGroups/CCD-DATA-ASG",
          + "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/ccd-elastic-search-aat/providers/Microsoft.Network/applicationSecurityGroups/ccd-data-asg",
        ]
        id                                         = "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/ccd-elastic-search-aat/providers/Microsoft.Network/networkSecurityGroups/ccd-cluster-nsg/securityRules/App_To_ES"
        name                                       = "App_To_ES"
        # (16 unchanged attributes hidden)
    }

  # azurerm_network_security_rule.nsg_rules["Bastion_To_ES"] will be updated in-place
  ~ resource "azurerm_network_security_rule" "nsg_rules" {
      ~ destination_application_security_group_ids = [
          - "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/CCD-ELASTIC-SEARCH-AAT/providers/Microsoft.Network/applicationSecurityGroups/CCD-DATA-ASG",
          + "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/ccd-elastic-search-aat/providers/Microsoft.Network/applicationSecurityGroups/ccd-data-asg",
        ]
        id                                         = "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/ccd-elastic-search-aat/providers/Microsoft.Network/networkSecurityGroups/ccd-cluster-nsg/securityRules/Bastion_To_ES"
        name                                       = "Bastion_To_ES"
        # (16 unchanged attributes hidden)
    }

  # azurerm_network_security_rule.nsg_rules["ElasticClusterTransport"] will be updated in-place
  ~ resource "azurerm_network_security_rule" "nsg_rules" {
      ~ destination_application_security_group_ids = [
          - "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/CCD-ELASTIC-SEARCH-AAT/providers/Microsoft.Network/applicationSecurityGroups/CCD-DATA-ASG",
          + "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/ccd-elastic-search-aat/providers/Microsoft.Network/applicationSecurityGroups/ccd-data-asg",
        ]
        id                                         = "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/ccd-elastic-search-aat/providers/Microsoft.Network/networkSecurityGroups/ccd-cluster-nsg/securityRules/ElasticClusterTransport"
        name                                       = "ElasticClusterTransport"
      ~ source_application_security_group_ids      = [
          - "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/CCD-ELASTIC-SEARCH-AAT/providers/Microsoft.Network/applicationSecurityGroups/CCD-DATA-ASG",
          + "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/ccd-elastic-search-aat/providers/Microsoft.Network/applicationSecurityGroups/ccd-data-asg",
        ]
        # (15 unchanged attributes hidden)
    }

  # azurerm_network_security_rule.nsg_rules["Jenkins_To_ES"] will be updated in-place
  ~ resource "azurerm_network_security_rule" "nsg_rules" {
      ~ destination_application_security_group_ids = [
          - "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/CCD-ELASTIC-SEARCH-AAT/providers/Microsoft.Network/applicationSecurityGroups/CCD-DATA-ASG",
          + "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/ccd-elastic-search-aat/providers/Microsoft.Network/applicationSecurityGroups/ccd-data-asg",
        ]
        id                                         = "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/ccd-elastic-search-aat/providers/Microsoft.Network/networkSecurityGroups/ccd-cluster-nsg/securityRules/Jenkins_To_ES"
        name                                       = "Jenkins_To_ES"
        # (16 unchanged attributes hidden)
    }

  # azurerm_network_security_rule.nsg_rules["LB_To_ES"] will be updated in-place
  ~ resource "azurerm_network_security_rule" "nsg_rules" {
      ~ destination_application_security_group_ids = [
          - "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/CCD-ELASTIC-SEARCH-AAT/providers/Microsoft.Network/applicationSecurityGroups/CCD-DATA-ASG",
          + "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/ccd-elastic-search-aat/providers/Microsoft.Network/applicationSecurityGroups/ccd-data-asg",
        ]
        id                                         = "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/ccd-elastic-search-aat/providers/Microsoft.Network/networkSecurityGroups/ccd-cluster-nsg/securityRules/LB_To_ES"
        name                                       = "LB_To_ES"
        # (16 unchanged attributes hidden)
    }

  # azurerm_network_security_rule.nsg_rules["SSH"] will be updated in-place
  ~ resource "azurerm_network_security_rule" "nsg_rules" {
      ~ destination_application_security_group_ids = [
          - "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/CCD-ELASTIC-SEARCH-AAT/providers/Microsoft.Network/applicationSecurityGroups/CCD-DATA-ASG",
          + "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/ccd-elastic-search-aat/providers/Microsoft.Network/applicationSecurityGroups/ccd-data-asg",
        ]
        id                                         = "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/ccd-elastic-search-aat/providers/Microsoft.Network/networkSecurityGroups/ccd-cluster-nsg/securityRules/SSH"
        name                                       = "SSH"
        # (16 unchanged attributes hidden)
    }

  # module.load_balancers["legacy"].azurerm_lb.this will be created
  + resource "azurerm_lb" "this" {
      + id                   = (known after apply)
      + location             = "uksouth"
      + name                 = "ccd-internal-aat-lb"
      + private_ip_address   = (known after apply)
      + private_ip_addresses = (known after apply)
      + public_ip_address_id = (known after apply)
      + resource_group_name  = "ccd-elastic-search-aat"
      + sku                  = "Standard"
      + sku_tier             = "Regional"
      + subnet_id            = (known after apply)
      + tags                 = {
          + "application"  = "core-case-data"
          + "autoShutdown" = "true"
          + "builtFrom"    = "https://github.com/HMCTS/ccd-elastic-search.git"
          + "businessArea" = "CFT"
          + "criticality"  = "High"
          + "environment"  = "staging"
          + "startupMode"  = "always"
        }

      + frontend_ip_configuration {
          + gateway_load_balancer_frontend_ip_configuration_id = (known after apply)
          + id                                                 = (known after apply)
          + inbound_nat_rules                                  = (known after apply)
          + load_balancer_rules                                = (known after apply)
          + name                                               = "LBFE"
          + outbound_rules                                     = (known after apply)
          + private_ip_address                                 = "10.96.149.253"
          + private_ip_address_allocation                      = "Static"
          + private_ip_address_version                         = (known after apply)
          + public_ip_prefix_id                                = (known after apply)
          + subnet_id                                          = "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/core-infra-aat/providers/Microsoft.Network/virtualNetworks/core-infra-vnet-aat/subnets/elasticsearch"
          + zones                                              = [
              + "1",
              + "2",
              + "3",
            ]
        }
    }

  # module.load_balancers["legacy"].azurerm_lb_backend_address_pool.this will be created
  + resource "azurerm_lb_backend_address_pool" "this" {
      + backend_ip_configurations = (known after apply)
      + id                        = (known after apply)
      + inbound_nat_rules         = (known after apply)
      + load_balancing_rules      = (known after apply)
      + loadbalancer_id           = (known after apply)
      + name                      = "LBBE"
      + outbound_rules            = (known after apply)
    }

  # module.load_balancers["legacy"].azurerm_lb_backend_address_pool_address.this["ccd-data-0"] will be created
  + resource "azurerm_lb_backend_address_pool_address" "this" {
      + backend_address_pool_id       = (known after apply)
      + id                            = (known after apply)
      + inbound_nat_rule_port_mapping = (known after apply)
      + ip_address                    = "10.96.149.7"
      + name                          = "ccd-data-0"
      + virtual_network_id            = "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/core-infra-aat/providers/Microsoft.Network/virtualNetworks/core-infra-vnet-aat"
    }

  # module.load_balancers["legacy"].azurerm_lb_backend_address_pool_address.this["ccd-data-1"] will be created
  + resource "azurerm_lb_backend_address_pool_address" "this" {
      + backend_address_pool_id       = (known after apply)
      + id                            = (known after apply)
      + inbound_nat_rule_port_mapping = (known after apply)
      + ip_address                    = "10.96.149.5"
      + name                          = "ccd-data-1"
      + virtual_network_id            = "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/core-infra-aat/providers/Microsoft.Network/virtualNetworks/core-infra-vnet-aat"
    }

  # module.load_balancers["legacy"].azurerm_lb_backend_address_pool_address.this["ccd-data-2"] will be created
  + resource "azurerm_lb_backend_address_pool_address" "this" {
      + backend_address_pool_id       = (known after apply)
      + id                            = (known after apply)
      + inbound_nat_rule_port_mapping = (known after apply)
      + ip_address                    = "10.96.149.4"
      + name                          = "ccd-data-2"
      + virtual_network_id            = "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/core-infra-aat/providers/Microsoft.Network/virtualNetworks/core-infra-vnet-aat"
    }

  # module.load_balancers["legacy"].azurerm_lb_backend_address_pool_address.this["ccd-data-3"] will be created
  + resource "azurerm_lb_backend_address_pool_address" "this" {
      + backend_address_pool_id       = (known after apply)
      + id                            = (known after apply)
      + inbound_nat_rule_port_mapping = (known after apply)
      + ip_address                    = "10.96.149.10"
      + name                          = "ccd-data-3"
      + virtual_network_id            = "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/core-infra-aat/providers/Microsoft.Network/virtualNetworks/core-infra-vnet-aat"
    }

  # module.load_balancers["legacy"].azurerm_lb_probe.this["http"] will be created
  + resource "azurerm_lb_probe" "this" {
      + id                  = (known after apply)
      + interval_in_seconds = 5
      + load_balancer_rules = (known after apply)
      + loadbalancer_id     = (known after apply)
      + name                = "es-probe-http-internal"
      + number_of_probes    = 2
      + port                = 9200
      + probe_threshold     = 1
      + protocol            = "Tcp"
    }

  # module.load_balancers["legacy"].azurerm_lb_probe.this["transport"] will be created
  + resource "azurerm_lb_probe" "this" {
      + id                  = (known after apply)
      + interval_in_seconds = 5
      + load_balancer_rules = (known after apply)
      + loadbalancer_id     = (known after apply)
      + name                = "es-probe-transport-internal"
      + number_of_probes    = 2
      + port                = 9300
      + probe_threshold     = 1
      + protocol            = "Tcp"
    }

  # module.load_balancers["legacy"].azurerm_lb_rule.this["http"] will be created
  + resource "azurerm_lb_rule" "this" {
      + backend_address_pool_ids       = (known after apply)
      + backend_port                   = 9200
      + disable_outbound_snat          = true
      + enable_floating_ip             = (known after apply)
      + enable_tcp_reset               = (known after apply)
      + floating_ip_enabled            = (known after apply)
      + frontend_ip_configuration_id   = (known after apply)
      + frontend_ip_configuration_name = "LBFE"
      + frontend_port                  = 9200
      + id                             = (known after apply)
      + idle_timeout_in_minutes        = 4
      + load_distribution              = "Default"
      + loadbalancer_id                = (known after apply)
      + name                           = "es-http-internal"
      + probe_id                       = (known after apply)
      + protocol                       = "Tcp"
      + tcp_reset_enabled              = (known after apply)
    }

  # module.load_balancers["legacy"].azurerm_lb_rule.this["transport"] will be created
  + resource "azurerm_lb_rule" "this" {
      + backend_address_pool_ids       = (known after apply)
      + backend_port                   = 9300
      + disable_outbound_snat          = true
      + enable_floating_ip             = (known after apply)
      + enable_tcp_reset               = (known after apply)
      + floating_ip_enabled            = (known after apply)
      + frontend_ip_configuration_id   = (known after apply)
      + frontend_ip_configuration_name = "LBFE"
      + frontend_port                  = 9300
      + id                             = (known after apply)
      + idle_timeout_in_minutes        = 4
      + load_distribution              = "Default"
      + loadbalancer_id                = (known after apply)
      + name                           = "es-transport-internal"
      + probe_id                       = (known after apply)
      + protocol                       = "Tcp"
      + tcp_reset_enabled              = (known after apply)
    }

  # module.main_lb.azurerm_lb.this will be destroyed
  # (because azurerm_lb.this is not in configuration)
  - resource "azurerm_lb" "this" {
      - id                   = "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/ccd-elastic-search-aat/providers/Microsoft.Network/loadBalancers/ccd-internal-aat-lb" -> null
      - location             = "uksouth" -> null
      - name                 = "ccd-internal-aat-lb" -> null
      - private_ip_address   = "10.96.149.253" -> null
      - private_ip_addresses = [
          - "10.96.149.253",
        ] -> null
      - resource_group_name  = "ccd-elastic-search-aat" -> null
      - sku                  = "Standard" -> null
      - sku_tier             = "Regional" -> null
      - tags                 = {
          - "application"  = "core-case-data"
          - "autoShutdown" = "true"
          - "builtFrom"    = "https://github.com/HMCTS/ccd-elastic-search.git"
          - "businessArea" = "CFT"
          - "criticality"  = "High"
          - "environment"  = "staging"
          - "startupMode"  = "always"
        } -> null
        # (1 unchanged attribute hidden)

      - frontend_ip_configuration {
          - id                                                 = "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/ccd-elastic-search-aat/providers/Microsoft.Network/loadBalancers/ccd-internal-aat-lb/frontendIPConfigurations/LBFE" -> null
          - inbound_nat_rules                                  = [] -> null
          - load_balancer_rules                                = [
              - "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/ccd-elastic-search-aat/providers/Microsoft.Network/loadBalancers/ccd-internal-aat-lb/loadBalancingRules/es-http-internal",
              - "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/ccd-elastic-search-aat/providers/Microsoft.Network/loadBalancers/ccd-internal-aat-lb/loadBalancingRules/es-transport-internal",
            ] -> null
          - name                                               = "LBFE" -> null
          - outbound_rules                                     = [] -> null
          - private_ip_address                                 = "10.96.149.253" -> null
          - private_ip_address_allocation                      = "Static" -> null
          - private_ip_address_version                         = "IPv4" -> null
          - subnet_id                                          = "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/core-infra-aat/providers/Microsoft.Network/virtualNetworks/core-infra-vnet-aat/subnets/elasticsearch" -> null
          - zones                                              = [
              - "1",
              - "2",
              - "3",
            ] -> null
            # (3 unchanged attributes hidden)
        }
    }

  # module.main_lb.azurerm_lb_backend_address_pool.this will be destroyed
  # (because azurerm_lb_backend_address_pool.this is not in configuration)
  - resource "azurerm_lb_backend_address_pool" "this" {
      - backend_ip_configurations = [] -> null
      - id                        = "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/ccd-elastic-search-aat/providers/Microsoft.Network/loadBalancers/ccd-internal-aat-lb/backendAddressPools/LBBE" -> null
      - inbound_nat_rules         = [] -> null
      - load_balancing_rules      = [
          - "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/ccd-elastic-search-aat/providers/Microsoft.Network/loadBalancers/ccd-internal-aat-lb/loadBalancingRules/es-transport-internal",
          - "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/ccd-elastic-search-aat/providers/Microsoft.Network/loadBalancers/ccd-internal-aat-lb/loadBalancingRules/es-http-internal",
        ] -> null
      - loadbalancer_id           = "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/ccd-elastic-search-aat/providers/Microsoft.Network/loadBalancers/ccd-internal-aat-lb" -> null
      - name                      = "LBBE" -> null
      - outbound_rules            = [] -> null
        # (2 unchanged attributes hidden)
    }

  # module.main_lb.azurerm_lb_backend_address_pool_address.this["ccd-data-0"] will be destroyed
  # (because azurerm_lb_backend_address_pool_address.this is not in configuration)
  - resource "azurerm_lb_backend_address_pool_address" "this" {
      - backend_address_pool_id             = "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/ccd-elastic-search-aat/providers/Microsoft.Network/loadBalancers/ccd-internal-aat-lb/backendAddressPools/LBBE" -> null
      - id                                  = "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/ccd-elastic-search-aat/providers/Microsoft.Network/loadBalancers/ccd-internal-aat-lb/backendAddressPools/LBBE/addresses/ccd-data-0" -> null
      - inbound_nat_rule_port_mapping       = [] -> null
      - ip_address                          = "10.96.149.7" -> null
      - name                                = "ccd-data-0" -> null
      - virtual_network_id                  = "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/core-infra-aat/providers/Microsoft.Network/virtualNetworks/core-infra-vnet-aat" -> null
        # (1 unchanged attribute hidden)
    }

  # module.main_lb.azurerm_lb_backend_address_pool_address.this["ccd-data-1"] will be destroyed
  # (because azurerm_lb_backend_address_pool_address.this is not in configuration)
  - resource "azurerm_lb_backend_address_pool_address" "this" {
      - backend_address_pool_id             = "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/ccd-elastic-search-aat/providers/Microsoft.Network/loadBalancers/ccd-internal-aat-lb/backendAddressPools/LBBE" -> null
      - id                                  = "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/ccd-elastic-search-aat/providers/Microsoft.Network/loadBalancers/ccd-internal-aat-lb/backendAddressPools/LBBE/addresses/ccd-data-1" -> null
      - inbound_nat_rule_port_mapping       = [] -> null
      - ip_address                          = "10.96.149.5" -> null
      - name                                = "ccd-data-1" -> null
      - virtual_network_id                  = "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/core-infra-aat/providers/Microsoft.Network/virtualNetworks/core-infra-vnet-aat" -> null
        # (1 unchanged attribute hidden)
    }

  # module.main_lb.azurerm_lb_backend_address_pool_address.this["ccd-data-2"] will be destroyed
  # (because azurerm_lb_backend_address_pool_address.this is not in configuration)
  - resource "azurerm_lb_backend_address_pool_address" "this" {
      - backend_address_pool_id             = "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/ccd-elastic-search-aat/providers/Microsoft.Network/loadBalancers/ccd-internal-aat-lb/backendAddressPools/LBBE" -> null
      - id                                  = "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/ccd-elastic-search-aat/providers/Microsoft.Network/loadBalancers/ccd-internal-aat-lb/backendAddressPools/LBBE/addresses/ccd-data-2" -> null
      - inbound_nat_rule_port_mapping       = [] -> null
      - ip_address                          = "10.96.149.4" -> null
      - name                                = "ccd-data-2" -> null
      - virtual_network_id                  = "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/core-infra-aat/providers/Microsoft.Network/virtualNetworks/core-infra-vnet-aat" -> null
        # (1 unchanged attribute hidden)
    }

  # module.main_lb.azurerm_lb_backend_address_pool_address.this["ccd-data-3"] will be destroyed
  # (because azurerm_lb_backend_address_pool_address.this is not in configuration)
  - resource "azurerm_lb_backend_address_pool_address" "this" {
      - backend_address_pool_id             = "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/ccd-elastic-search-aat/providers/Microsoft.Network/loadBalancers/ccd-internal-aat-lb/backendAddressPools/LBBE" -> null
      - id                                  = "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/ccd-elastic-search-aat/providers/Microsoft.Network/loadBalancers/ccd-internal-aat-lb/backendAddressPools/LBBE/addresses/ccd-data-3" -> null
      - inbound_nat_rule_port_mapping       = [] -> null
      - ip_address                          = "10.96.149.10" -> null
      - name                                = "ccd-data-3" -> null
      - virtual_network_id                  = "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/core-infra-aat/providers/Microsoft.Network/virtualNetworks/core-infra-vnet-aat" -> null
        # (1 unchanged attribute hidden)
    }

  # module.main_lb.azurerm_lb_probe.this["http"] will be destroyed
  # (because azurerm_lb_probe.this is not in configuration)
  - resource "azurerm_lb_probe" "this" {
      - id                  = "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/ccd-elastic-search-aat/providers/Microsoft.Network/loadBalancers/ccd-internal-aat-lb/probes/es-probe-http-internal" -> null
      - interval_in_seconds = 5 -> null
      - load_balancer_rules = [
          - "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/ccd-elastic-search-aat/providers/Microsoft.Network/loadBalancers/ccd-internal-aat-lb/loadBalancingRules/es-http-internal",
        ] -> null
      - loadbalancer_id     = "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/ccd-elastic-search-aat/providers/Microsoft.Network/loadBalancers/ccd-internal-aat-lb" -> null
      - name                = "es-probe-http-internal" -> null
      - number_of_probes    = 2 -> null
      - port                = 9200 -> null
      - probe_threshold     = 1 -> null
      - protocol            = "Tcp" -> null
        # (1 unchanged attribute hidden)
    }

  # module.main_lb.azurerm_lb_probe.this["transport"] will be destroyed
  # (because azurerm_lb_probe.this is not in configuration)
  - resource "azurerm_lb_probe" "this" {
      - id                  = "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/ccd-elastic-search-aat/providers/Microsoft.Network/loadBalancers/ccd-internal-aat-lb/probes/es-probe-transport-internal" -> null
      - interval_in_seconds = 5 -> null
      - load_balancer_rules = [
          - "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/ccd-elastic-search-aat/providers/Microsoft.Network/loadBalancers/ccd-internal-aat-lb/loadBalancingRules/es-transport-internal",
        ] -> null
      - loadbalancer_id     = "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/ccd-elastic-search-aat/providers/Microsoft.Network/loadBalancers/ccd-internal-aat-lb" -> null
      - name                = "es-probe-transport-internal" -> null
      - number_of_probes    = 2 -> null
      - port                = 9300 -> null
      - probe_threshold     = 1 -> null
      - protocol            = "Tcp" -> null
        # (1 unchanged attribute hidden)
    }

  # module.main_lb.azurerm_lb_rule.this["http"] will be destroyed
  # (because azurerm_lb_rule.this is not in configuration)
  - resource "azurerm_lb_rule" "this" {
      - backend_address_pool_ids       = [
          - "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/ccd-elastic-search-aat/providers/Microsoft.Network/loadBalancers/ccd-internal-aat-lb/backendAddressPools/LBBE",
        ] -> null
      - backend_port                   = 9200 -> null
      - disable_outbound_snat          = true -> null
      - enable_floating_ip             = false -> null
      - enable_tcp_reset               = false -> null
      - floating_ip_enabled            = false -> null
      - frontend_ip_configuration_id   = "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/ccd-elastic-search-aat/providers/Microsoft.Network/loadBalancers/ccd-internal-aat-lb/frontendIPConfigurations/LBFE" -> null
      - frontend_ip_configuration_name = "LBFE" -> null
      - frontend_port                  = 9200 -> null
      - id                             = "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/ccd-elastic-search-aat/providers/Microsoft.Network/loadBalancers/ccd-internal-aat-lb/loadBalancingRules/es-http-internal" -> null
      - idle_timeout_in_minutes        = 4 -> null
      - load_distribution              = "Default" -> null
      - loadbalancer_id                = "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/ccd-elastic-search-aat/providers/Microsoft.Network/loadBalancers/ccd-internal-aat-lb" -> null
      - name                           = "es-http-internal" -> null
      - probe_id                       = "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/ccd-elastic-search-aat/providers/Microsoft.Network/loadBalancers/ccd-internal-aat-lb/probes/es-probe-http-internal" -> null
      - protocol                       = "Tcp" -> null
      - tcp_reset_enabled              = false -> null
    }

  # module.main_lb.azurerm_lb_rule.this["transport"] will be destroyed
  # (because azurerm_lb_rule.this is not in configuration)
  - resource "azurerm_lb_rule" "this" {
      - backend_address_pool_ids       = [
          - "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/ccd-elastic-search-aat/providers/Microsoft.Network/loadBalancers/ccd-internal-aat-lb/backendAddressPools/LBBE",
        ] -> null
      - backend_port                   = 9300 -> null
      - disable_outbound_snat          = true -> null
      - enable_floating_ip             = false -> null
      - enable_tcp_reset               = false -> null
      - floating_ip_enabled            = false -> null
      - frontend_ip_configuration_id   = "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/ccd-elastic-search-aat/providers/Microsoft.Network/loadBalancers/ccd-internal-aat-lb/frontendIPConfigurations/LBFE" -> null
      - frontend_ip_configuration_name = "LBFE" -> null
      - frontend_port                  = 9300 -> null
      - id                             = "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/ccd-elastic-search-aat/providers/Microsoft.Network/loadBalancers/ccd-internal-aat-lb/loadBalancingRules/es-transport-internal" -> null
      - idle_timeout_in_minutes        = 4 -> null
      - load_distribution              = "Default" -> null
      - loadbalancer_id                = "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/ccd-elastic-search-aat/providers/Microsoft.Network/loadBalancers/ccd-internal-aat-lb" -> null
      - name                           = "es-transport-internal" -> null
      - probe_id                       = "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/ccd-elastic-search-aat/providers/Microsoft.Network/loadBalancers/ccd-internal-aat-lb/probes/es-probe-transport-internal" -> null
      - protocol                       = "Tcp" -> null
      - tcp_reset_enabled              = false -> null
    }

  # module.elastic2["ccd-data-0"].module.virtual-machines.azurerm_virtual_machine_extension.entra[0] will be updated in-place
  ~ resource "azurerm_virtual_machine_extension" "entra" {
        id                          = "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/ccd-elastic-search-aat/providers/Microsoft.Compute/virtualMachines/ccd-data-0/extensions/AADSSHLoginForLinux"
        name                        = "AADSSHLoginForLinux"
      ~ tags                        = {
          - "application"  = "core-case-data" -> null
          - "builtFrom"    = "https://github.com/HMCTS/ccd-elastic-search.git" -> null
          - "businessArea" = "CFT" -> null
          - "environment"  = "staging" -> null
        }
        # (8 unchanged attributes hidden)
    }

  # module.elastic2["ccd-data-1"].module.virtual-machines.azurerm_virtual_machine_extension.entra[0] will be updated in-place
  ~ resource "azurerm_virtual_machine_extension" "entra" {
        id                          = "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/ccd-elastic-search-aat/providers/Microsoft.Compute/virtualMachines/ccd-data-1/extensions/AADSSHLoginForLinux"
        name                        = "AADSSHLoginForLinux"
      ~ tags                        = {
          - "application"  = "core-case-data" -> null
          - "builtFrom"    = "https://github.com/HMCTS/ccd-elastic-search.git" -> null
          - "businessArea" = "CFT" -> null
          - "environment"  = "staging" -> null
        }
        # (8 unchanged attributes hidden)
    }

  # module.elastic2["ccd-data-2"].module.virtual-machines.azurerm_virtual_machine_extension.entra[0] will be updated in-place
  ~ resource "azurerm_virtual_machine_extension" "entra" {
        id                          = "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/ccd-elastic-search-aat/providers/Microsoft.Compute/virtualMachines/ccd-data-2/extensions/AADSSHLoginForLinux"
        name                        = "AADSSHLoginForLinux"
      ~ tags                        = {
          - "application"  = "core-case-data" -> null
          - "builtFrom"    = "https://github.com/HMCTS/ccd-elastic-search.git" -> null
          - "businessArea" = "CFT" -> null
          - "environment"  = "staging" -> null
        }
        # (8 unchanged attributes hidden)
    }

  # module.elastic2["ccd-data-3"].module.virtual-machines.azurerm_virtual_machine_extension.entra[0] will be updated in-place
  ~ resource "azurerm_virtual_machine_extension" "entra" {
        id                          = "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/ccd-elastic-search-aat/providers/Microsoft.Compute/virtualMachines/ccd-data-3/extensions/AADSSHLoginForLinux"
        name                        = "AADSSHLoginForLinux"
      ~ tags                        = {
          - "application"  = "core-case-data" -> null
          - "builtFrom"    = "https://github.com/HMCTS/ccd-elastic-search.git" -> null
          - "businessArea" = "CFT" -> null
          - "environment"  = "staging" -> null
        }
        # (8 unchanged attributes hidden)
    }

Plan: 10 to add, 11 to change, 10 to destroy.

@hmcts-jenkins-a-to-c
Copy link
Copy Markdown
Contributor

Plan Result (perftest)

⚠️ Resource Deletion will happen

This plan contains resource delete operation. Please check the plan result very carefully!

Plan: 78 to add, 8 to change, 2 to destroy.
  • Create
    • azurerm_monitor_data_collection_rule_association.linux_vm_dcra_cluster["ccd-data-0"]
    • azurerm_monitor_data_collection_rule_association.linux_vm_dcra_cluster["ccd-data-1"]
    • azurerm_monitor_data_collection_rule_association.linux_vm_dcra_cluster["ccd-data-2"]
    • azurerm_monitor_data_collection_rule_association.linux_vm_dcra_cluster["ccd-data-3"]
    • azurerm_network_interface_application_security_group_association.this_cluster["ccd-data-0"]
    • azurerm_network_interface_application_security_group_association.this_cluster["ccd-data-1"]
    • azurerm_network_interface_application_security_group_association.this_cluster["ccd-data-2"]
    • azurerm_network_interface_application_security_group_association.this_cluster["ccd-data-3"]
    • azurerm_network_interface_security_group_association.association_cluster["ccd-data-0"]
    • azurerm_network_interface_security_group_association.association_cluster["ccd-data-1"]
    • azurerm_network_interface_security_group_association.association_cluster["ccd-data-2"]
    • azurerm_network_interface_security_group_association.association_cluster["ccd-data-3"]
    • module.load_balancers["default"].azurerm_lb.this
    • module.load_balancers["default"].azurerm_lb_backend_address_pool.this
    • module.load_balancers["default"].azurerm_lb_backend_address_pool_address.this["ccd-data-0"]
    • module.load_balancers["default"].azurerm_lb_backend_address_pool_address.this["ccd-data-1"]
    • module.load_balancers["default"].azurerm_lb_backend_address_pool_address.this["ccd-data-2"]
    • module.load_balancers["default"].azurerm_lb_backend_address_pool_address.this["ccd-data-3"]
    • module.load_balancers["default"].azurerm_lb_probe.this["http"]
    • module.load_balancers["default"].azurerm_lb_probe.this["transport"]
    • module.load_balancers["default"].azurerm_lb_rule.this["http"]
    • module.load_balancers["default"].azurerm_lb_rule.this["transport"]
    • module.elastic2_cluster["ccd-data-0"].module.virtual-machines.azurerm_availability_set.set[0]
    • module.elastic2_cluster["ccd-data-0"].module.virtual-machines.azurerm_linux_virtual_machine.linvm[0]
    • module.elastic2_cluster["ccd-data-0"].module.virtual-machines.azurerm_managed_disk.managed_disks["disk1"]
    • module.elastic2_cluster["ccd-data-0"].module.virtual-machines.azurerm_managed_disk.managed_disks["disk2"]
    • module.elastic2_cluster["ccd-data-0"].module.virtual-machines.azurerm_network_interface.vm_nic
    • module.elastic2_cluster["ccd-data-0"].module.virtual-machines.azurerm_role_assignment.admin-user["standard"]
    • module.elastic2_cluster["ccd-data-0"].module.virtual-machines.azurerm_role_assignment.admin-user["sudo"]
    • module.elastic2_cluster["ccd-data-0"].module.virtual-machines.azurerm_virtual_machine_data_disk_attachment.data_disk_attachments["disk1"]
    • module.elastic2_cluster["ccd-data-0"].module.virtual-machines.azurerm_virtual_machine_data_disk_attachment.data_disk_attachments["disk2"]
    • module.elastic2_cluster["ccd-data-0"].module.virtual-machines.azurerm_virtual_machine_extension.entra[0]
    • module.elastic2_cluster["ccd-data-1"].module.virtual-machines.azurerm_availability_set.set[0]
    • module.elastic2_cluster["ccd-data-1"].module.virtual-machines.azurerm_linux_virtual_machine.linvm[0]
    • module.elastic2_cluster["ccd-data-1"].module.virtual-machines.azurerm_managed_disk.managed_disks["disk1"]
    • module.elastic2_cluster["ccd-data-1"].module.virtual-machines.azurerm_managed_disk.managed_disks["disk2"]
    • module.elastic2_cluster["ccd-data-1"].module.virtual-machines.azurerm_network_interface.vm_nic
    • module.elastic2_cluster["ccd-data-1"].module.virtual-machines.azurerm_role_assignment.admin-user["standard"]
    • module.elastic2_cluster["ccd-data-1"].module.virtual-machines.azurerm_role_assignment.admin-user["sudo"]
    • module.elastic2_cluster["ccd-data-1"].module.virtual-machines.azurerm_virtual_machine_data_disk_attachment.data_disk_attachments["disk1"]
    • module.elastic2_cluster["ccd-data-1"].module.virtual-machines.azurerm_virtual_machine_data_disk_attachment.data_disk_attachments["disk2"]
    • module.elastic2_cluster["ccd-data-1"].module.virtual-machines.azurerm_virtual_machine_extension.entra[0]
    • module.elastic2_cluster["ccd-data-2"].module.virtual-machines.azurerm_availability_set.set[0]
    • module.elastic2_cluster["ccd-data-2"].module.virtual-machines.azurerm_linux_virtual_machine.linvm[0]
    • module.elastic2_cluster["ccd-data-2"].module.virtual-machines.azurerm_managed_disk.managed_disks["disk1"]
    • module.elastic2_cluster["ccd-data-2"].module.virtual-machines.azurerm_managed_disk.managed_disks["disk2"]
    • module.elastic2_cluster["ccd-data-2"].module.virtual-machines.azurerm_network_interface.vm_nic
    • module.elastic2_cluster["ccd-data-2"].module.virtual-machines.azurerm_role_assignment.admin-user["standard"]
    • module.elastic2_cluster["ccd-data-2"].module.virtual-machines.azurerm_role_assignment.admin-user["sudo"]
    • module.elastic2_cluster["ccd-data-2"].module.virtual-machines.azurerm_virtual_machine_data_disk_attachment.data_disk_attachments["disk1"]
    • module.elastic2_cluster["ccd-data-2"].module.virtual-machines.azurerm_virtual_machine_data_disk_attachment.data_disk_attachments["disk2"]
    • module.elastic2_cluster["ccd-data-2"].module.virtual-machines.azurerm_virtual_machine_extension.entra[0]
    • module.elastic2_cluster["ccd-data-3"].module.virtual-machines.azurerm_availability_set.set[0]
    • module.elastic2_cluster["ccd-data-3"].module.virtual-machines.azurerm_linux_virtual_machine.linvm[0]
    • module.elastic2_cluster["ccd-data-3"].module.virtual-machines.azurerm_managed_disk.managed_disks["disk1"]
    • module.elastic2_cluster["ccd-data-3"].module.virtual-machines.azurerm_managed_disk.managed_disks["disk2"]
    • module.elastic2_cluster["ccd-data-3"].module.virtual-machines.azurerm_network_interface.vm_nic
    • module.elastic2_cluster["ccd-data-3"].module.virtual-machines.azurerm_role_assignment.admin-user["standard"]
    • module.elastic2_cluster["ccd-data-3"].module.virtual-machines.azurerm_role_assignment.admin-user["sudo"]
    • module.elastic2_cluster["ccd-data-3"].module.virtual-machines.azurerm_virtual_machine_data_disk_attachment.data_disk_attachments["disk1"]
    • module.elastic2_cluster["ccd-data-3"].module.virtual-machines.azurerm_virtual_machine_data_disk_attachment.data_disk_attachments["disk2"]
    • module.elastic2_cluster["ccd-data-3"].module.virtual-machines.azurerm_virtual_machine_extension.entra[0]
    • module.elastic2_cluster["ccd-data-0"].module.virtual-machines.module.vm-bootstrap[0].azurerm_monitor_data_collection_rule_association.linux_vm_dcra[0]
    • module.elastic2_cluster["ccd-data-0"].module.virtual-machines.module.vm-bootstrap[0].azurerm_virtual_machine_extension.azure_monitor[0]
    • module.elastic2_cluster["ccd-data-0"].module.virtual-machines.module.vm-bootstrap[0].azurerm_virtual_machine_extension.custom_script[0]
    • module.elastic2_cluster["ccd-data-0"].module.virtual-machines.module.vm-bootstrap[0].azurerm_virtual_machine_extension.dynatrace_oneagent[0]
    • module.elastic2_cluster["ccd-data-1"].module.virtual-machines.module.vm-bootstrap[0].azurerm_monitor_data_collection_rule_association.linux_vm_dcra[0]
    • module.elastic2_cluster["ccd-data-1"].module.virtual-machines.module.vm-bootstrap[0].azurerm_virtual_machine_extension.azure_monitor[0]
    • module.elastic2_cluster["ccd-data-1"].module.virtual-machines.module.vm-bootstrap[0].azurerm_virtual_machine_extension.custom_script[0]
    • module.elastic2_cluster["ccd-data-1"].module.virtual-machines.module.vm-bootstrap[0].azurerm_virtual_machine_extension.dynatrace_oneagent[0]
    • module.elastic2_cluster["ccd-data-2"].module.virtual-machines.module.vm-bootstrap[0].azurerm_monitor_data_collection_rule_association.linux_vm_dcra[0]
    • module.elastic2_cluster["ccd-data-2"].module.virtual-machines.module.vm-bootstrap[0].azurerm_virtual_machine_extension.azure_monitor[0]
    • module.elastic2_cluster["ccd-data-2"].module.virtual-machines.module.vm-bootstrap[0].azurerm_virtual_machine_extension.custom_script[0]
    • module.elastic2_cluster["ccd-data-2"].module.virtual-machines.module.vm-bootstrap[0].azurerm_virtual_machine_extension.dynatrace_oneagent[0]
    • module.elastic2_cluster["ccd-data-3"].module.virtual-machines.module.vm-bootstrap[0].azurerm_monitor_data_collection_rule_association.linux_vm_dcra[0]
    • module.elastic2_cluster["ccd-data-3"].module.virtual-machines.module.vm-bootstrap[0].azurerm_virtual_machine_extension.azure_monitor[0]
    • module.elastic2_cluster["ccd-data-3"].module.virtual-machines.module.vm-bootstrap[0].azurerm_virtual_machine_extension.custom_script[0]
    • module.elastic2_cluster["ccd-data-3"].module.virtual-machines.module.vm-bootstrap[0].azurerm_virtual_machine_extension.dynatrace_oneagent[0]
  • Update
    • azurerm_network_security_rule.nsg_rules["AKS_To_ES"]
    • azurerm_network_security_rule.nsg_rules["App_To_ES"]
    • azurerm_network_security_rule.nsg_rules["Bastion_To_ES"]
    • azurerm_network_security_rule.nsg_rules["ElasticClusterTransport"]
    • azurerm_network_security_rule.nsg_rules["Jenkins_To_ES"]
    • azurerm_network_security_rule.nsg_rules["LB_To_ES"]
    • azurerm_network_security_rule.nsg_rules["Mgmt_Perf_Test_To_ES"]
    • azurerm_network_security_rule.nsg_rules["SSH"]
  • Delete
    • module.main_lb.azurerm_lb.this
    • module.main_lb.azurerm_lb_backend_address_pool.this
Change Result (Click me)

⚠️ The content is omitted as it is too long. ⚠️

  # azurerm_monitor_data_collection_rule_association.linux_vm_dcra_cluster["ccd-data-0"] will be created
  + resource "azurerm_monitor_data_collection_rule_association" "linux_vm_dcra_cluster" {
      + data_collection_rule_id = "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/oms-automation/providers/Microsoft.Insights/dataCollectionRules/ama-linux-vm-logs"
      + description             = "Association between the ELK linux VMs and the appropriate data collection rule."
      + id                      = (known after apply)
      + name                    = "vm-ccd-data-0-perftest-dcra"
      + target_resource_id      = (known after apply)
    }

  # azurerm_monitor_data_collection_rule_association.linux_vm_dcra_cluster["ccd-data-1"] will be created
  + resource "azurerm_monitor_data_collection_rule_association" "linux_vm_dcra_cluster" {
      + data_collection_rule_id = "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/oms-automation/providers/Microsoft.Insights/dataCollectionRules/ama-linux-vm-logs"
      + description             = "Association between the ELK linux VMs and the appropriate data collection rule."
      + id                      = (known after apply)
      + name                    = "vm-ccd-data-1-perftest-dcra"
      + target_resource_id      = (known after apply)
    }

  # azurerm_monitor_data_collection_rule_association.linux_vm_dcra_cluster["ccd-data-2"] will be created
  + resource "azurerm_monitor_data_collection_rule_association" "linux_vm_dcra_cluster" {
      + data_collection_rule_id = "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/oms-automation/providers/Microsoft.Insights/dataCollectionRules/ama-linux-vm-logs"
      + description             = "Association between the ELK linux VMs and the appropriate data collection rule."
      + id                      = (known after apply)
      + name                    = "vm-ccd-data-2-perftest-dcra"
      + target_resource_id      = (known after apply)
    }

  # azurerm_monitor_data_collection_rule_association.linux_vm_dcra_cluster["ccd-data-3"] will be created
  + resource "azurerm_monitor_data_collection_rule_association" "linux_vm_dcra_cluster" {
      + data_collection_rule_id = "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/oms-automation/providers/Microsoft.Insights/dataCollectionRules/ama-linux-vm-logs"
      + description             = "Association between the ELK linux VMs and the appropriate data collection rule."
      + id                      = (known after apply)
      + name                    = "vm-ccd-data-3-perftest-dcra"
      + target_resource_id      = (known after apply)
    }

  # azurerm_network_interface_application_security_group_association.this_cluster["ccd-data-0"] will be created
  + resource "azurerm_network_interface_application_security_group_association" "this_cluster" {
      + application_security_group_id = "/subscriptions/7a4e3bd5-ae3a-4d0c-b441-2188fee3ff1c/resourceGroups/ccd-elastic-search-perftest/providers/Microsoft.Network/applicationSecurityGroups/ccd-data-asg"
      + id                            = (known after apply)
      + network_interface_id          = (known after apply)
    }

  # azurerm_network_interface_application_security_group_association.this_cluster["ccd-data-1"] will be created
  + resource "azurerm_network_interface_application_security_group_association" "this_cluster" {
      + application_security_group_id = "/subscriptions/7a4e3bd5-ae3a-4d0c-b441-2188fee3ff1c/resourceGroups/ccd-elastic-search-perftest/providers/Microsoft.Network/applicationSecurityGroups/ccd-data-asg"
      + id                            = (known after apply)
      + network_interface_id          = (known after apply)
    }

  # azurerm_network_interface_application_security_group_association.this_cluster["ccd-data-2"] will be created
  + resource "azurerm_network_interface_application_security_group_association" "this_cluster" {
      + application_security_group_id = "/subscriptions/7a4e3bd5-ae3a-4d0c-b441-2188fee3ff1c/resourceGroups/ccd-elastic-search-perftest/providers/Microsoft.Network/applicationSecurityGroups/ccd-data-asg"
      + id                            = (known after apply)
      + network_interface_id          = (known after apply)
    }

  # azurerm_network_interface_application_security_group_association.this_cluster["ccd-data-3"] will be created
  + resource "azurerm_network_interface_application_security_group_association" "this_cluster" {
      + application_security_group_id = "/subscriptions/7a4e3bd5-ae3a-4d0c-b441-2188fee3ff1c/resourceGroups/ccd-elastic-search-perftest/providers/Microsoft.Network/applicationSecurityGroups/ccd-data-asg"
      + id                            = (known after apply)
      + network_interface_id          = (known after apply)
    }

  # azurerm_network_interface_security_group_association.association_cluster["ccd-data-0"] will be created
  + resource "azurerm_network_interface_security_group_association" "association_cluster" {
      + id                        = (known after apply)
      + network_interface_id      = (known after apply)
      + network_security_group_id = "/subscriptions/7a4e3bd5-ae3a-4d0c-b441-2188fee3ff1c/resourceGroups/ccd-elastic-search-perftest/providers/Microsoft.Network/networkSecurityGroups/ccd-cluster-nsg"
    }

  # azurerm_network_interface_security_group_association.association_cluster["ccd-data-1"] will be created
  + resource "azurerm_network_interface_security_group_association" "association_cluster" {
      + id                        = (known after apply)
      + network_interface_id      = (known after apply)
      + network_security_group_id = "/subscriptions/7a4e3bd5-ae3a-4d0c-b441-2188fee3ff1c/resourceGroups/ccd-elastic-search-perftest/providers/Microsoft.Network/networkSecurityGroups/ccd-cluster-nsg"
    }

  # azurerm_network_interface_security_group_association.association_cluster["ccd-data-2"] will be created
  + resource "azurerm_network_interface_security_group_association" "association_cluster" {
      + id                        = (known after apply)
      + network_interface_id      = (known after apply)
      + network_security_group_id = "/subscriptions/7a4e3bd5-ae3a-4d0c-b441-2188fee3ff1c/resourceGroups/ccd-elastic-search-perftest/providers/Microsoft.Network/networkSecurityGroups/ccd-cluster-nsg"
    }

  # azurerm_network_interface_security_group_association.association_cluster["ccd-data-3"] will be created
  + resource "azurerm_network_interface_security_group_association" "association_cluster" {
      + id                        = (known after apply)
      + network_interface_id      = (known after apply)
      + network_security_group_id = "/subscriptions/7a4e3bd5-ae3a-4d0c-b441-2188fee3ff1c/resourceGroups/ccd-elastic-search-perftest/providers/Microsoft.Network/networkSecurityGroups/ccd-cluster-nsg"
    }

  # azurerm_network_security_rule.nsg_rules["AKS_To_ES"] will be updated in-place
  ~ resource "azurerm_network_security_rule" "nsg_rules" {
      ~ destination_application_security_group_ids = [
          - "/subscriptions/7a4e3bd5-ae3a-4d0c-b441-2188fee3ff1c/resourceGroups/CCD-ELASTIC-SEARCH-PERFTEST/providers/Microsoft.Network/applicationSecurityGroups/CCD-DATA-ASG",
          + "/subscriptions/7a4e3bd5-ae3a-4d0c-b441-2188fee3ff1c/resourceGroups/ccd-elastic-search-perftest/providers/Microsoft.Network/applicationSecurityGroups/ccd-data-asg",
        ]
        id                                         = "/subscriptions/7a4e3bd5-ae3a-4d0c-b441-2188fee3ff1c/resourceGroups/ccd-elastic-search-perftest/providers/Microsoft.Network/networkSecurityGroups/ccd-cluster-nsg/securityRules/AKS_To_ES"
        name                                       = "AKS_To_ES"
        # (16 unchanged attributes hidden)
    }

  # azurerm_network_security_rule.nsg_rules["App_To_ES"] will be updated in-place
  ~ resource "azurerm_network_security_rule" "nsg_rules" {
      ~ destination_application_security_group_ids = [
          - "/subscriptions/7a4e3bd5-ae3a-4d0c-b441-2188fee3ff1c/resourceGroups/CCD-ELASTIC-SEARCH-PERFTEST/providers/Microsoft.Network/applicationSecurityGroups/CCD-DATA-ASG",
          + "/subscriptions/7a4e3bd5-ae3a-4d0c-b441-2188fee3ff1c/resourceGroups/ccd-elastic-search-perftest/providers/Microsoft.Network/applicationSecurityGroups/ccd-data-asg",
        ]
        id                                         = "/subscriptions/7a4e3bd5-ae3a-4d0c-b441-2188fee3ff1c/resourceGroups/ccd-elastic-search-perftest/providers/Microsoft.Network/networkSecurityGroups/ccd-cluster-nsg/securityRules/App_To_ES"
        name                                       = "App_To_ES"
        # (16 unchanged attributes hidden)
    }

  # azurerm_network_security_rule.nsg_rules["Bastion_To_ES"] will be updated in-place
  ~ resource "azurerm_network_security_rule" "nsg_rules" {
      ~ destination_application_security_group_ids = [
          - "/subscriptions/7a4e3bd5-ae3a-4d0c-b441-2188fee3ff1c/resourceGroups/CCD-ELASTIC-SEARCH-PERFTEST/providers/Microsoft.Network/applicationSecurityGroups/CCD-DATA-ASG",
          + "/subscriptions/7a4e3bd5-ae3a-4d0c-b441-2188fee3ff1c/resourceGroups/ccd-elastic-search-perftest/providers/Microsoft.Network/applicationSecurityGroups/ccd-data-asg",
        ]
        id                                         = "/subscriptions/7a4e3bd5-ae3a-4d0c-b441-2188fee3ff1c/resourceGroups/ccd-elastic-search-perftest/providers/Microsoft.Network/networkSecurityGroups/ccd-cluster-nsg/securityRules/Bastion_To_ES"
        name                                       = "Bastion_To_ES"
        # (16 unchanged attributes hidden)
    }

  # azurerm_network_security_rule.nsg_rules["ElasticClusterTransport"] will be updated in-place
  ~ resource "azurerm_network_security_rule" "nsg_rules" {
      ~ destination_application_security_group_ids = [
          - "/subscriptions/7a4e3bd5-ae3a-4d0c-b441-2188fee3ff1c/resourceGroups/CCD-ELASTIC-SEARCH-PERFTEST/providers/Microsoft.Network/applicationSecurityGroups/CCD-DATA-ASG",
          + "/subscriptions/7a4e3bd5-ae3a-4d0c-b441-2188fee3ff1c/resourceGroups/ccd-elastic-search-perftest/providers/Microsoft.Network/applicationSecurityGroups/ccd-data-asg",
        ]
        id                                         = "/subscriptions/7a4e3bd5-ae3a-4d0c-b441-2188fee3ff1c/resourceGroups/ccd-elastic-search-perftest/providers/Microsoft.Network/networkSecurityGroups/ccd-cluster-nsg/securityRules/ElasticClusterTransport"
        name                                       = "ElasticClusterTransport"
      ~ source_application_security_group_ids      = [
          - "/subscriptions/7a4e3bd5-ae3a-4d0c-b441-2188fee3ff1c/resourceGroups/CCD-ELASTIC-SEARCH-PERFTEST/providers/Microsoft.Network/applicationSecurityGroups/CCD-DATA-ASG",
          + "/subscriptions/7a4e3bd5-ae3a-4d0c-b441-2188fee3ff1c/resourceGroups/ccd-elastic-search-perftest/providers/Microsoft.Network/applicationSecurityGroups/ccd-data-asg",
        ]
        # (15 unchanged attributes hidden)
    }

  # azurerm_network_security_rule.nsg_rules["Jenkins_To_ES"] will be updated in-place
  ~ resource "azurerm_network_security_rule" "nsg_rules" {
      ~ destination_application_security_group_ids = [
          - "/subscriptions/7a4e3bd5-ae3a-4d0c-b441-2188fee3ff1c/resourceGroups/CCD-ELASTIC-SEARCH-PERFTEST/providers/Microsoft.Network/applicationSecurityGroups/CCD-DATA-ASG",
          + "/subscriptions/7a4e3bd5-ae3a-4d0c-b441-2188fee3ff1c/resourceGroups/ccd-elastic-search-perftest/providers/Microsoft.Network/applicationSecurityGroups/ccd-data-asg",
        ]
      - destination_port_range                     = "9200" -> null
      ~ destination_port_ranges                    = [
          + "22",
          + "9200",
        ]
        id                                         = "/subscriptions/7a4e3bd5-ae3a-4d0c-b441-2188fee3ff1c/resourceGroups/ccd-elastic-search-perftest/providers/Microsoft.Network/networkSecurityGroups/ccd-cluster-nsg/securityRules/Jenkins_To_ES"
        name                                       = "Jenkins_To_ES"
        # (14 unchanged attributes hidden)
    }

  # azurerm_network_security_rule.nsg_rules["LB_To_ES"] will be updated in-place
  ~ resource "azurerm_network_security_rule" "nsg_rules" {
      ~ destination_application_security_group_ids = [
          - "/subscriptions/7a4e3bd5-ae3a-4d0c-b441-2188fee3ff1c/resourceGroups/CCD-ELASTIC-SEARCH-PERFTEST/providers/Microsoft.Network/applicationSecurityGroups/CCD-DATA-ASG",
          + "/subscriptions/7a4e3bd5-ae3a-4d0c-b441-2188fee3ff1c/resourceGroups/ccd-elastic-search-perftest/providers/Microsoft.Network/applicationSecurityGroups/ccd-data-asg",
        ]
        id                                         = "/subscriptions/7a4e3bd5-ae3a-4d0c-b441-2188fee3ff1c/resourceGroups/ccd-elastic-search-perftest/providers/Microsoft.Network/networkSecurityGroups/ccd-cluster-nsg/securityRules/LB_To_ES"
        name                                       = "LB_To_ES"
        # (16 unchanged attributes hidden)
    }

  # azurerm_network_security_rule.nsg_rules["Mgmt_Perf_Test_To_ES"] will be updated in-place
  ~ resource "azurerm_network_security_rule" "nsg_rules" {
      ~ destination_application_security_group_ids = [
          - "/subscriptions/7a4e3bd5-ae3a-4d0c-b441-2188fee3ff1c/resourceGroups/CCD-ELASTIC-SEARCH-PERFTEST/providers/Microsoft.Network/applicationSecurityGroups/CCD-DATA-ASG",
          + "/subscriptions/7a4e3bd5-ae3a-4d0c-b441-2188fee3ff1c/resourceGroups/ccd-elastic-search-perftest/providers/Microsoft.Network/applicationSecurityGroups/ccd-data-asg",
        ]
        id                                         = "/subscriptions/7a4e3bd5-ae3a-4d0c-b441-2188fee3ff1c/resourceGroups/ccd-elastic-search-perftest/providers/Microsoft.Network/networkSecurityGroups/ccd-cluster-nsg/securityRules/Mgmt_Perf_Test_To_ES"
        name                                       = "Mgmt_Perf_Test_To_ES"
        # (16 unchanged attributes hidden)
    }

  # azurerm_network_security_rule.nsg_rules["SSH"] will be updated in-place
  ~ resource "azurerm_network_security_rule" "nsg_rules" {
      ~ destination_application_security_group_ids = [
          - "/subscriptions/7a4e3bd5-ae3a-4d0c-b441-2188fee3ff1c/resourceGroups/CCD-ELASTIC-SEARCH-PERFTEST/providers/Microsoft.Network/applicationSecurityGroups/CCD-DATA-ASG",
          + "/subscriptions/7a4e3bd5-ae3a-4d0c-b441-2188fee3ff1c/resourceGroups/ccd-elastic-search-perftest/providers/Microsoft.Network/applicationSecurityGroups/ccd-data-asg",
        ]
        id                                         = "/subscriptions/7a4e3bd5-ae3a-4d0c-b441-2188fee3ff1c/resourceGroups/ccd-elastic-search-perftest/providers/Microsoft.Network/networkSecurityGroups/ccd-cluster-nsg/securityRules/SSH"
        name                                       = "SSH"
        # (16 unchanged attributes hidden)
    }

  # module.load_balancers["default"].azurerm_lb.this will be created
  + resource "azurerm_lb" "this" {
      + id                   = (known after apply)
      + location             = "uksouth"
      + name                 = "ccd-internal-perftest-lb"
      + private_ip_address   = (known after apply)
      + private_ip_addresses = (known after apply)
      + public_ip_address_id = (known after apply)
      + resource_group_name  = "ccd-elastic-search-perftest"
      + sku                  = "Standard"
      + sku_tier             = "Regional"
      + subnet_id            = (known after apply)
      + tags                 = {
          + "application"  = "core-case-data"
          + "autoShutdown" = "true"
          + "builtFrom"    = "https://github.com/HMCTS/ccd-elastic-search.git"
          + "businessArea" = "CFT"
          + "criticality"  = "Medium"
          + "environment"  = "testing"
          + "startupMode"  = "always"
        }

      + frontend_ip_configuration {
          + gateway_load_balancer_frontend_ip_configuration_id = (known after apply)
          + id                                                 = (known after apply)
          + inbound_nat_rules                                  = (known after apply)
          + load_balancer_rules                                = (known after apply)
          + name                                               = "LBFE"
          + outbound_rules                                     = (known after apply)
          + private_ip_address                                 = "10.112.153.253"
          + private_ip_address_allocation                      = "Static"
          + private_ip_address_version                         = (known after apply)
          + public_ip_prefix_id                                = (known after apply)
          + subnet_id                                          = "/subscriptions/7a4e3bd5-ae3a-4d0c-b441-2188fee3ff1c/resourceGroups/core-infra-perftest/providers/Microsoft.Network/virtualNetworks/core-infra-vnet-perftest/subnets/elasticsearch"
          + zones                                              = [
              + "1",
              + "2",
              + "3",
            ]
        }
    }

  # module.load_balancers["default"].azurerm_lb_backend_address_pool.this will be created
  + resource "azurerm_lb_backend_address_pool" "this" {
      + backend_ip_configurations = (known after apply)
      + id                        = (known after apply)
      + inbound_nat_rules         = (known after apply)
      + load_balancing_rules      = (known after apply)
      + loadbalancer_id           = (known after apply)
      + name                      = "LBBE"
      + outbound_rules            = (known after apply)
    }

  # module.load_balancers["default"].azurerm_lb_backend_address_pool_address.this["ccd-data-0"] will be created
  + resource "azurerm_lb_backend_address_pool_address" "this" {
      + backend_address_pool_id       = (known after apply)
      + id                            = (known after apply)
      + inbound_nat_rule_port_mapping = (known after apply)
      + ip_address                    = "10.112.153.7"
      + name                          = "ccd-data-0"
      + virtual_network_id            = "/subscriptions/7a4e3bd5-ae3a-4d0c-b441-2188fee3ff1c/resourceGroups/core-infra-perftest/providers/Microsoft.Network/virtualNetworks/core-infra-vnet-perftest"
    }

  # module.load_balancers["default"].azurerm_lb_backend_address_pool_address.this["ccd-data-1"] will be created
  + resource "azurerm_lb_backend_address_pool_address" "this" {
      + backend_address_pool_id       = (known after apply)
      + id                            = (known after apply)
      + inbound_nat_rule_port_mapping = (known after apply)
      + ip_address                    = "10.112.153.6"
      + name                          = "ccd-data-1"
      + virtual_network_id            = "/subscriptions/7a4e3bd5-ae3a-4d0c-b441-2188fee3ff1c/resourceGroups/core-infra-perftest/providers/Microsoft.Network/virtualNetworks/core-infra-vnet-perftest"
    }

  # module.load_balancers["default"].azurerm_lb_backend_address_pool_address.this["ccd-data-2"] will be created
  + resource "azurerm_lb_backend_address_pool_address" "this" {
      + backend_address_pool_id       = (known after apply)
      + id                            = (known after apply)
      + inbound_nat_rule_port_mapping = (known after apply)
      + ip_address                    = "10.112.153.9"
      + name                          = "ccd-data-2"
      + virtual_network_id            = "/subscriptions/7a4e3bd5-ae3a-4d0c-b441-2188fee3ff1c/resourceGroups/core-infra-perftest/providers/Microsoft.Network/virtualNetworks/core-infra-vnet-perftest"
    }

  # module.load_balancers["default"].azurerm_lb_backend_address_pool_address.this["ccd-data-3"] will be created
  + resource "azurerm_lb_backend_address_pool_address" "this" {
      + backend_address_pool_id       = (known after apply)
      + id                            = (known after apply)
      + inbound_nat_rule_

# ...
# ... The maximum length of GitHub Comment is 65536, so the content is omitted by tfcmt.
# ...

toShutdown" = "true"
          + "builtFrom"    = "https://github.com/HMCTS/ccd-elastic-search.git"
          + "businessArea" = "CFT"
          + "criticality"  = "Medium"
          + "environment"  = "testing"
          + "startupMode"  = "always"
        }
      + virtual_machine_id             = (known after apply)

      + ip_configuration {
          + gateway_load_balancer_frontend_ip_configuration_id = (known after apply)
          + name                                               = "ipconfig1"
          + primary                                            = (known after apply)
          + private_ip_address                                 = "10.112.153.5"
          + private_ip_address_allocation                      = "Static"
          + private_ip_address_version                         = "IPv4"
          + subnet_id                                          = "/subscriptions/7a4e3bd5-ae3a-4d0c-b441-2188fee3ff1c/resourceGroups/core-infra-perftest/providers/Microsoft.Network/virtualNetworks/core-infra-vnet-perftest/subnets/elasticsearch"
        }
    }

  # module.elastic2_cluster["ccd-data-3"].module.virtual-machines.azurerm_role_assignment.admin-user["standard"] will be created
  + resource "azurerm_role_assignment" "admin-user" {
      + condition_version                = (known after apply)
      + id                               = (known after apply)
      + name                             = (known after apply)
      + principal_id                     = "6a235ef2-26b8-4e52-a9fa-154091ca19d0"
      + principal_type                   = (known after apply)
      + role_definition_id               = (known after apply)
      + role_definition_name             = "Virtual Machine User Login"
      + scope                            = (known after apply)
      + skip_service_principal_aad_check = (known after apply)
    }

  # module.elastic2_cluster["ccd-data-3"].module.virtual-machines.azurerm_role_assignment.admin-user["sudo"] will be created
  + resource "azurerm_role_assignment" "admin-user" {
      + condition_version                = (known after apply)
      + id                               = (known after apply)
      + name                             = (known after apply)
      + principal_id                     = "975eb5f1-1fbf-4359-b7c3-8f4db3569351"
      + principal_type                   = (known after apply)
      + role_definition_id               = (known after apply)
      + role_definition_name             = "Virtual Machine Administrator Login"
      + scope                            = (known after apply)
      + skip_service_principal_aad_check = (known after apply)
    }

  # module.elastic2_cluster["ccd-data-3"].module.virtual-machines.azurerm_virtual_machine_data_disk_attachment.data_disk_attachments["disk1"] will be created
  + resource "azurerm_virtual_machine_data_disk_attachment" "data_disk_attachments" {
      + caching                   = "None"
      + create_option             = "Empty"
      + id                        = (known after apply)
      + lun                       = 0
      + managed_disk_id           = (known after apply)
      + virtual_machine_id        = (known after apply)
      + write_accelerator_enabled = false
    }

  # module.elastic2_cluster["ccd-data-3"].module.virtual-machines.azurerm_virtual_machine_data_disk_attachment.data_disk_attachments["disk2"] will be created
  + resource "azurerm_virtual_machine_data_disk_attachment" "data_disk_attachments" {
      + caching                   = "None"
      + create_option             = "Empty"
      + id                        = (known after apply)
      + lun                       = 1
      + managed_disk_id           = (known after apply)
      + virtual_machine_id        = (known after apply)
      + write_accelerator_enabled = false
    }

  # module.elastic2_cluster["ccd-data-3"].module.virtual-machines.azurerm_virtual_machine_extension.entra[0] will be created
  + resource "azurerm_virtual_machine_extension" "entra" {
      + auto_upgrade_minor_version  = true
      + failure_suppression_enabled = false
      + id                          = (known after apply)
      + name                        = "AADSSHLoginForLinux"
      + publisher                   = "Microsoft.Azure.ActiveDirectory"
      + type                        = "AADSSHLoginForLinux"
      + type_handler_version        = "1.0"
      + virtual_machine_id          = (known after apply)
    }

  # module.elastic2_cluster["ccd-data-0"].module.virtual-machines.module.vm-bootstrap[0].azurerm_monitor_data_collection_rule_association.linux_vm_dcra[0] will be created
  + resource "azurerm_monitor_data_collection_rule_association" "linux_vm_dcra" {
      + data_collection_rule_id = "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/oms-automation/providers/Microsoft.Insights/dataCollectionRules/ama-linux-vm-logs"
      + description             = "Association between a linux VM and the appropriate data collection rule."
      + id                      = (known after apply)
      + name                    = (known after apply)
      + target_resource_id      = (known after apply)
    }

  # module.elastic2_cluster["ccd-data-0"].module.virtual-machines.module.vm-bootstrap[0].azurerm_virtual_machine_extension.azure_monitor[0] will be created
  + resource "azurerm_virtual_machine_extension" "azure_monitor" {
      + auto_upgrade_minor_version  = false
      + failure_suppression_enabled = false
      + id                          = (known after apply)
      + name                        = "AMALinux"
      + publisher                   = "Microsoft.Azure.Monitor"
      + tags                        = {
          + "application"  = "core-case-data"
          + "autoShutdown" = "true"
          + "builtFrom"    = "https://github.com/HMCTS/ccd-elastic-search.git"
          + "businessArea" = "CFT"
          + "criticality"  = "Medium"
          + "environment"  = "testing"
          + "startupMode"  = "always"
        }
      + type                        = "AzureMonitorLinuxAgent"
      + type_handler_version        = "1.33"
      + virtual_machine_id          = (known after apply)
    }

  # module.elastic2_cluster["ccd-data-0"].module.virtual-machines.module.vm-bootstrap[0].azurerm_virtual_machine_extension.custom_script[0] will be created
  + resource "azurerm_virtual_machine_extension" "custom_script" {
      + auto_upgrade_minor_version  = false
      + failure_suppression_enabled = false
      + id                          = (known after apply)
      + name                        = "HMCTSBootstrapScript"
      + protected_settings          = (sensitive value)
      + publisher                   = "Microsoft.Azure.Extensions"
      + tags                        = {
          + "application"  = "core-case-data"
          + "autoShutdown" = "true"
          + "builtFrom"    = "https://github.com/HMCTS/ccd-elastic-search.git"
          + "businessArea" = "CFT"
          + "criticality"  = "Medium"
          + "environment"  = "testing"
          + "startupMode"  = "always"
        }
      + type                        = "CustomScript"
      + type_handler_version        = "2.1"
      + virtual_machine_id          = (known after apply)
    }

  # module.elastic2_cluster["ccd-data-0"].module.virtual-machines.module.vm-bootstrap[0].azurerm_virtual_machine_extension.dynatrace_oneagent[0] will be created
  + resource "azurerm_virtual_machine_extension" "dynatrace_oneagent" {
      + auto_upgrade_minor_version  = true
      + failure_suppression_enabled = false
      + id                          = (known after apply)
      + name                        = "Dynatrace"
      + publisher                   = "dynatrace.ruxit"
      + settings                    = (sensitive value)
      + tags                        = {
          + "application"  = "core-case-data"
          + "autoShutdown" = "true"
          + "builtFrom"    = "https://github.com/HMCTS/ccd-elastic-search.git"
          + "businessArea" = "CFT"
          + "criticality"  = "Medium"
          + "environment"  = "testing"
          + "startupMode"  = "always"
        }
      + type                        = "oneAgentLinux"
      + type_handler_version        = "2.200"
      + virtual_machine_id          = (known after apply)
    }

  # module.elastic2_cluster["ccd-data-1"].module.virtual-machines.module.vm-bootstrap[0].azurerm_monitor_data_collection_rule_association.linux_vm_dcra[0] will be created
  + resource "azurerm_monitor_data_collection_rule_association" "linux_vm_dcra" {
      + data_collection_rule_id = "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/oms-automation/providers/Microsoft.Insights/dataCollectionRules/ama-linux-vm-logs"
      + description             = "Association between a linux VM and the appropriate data collection rule."
      + id                      = (known after apply)
      + name                    = (known after apply)
      + target_resource_id      = (known after apply)
    }

  # module.elastic2_cluster["ccd-data-1"].module.virtual-machines.module.vm-bootstrap[0].azurerm_virtual_machine_extension.azure_monitor[0] will be created
  + resource "azurerm_virtual_machine_extension" "azure_monitor" {
      + auto_upgrade_minor_version  = false
      + failure_suppression_enabled = false
      + id                          = (known after apply)
      + name                        = "AMALinux"
      + publisher                   = "Microsoft.Azure.Monitor"
      + tags                        = {
          + "application"  = "core-case-data"
          + "autoShutdown" = "true"
          + "builtFrom"    = "https://github.com/HMCTS/ccd-elastic-search.git"
          + "businessArea" = "CFT"
          + "criticality"  = "Medium"
          + "environment"  = "testing"
          + "startupMode"  = "always"
        }
      + type                        = "AzureMonitorLinuxAgent"
      + type_handler_version        = "1.33"
      + virtual_machine_id          = (known after apply)
    }

  # module.elastic2_cluster["ccd-data-1"].module.virtual-machines.module.vm-bootstrap[0].azurerm_virtual_machine_extension.custom_script[0] will be created
  + resource "azurerm_virtual_machine_extension" "custom_script" {
      + auto_upgrade_minor_version  = false
      + failure_suppression_enabled = false
      + id                          = (known after apply)
      + name                        = "HMCTSBootstrapScript"
      + protected_settings          = (sensitive value)
      + publisher                   = "Microsoft.Azure.Extensions"
      + tags                        = {
          + "application"  = "core-case-data"
          + "autoShutdown" = "true"
          + "builtFrom"    = "https://github.com/HMCTS/ccd-elastic-search.git"
          + "businessArea" = "CFT"
          + "criticality"  = "Medium"
          + "environment"  = "testing"
          + "startupMode"  = "always"
        }
      + type                        = "CustomScript"
      + type_handler_version        = "2.1"
      + virtual_machine_id          = (known after apply)
    }

  # module.elastic2_cluster["ccd-data-1"].module.virtual-machines.module.vm-bootstrap[0].azurerm_virtual_machine_extension.dynatrace_oneagent[0] will be created
  + resource "azurerm_virtual_machine_extension" "dynatrace_oneagent" {
      + auto_upgrade_minor_version  = true
      + failure_suppression_enabled = false
      + id                          = (known after apply)
      + name                        = "Dynatrace"
      + publisher                   = "dynatrace.ruxit"
      + settings                    = (sensitive value)
      + tags                        = {
          + "application"  = "core-case-data"
          + "autoShutdown" = "true"
          + "builtFrom"    = "https://github.com/HMCTS/ccd-elastic-search.git"
          + "businessArea" = "CFT"
          + "criticality"  = "Medium"
          + "environment"  = "testing"
          + "startupMode"  = "always"
        }
      + type                        = "oneAgentLinux"
      + type_handler_version        = "2.200"
      + virtual_machine_id          = (known after apply)
    }

  # module.elastic2_cluster["ccd-data-2"].module.virtual-machines.module.vm-bootstrap[0].azurerm_monitor_data_collection_rule_association.linux_vm_dcra[0] will be created
  + resource "azurerm_monitor_data_collection_rule_association" "linux_vm_dcra" {
      + data_collection_rule_id = "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/oms-automation/providers/Microsoft.Insights/dataCollectionRules/ama-linux-vm-logs"
      + description             = "Association between a linux VM and the appropriate data collection rule."
      + id                      = (known after apply)
      + name                    = (known after apply)
      + target_resource_id      = (known after apply)
    }

  # module.elastic2_cluster["ccd-data-2"].module.virtual-machines.module.vm-bootstrap[0].azurerm_virtual_machine_extension.azure_monitor[0] will be created
  + resource "azurerm_virtual_machine_extension" "azure_monitor" {
      + auto_upgrade_minor_version  = false
      + failure_suppression_enabled = false
      + id                          = (known after apply)
      + name                        = "AMALinux"
      + publisher                   = "Microsoft.Azure.Monitor"
      + tags                        = {
          + "application"  = "core-case-data"
          + "autoShutdown" = "true"
          + "builtFrom"    = "https://github.com/HMCTS/ccd-elastic-search.git"
          + "businessArea" = "CFT"
          + "criticality"  = "Medium"
          + "environment"  = "testing"
          + "startupMode"  = "always"
        }
      + type                        = "AzureMonitorLinuxAgent"
      + type_handler_version        = "1.33"
      + virtual_machine_id          = (known after apply)
    }

  # module.elastic2_cluster["ccd-data-2"].module.virtual-machines.module.vm-bootstrap[0].azurerm_virtual_machine_extension.custom_script[0] will be created
  + resource "azurerm_virtual_machine_extension" "custom_script" {
      + auto_upgrade_minor_version  = false
      + failure_suppression_enabled = false
      + id                          = (known after apply)
      + name                        = "HMCTSBootstrapScript"
      + protected_settings          = (sensitive value)
      + publisher                   = "Microsoft.Azure.Extensions"
      + tags                        = {
          + "application"  = "core-case-data"
          + "autoShutdown" = "true"
          + "builtFrom"    = "https://github.com/HMCTS/ccd-elastic-search.git"
          + "businessArea" = "CFT"
          + "criticality"  = "Medium"
          + "environment"  = "testing"
          + "startupMode"  = "always"
        }
      + type                        = "CustomScript"
      + type_handler_version        = "2.1"
      + virtual_machine_id          = (known after apply)
    }

  # module.elastic2_cluster["ccd-data-2"].module.virtual-machines.module.vm-bootstrap[0].azurerm_virtual_machine_extension.dynatrace_oneagent[0] will be created
  + resource "azurerm_virtual_machine_extension" "dynatrace_oneagent" {
      + auto_upgrade_minor_version  = true
      + failure_suppression_enabled = false
      + id                          = (known after apply)
      + name                        = "Dynatrace"
      + publisher                   = "dynatrace.ruxit"
      + settings                    = (sensitive value)
      + tags                        = {
          + "application"  = "core-case-data"
          + "autoShutdown" = "true"
          + "builtFrom"    = "https://github.com/HMCTS/ccd-elastic-search.git"
          + "businessArea" = "CFT"
          + "criticality"  = "Medium"
          + "environment"  = "testing"
          + "startupMode"  = "always"
        }
      + type                        = "oneAgentLinux"
      + type_handler_version        = "2.200"
      + virtual_machine_id          = (known after apply)
    }

  # module.elastic2_cluster["ccd-data-3"].module.virtual-machines.module.vm-bootstrap[0].azurerm_monitor_data_collection_rule_association.linux_vm_dcra[0] will be created
  + resource "azurerm_monitor_data_collection_rule_association" "linux_vm_dcra" {
      + data_collection_rule_id = "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/oms-automation/providers/Microsoft.Insights/dataCollectionRules/ama-linux-vm-logs"
      + description             = "Association between a linux VM and the appropriate data collection rule."
      + id                      = (known after apply)
      + name                    = (known after apply)
      + target_resource_id      = (known after apply)
    }

  # module.elastic2_cluster["ccd-data-3"].module.virtual-machines.module.vm-bootstrap[0].azurerm_virtual_machine_extension.azure_monitor[0] will be created
  + resource "azurerm_virtual_machine_extension" "azure_monitor" {
      + auto_upgrade_minor_version  = false
      + failure_suppression_enabled = false
      + id                          = (known after apply)
      + name                        = "AMALinux"
      + publisher                   = "Microsoft.Azure.Monitor"
      + tags                        = {
          + "application"  = "core-case-data"
          + "autoShutdown" = "true"
          + "builtFrom"    = "https://github.com/HMCTS/ccd-elastic-search.git"
          + "businessArea" = "CFT"
          + "criticality"  = "Medium"
          + "environment"  = "testing"
          + "startupMode"  = "always"
        }
      + type                        = "AzureMonitorLinuxAgent"
      + type_handler_version        = "1.33"
      + virtual_machine_id          = (known after apply)
    }

  # module.elastic2_cluster["ccd-data-3"].module.virtual-machines.module.vm-bootstrap[0].azurerm_virtual_machine_extension.custom_script[0] will be created
  + resource "azurerm_virtual_machine_extension" "custom_script" {
      + auto_upgrade_minor_version  = false
      + failure_suppression_enabled = false
      + id                          = (known after apply)
      + name                        = "HMCTSBootstrapScript"
      + protected_settings          = (sensitive value)
      + publisher                   = "Microsoft.Azure.Extensions"
      + tags                        = {
          + "application"  = "core-case-data"
          + "autoShutdown" = "true"
          + "builtFrom"    = "https://github.com/HMCTS/ccd-elastic-search.git"
          + "businessArea" = "CFT"
          + "criticality"  = "Medium"
          + "environment"  = "testing"
          + "startupMode"  = "always"
        }
      + type                        = "CustomScript"
      + type_handler_version        = "2.1"
      + virtual_machine_id          = (known after apply)
    }

  # module.elastic2_cluster["ccd-data-3"].module.virtual-machines.module.vm-bootstrap[0].azurerm_virtual_machine_extension.dynatrace_oneagent[0] will be created
  + resource "azurerm_virtual_machine_extension" "dynatrace_oneagent" {
      + auto_upgrade_minor_version  = true
      + failure_suppression_enabled = false
      + id                          = (known after apply)
      + name                        = "Dynatrace"
      + publisher                   = "dynatrace.ruxit"
      + settings                    = (sensitive value)
      + tags                        = {
          + "application"  = "core-case-data"
          + "autoShutdown" = "true"
          + "builtFrom"    = "https://github.com/HMCTS/ccd-elastic-search.git"
          + "businessArea" = "CFT"
          + "criticality"  = "Medium"
          + "environment"  = "testing"
          + "startupMode"  = "always"
        }
      + type                        = "oneAgentLinux"
      + type_handler_version        = "2.200"
      + virtual_machine_id          = (known after apply)
    }

Plan: 78 to add, 8 to change, 2 to destroy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants