Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

post upgrade to azurerm 3.10.0, Azurerm application gateway updating in a place and create as a new #17315

Open
1 task done
arpitmishra-eaton opened this issue Jun 21, 2022 · 25 comments

Comments

@arpitmishra-eaton
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Terraform Version

1.2.2

AzureRM Provider Version

3.10.0

Affected Resource(s)/Data Source(s)

azurerm_application_gateway

Terraform Configuration Files

it seems public ip creating as a new.  No changes made to configuration file. just upgraded to AzureRM and terraform version.

Debug Output/Panic Output

# azurerm_a***lication_gateway.resiot-agw will be u***dated in-***lace
2022-06-15T10:15:31.3110373Z   ~ resource "azurerm_a***lication_gateway" "resiot-agw" {
2022-06-15T10:15:31.3112055Z         id                                = "/subscri***tions/***/resourceGrou***s/ETN-ES-ResIoTPlatform-Infra-Primary/***roviders/Microsoft.Network/a***licationGateways/agw-etnresiot-***-eus"
2022-06-15T10:15:31.3114084Z         name                              = "agw-etnresiot-***-eus"
2022-06-15T10:15:31.3114898Z         tags                              = {
2022-06-15T10:15:31.3115547Z             "***rovisioned_by" = "terraform"
2022-06-15T10:15:31.3116140Z         }
2022-06-15T10:15:31.3116735Z         # (8 unchanged attributes hidden)
2022-06-15T10:15:31.3117101Z 
2022-06-15T10:15:31.3117370Z 
2022-06-15T10:15:31.3117628Z 
2022-06-15T10:15:31.3117904Z 
2022-06-15T10:15:31.3118482Z       ~ frontend_i***_configuration {
2022-06-15T10:15:31.3120115Z             id                            = "/subscri***tions/***/resourceGrou***s/ETN-ES-ResIoTPlatform-Infra-Primary/***roviders/Microsoft.Network/a***licationGateways/agw-etnresiot-***-eus/frontendIPConfigurations/resiotgw-fei***"
2022-06-15T10:15:31.3121759Z             name                          = "resiotgw-fei***"
2022-06-15T10:15:31.3123421Z           ~ ***ublic_i***_address_id          = "/subscri***tions/***/resourceGrou***s/ETN-ES-ResIoTPlatform-Infra-Primary/***roviders/Microsoft.Network/***ublicIPAddresses/***i***-etnresiot-agw-***-eus" -> (known after a***ly)
2022-06-15T10:15:31.3124563Z             # (1 unchanged attribute hidden)
2022-06-15T10:15:31.3125161Z         }
2022-06-15T10:15:31.3125450Z 
2022-06-15T10:15:31.3125736Z 
2022-06-15T10:15:31.3126002Z 
2022-06-15T10:15:31.3126262Z 
2022-06-15T10:15:31.3126536Z 
2022-06-15T10:15:31.3127278Z       - ***robe {
2022-06-15T10:15:31.3128885Z           - id                                        = "/subscri***tions/***/resourceGrou***s/ETN-ES-ResIoTPlatform-Infra-Primary/***roviders/Microsoft.Network/a***licationGateways/agw-etnresiot-***-eus/***robes/resiotgw-***-htt***-***robe" -> null
2022-06-15T10:15:31.3130417Z           - interval                                  = 10 -> null
2022-06-15T10:15:31.3131517Z           - minimum_servers                           = 0 -> null
2022-06-15T10:15:31.3132562Z           - name                                      = "resiotgw-***-htt***-***robe" -> null
2022-06-15T10:15:31.3133801Z           - ***ath                                      = "/" -> null
2022-06-15T10:15:31.3134861Z           - ***ick_host_name_from_backend_htt***_settings = true -> null
2022-06-15T10:15:31.3139847Z           - ***ort                                      = 0 -> null
2022-06-15T10:15:31.3140585Z           - ***rotocol                                  = "Htt***" -> null
2022-06-15T10:15:31.3141295Z           - timeout                                   = 5 -> null
2022-06-15T10:15:31.3142165Z           - unhealthy_threshold                       = 3 -> null

Expected Behaviour

it should not be creating a new resources and use as it is.

Actual Behaviour

creating as a new resources probably.

Steps to Reproduce

upgraded to new azureRM version and terraform version
terraform plan and apply

Important Factoids

No response

References

No response

@arpitmishra-eaton
Copy link
Author

Even if roll back to previous azureRM version, for some resources it says that have been created by upgraded version. thus upgrade your azureRM version. this is also one of reason cant roll back. So as we were running in older version, would like to continue to new one.

@sinbai
Copy link
Contributor

sinbai commented Jun 22, 2022

Hi @arpitmishra-eaton thank you for opening this issue here.

Since no terraform configuration file was provided, I tried to reproduce this issue with the following tf configuration. Unfortunately, I could not repro it. Could you repro with the following tf config and steps? Could you provide your tf config and repro steps to help repro and troubleshooting?

Step1: Create an azurerm_application_gateway with the following tf config (Terraform v1.1.5 and AzureRM Provider v3.6.0 ):

terraform {
  required_providers {
    azurerm = {
      source  = "hashicorp/azurerm"
      version = "3.6.0"
    }
  }
}

provider "azurerm" {
  features {
  }
}

resource "azurerm_resource_group" "test" {
  name     = "rg-example"
  location = "eastus"
}

resource "azurerm_virtual_network" "test" {
  name                = "vnet-example"
  resource_group_name = azurerm_resource_group.test.name
  address_space       = ["10.0.0.0/16"]
  location            = azurerm_resource_group.test.location
}

resource "azurerm_subnet" "test" {
  name                                          = "subnet-example"
  resource_group_name                           = azurerm_resource_group.test.name
  virtual_network_name                          = azurerm_virtual_network.test.name
  address_prefixes                              = ["10.0.0.0/24"]
  enforce_private_link_service_network_policies = true
}

resource "azurerm_public_ip" "test" {
  name                = "pubip-example"
  location            = azurerm_resource_group.test.location
  resource_group_name = azurerm_resource_group.test.name
  allocation_method   = "Dynamic"
}
# since these variables are re-used - a locals block makes this more maintainable
locals {
  backend_address_pool_name      = "${azurerm_virtual_network.test.name}-beap"
  frontend_port_name_1           = "${azurerm_virtual_network.test.name}-feport-1"
  frontend_port_name_2           = "${azurerm_virtual_network.test.name}-feport-2"
  frontend_ip_configuration_name = "${azurerm_virtual_network.test.name}-feip"
  http_setting_name              = "${azurerm_virtual_network.test.name}-be-htst"
  listener_name_1                = "${azurerm_virtual_network.test.name}-httplstn-1"
  listener_name_2                = "${azurerm_virtual_network.test.name}-httplstn-2"
  request_routing_rule_name_1    = "${azurerm_virtual_network.test.name}-rqrt-1"
  request_routing_rule_name_2    = "${azurerm_virtual_network.test.name}-rqrt-2"
}

resource "azurerm_public_ip" "test_standard" {
  name                = "pubip-standard-example"
  location            = azurerm_resource_group.test.location
  resource_group_name = azurerm_resource_group.test.name
  sku                 = "Standard"
  allocation_method   = "Static"
}

resource "azurerm_application_gateway" "test" {
  name                = "ag-example"
  resource_group_name = azurerm_resource_group.test.name
  location            = azurerm_resource_group.test.location

  sku {
    name     = "Standard_v2"
    tier     = "Standard_v2"
    capacity = 1
  }

  ssl_policy {
    policy_type          = "Custom"
    min_protocol_version = "TLSv1_1"
    cipher_suites        = ["TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", "TLS_RSA_WITH_AES_128_GCM_SHA256"]
  }

  gateway_ip_configuration {
    name      = "my-gateway-ip-configuration"
    subnet_id = azurerm_subnet.test.id
  }

  frontend_port {
    name = local.frontend_port_name_1
    port = 80
  }

  frontend_port {
    name = local.frontend_port_name_2
    port = 8080
  }

  frontend_ip_configuration {
    name                 = local.frontend_ip_configuration_name
    public_ip_address_id = azurerm_public_ip.test_standard.id
  }

  backend_address_pool {
    name = local.backend_address_pool_name
  }

  backend_http_settings {
    name                  = local.http_setting_name
    cookie_based_affinity = "Disabled"
    port                  = 80
    protocol              = "Http"
    request_timeout       = 1
  }

  http_listener {
    name                           = local.listener_name_1
    frontend_ip_configuration_name = local.frontend_ip_configuration_name
    frontend_port_name             = local.frontend_port_name_1
    protocol                       = "Http"
  }

  http_listener {
    name                           = local.listener_name_2
    frontend_ip_configuration_name = local.frontend_ip_configuration_name
    frontend_port_name             = local.frontend_port_name_2
    protocol                       = "Http"
  }

  request_routing_rule {
    name                       = local.request_routing_rule_name_1
    rule_type                  = "Basic"
    http_listener_name         = local.listener_name_1
    backend_address_pool_name  = local.backend_address_pool_name
    backend_http_settings_name = local.http_setting_name
    priority                   = 1
  }

  request_routing_rule {
    name                       = local.request_routing_rule_name_2
    rule_type                  = "Basic"
    http_listener_name         = local.listener_name_2
    backend_address_pool_name  = local.backend_address_pool_name
    backend_http_settings_name = local.http_setting_name
    priority                   = 20000
  }
}

Step2: Upgrade Terraform from v1.1.5 to V1.2.2 and AzureRM Provider from v3.6.0 to v3.10.0.
Step3: Run command: terraform init -upgrade, terraform plan , terraform apply.

Actual:
image

@arpitmishra-eaton
Copy link
Author

i tried with step 1: but no use.. it getting destroyed and create replacement

image

@sinbai
Copy link
Contributor

sinbai commented Jun 22, 2022

Could you provide your terraform configuration to help repro and troubleshooting? Besides, what are the previous Terraform and AzureRM version?

@arpitmishra-eaton
Copy link
Author

earlier we used V1.1.2 and ARMV2.6.0 but now used V1.1.5 and ARM V3.6.0 ...

Currently following steps 2 and 3 .. checking if its work...

image
image

here is public ip re-creating. so pasted the conf

image

@arpitmishra-eaton
Copy link
Author

even now i tried with tf version 1.2.3(latest) and ARMVersion 3.10.0 but no luck.

terraform init -upgrade -no-color -backend-config=storage_account_name=$TARGET_RS_STORAGE_ACCOUNT -backend-config=container_name=$TARGET_RS_CONTAINER_NAME -backend-config=key=$TARGET_ENV -backend-config=resource_group_name=$TARGET_RS_RG -backend-config=access_key=$TARGET_RS_STORAGE_ACCESS_KEY

and performed terraform plan.... and saw that public IP is re-creating which is linked to application gateway so many conf is getting removed in it and updating its place. attached the same snapshot above. Please check

@arpitmishra-eaton
Copy link
Author

Please let me know if you need anything..

@sinbai
Copy link
Contributor

sinbai commented Jun 23, 2022

Could you please provide the full tf configuration via text instead of screenshot? If I can reproduce it easily, troubleshooting might be faster.

@arpitmishra-eaton
Copy link
Author

resource "azurerm_public_ip" "agwip" {
name = "pip-etnresiot-agw-${var.environment}-${lookup(var.location_short_code, var.location, "error")}"
resource_group_name = var.target_infra_rg
location = var.location
allocation_method = "Static"
sku = "Standard"
domain_name_label = "agw-etnresiot-${var.environment}"

tags = {
    provisioned_by = "terraform"
}

}

resource "azurerm_application_gateway" "resiot-agw" {
name = "agw-etnresiot-${var.environment}-${lookup(var.location_short_code, var.location, "error")}"
resource_group_name = var.target_infra_rg
location = var.location
depends_on = [azurerm_public_ip.agwip]
firewall_policy_id = azurerm_web_application_firewall_policy.main.id
sku {
name = "WAF_v2"
tier = "WAF_v2"
}

autoscale_configuration {
    min_capacity = 1
    max_capacity = 2
} 

identity {
    identity_ids = [var.cert_aag_managed_id]
    type = "UserAssigned"
}

waf_configuration {
    enabled = true
    firewall_mode = "Prevention"
    rule_set_type = "OWASP"
    rule_set_version = "3.1"
        }

ssl_policy {
    policy_name = "AppGwSslPolicy20170401S"
    policy_type = "Predefined"
}

ssl_certificate {
    name = local.resiot_ssl_certificate_name
    key_vault_secret_id = data.azurerm_key_vault_certificate.agw-cert.secret_id
}
ssl_certificate {
  name = local.app_resiot_ssl_certificate_name
  key_vault_secret_id = data.azurerm_key_vault_certificate.app-cert.secret_id
}
gateway_ip_configuration {
    name = "agw-ip-configuration"
    subnet_id = azurerm_subnet.subnet-aag.id
}

frontend_port {
    name = local.frontend_http_port_name
    port = 80
}
frontend_port {
    name = local.frontend_https_port_name
    port = 443
}

frontend_ip_configuration {
    name = local.frontend_ip_configuration_name
    public_ip_address_id = azurerm_public_ip.agwip.id
}

Below are for customer site

### Listener for resiot live site http ###
http_listener {
    name = local.http_listener_name
    frontend_ip_configuration_name = local.frontend_ip_configuration_name
    frontend_port_name = local.frontend_http_port_name
    protocol = "Http"
    host_name = local.hostname_resiot
    require_sni = false
}

### Listener for resiot live site https ###
http_listener {
    name = local.https_listener_name
    frontend_ip_configuration_name = local.frontend_ip_configuration_name
    frontend_port_name = local.frontend_https_port_name
    protocol = "Https"
    host_name = local.hostname_resiot
    require_sni = false
    ssl_certificate_name = local.resiot_ssl_certificate_name
}

### Backend Pools for live site ###
backend_address_pool {
    name = local.backend_address_pool_name
    fqdns = ["apim-test-.net"]
}

backend_http_settings {
    name = local.http_setting_name
    cookie_based_affinity = "Disabled"
    port = 80
    protocol = "Http"
    request_timeout = 90
    pick_host_name_from_backend_address = true
    probe_name = local.probe_http_name
}
backend_http_settings {
    name = local.https_setting_name
    cookie_based_affinity = "Disabled"
    port = 443
    protocol = "Https"
    request_timeout = 90
    pick_host_name_from_backend_address = true
    probe_name = local.probe_https_name
}

### Health Probe - Live site HTTP ###
probe {
    name = local.probe_http_name
    pick_host_name_from_backend_http_settings = true
    protocol = "Http"
    path = "/"
    interval = 10
    timeout = 5
    unhealthy_threshold = 3
}

### Health Probe - Live site HTTPS ###
probe {
    name = local.probe_https_name
    pick_host_name_from_backend_http_settings = true
    protocol = "Https"
    path = "/"
    interval = 10
    timeout = 5
    unhealthy_threshold = 3
}

request_routing_rule {
    name = local.http_rule_name
    rule_type = "Basic"
    http_listener_name = local.http_listener_name
    redirect_configuration_name = local.redirect_configuration_name
        # this line points to the redirect_configuration of Live site
    priority = 10
}
# this block redirects traffic to https listener of Live site 
redirect_configuration {
    name = local.redirect_configuration_name
    redirect_type = "Permanent"
    target_listener_name = local.https_listener_name
    include_path = true
    include_query_string = true
}

request_routing_rule {
    name = local.https_rule_name
    rule_type = "Basic"
    http_listener_name = local.https_listener_name
    backend_address_pool_name = local.backend_address_pool_name
    backend_http_settings_name = local.https_setting_name
    priority = 20
            
}
## Below are for App service

## Listener for app service live site http ###
http_listener {
    name = local.app_http_listener_name
    frontend_ip_configuration_name = local.frontend_ip_configuration_name
    frontend_port_name = local.frontend_http_port_name
    protocol = "Http"
    host_name = local.app_hostname_resiot
    require_sni = false
}

Listener for app service live site https

http_listener {
    name = local.app_https_listener_name
    frontend_ip_configuration_name = local.frontend_ip_configuration_name
    frontend_port_name = local.frontend_https_port_name
    protocol = "Https"
    host_name = local.app_hostname_resiot
    require_sni = true
    ssl_certificate_name = local.app_resiot_ssl_certificate_name
}

## Backend Pools for live site ###
backend_address_pool {
    name = local.app_backend_address_pool_name
    fqdns = ["app-test1.net"] // temporarily points to current api name
}

backend_http_settings {
    name = local.app_http_setting_name
    cookie_based_affinity = "Disabled"
    port = 80
    protocol = "Http"
    request_timeout = 90
    pick_host_name_from_backend_address = true
    probe_name = local.app_probe_http_name
}
backend_http_settings {
    name = local.app_https_setting_name
    cookie_based_affinity = "Disabled"
    port = 443
    protocol = "Https"
    request_timeout = 90
    pick_host_name_from_backend_address = true
    probe_name = local.app_probe_https_name
}

### Health Probe - Live site HTTP ###
probe {
    name = local.app_probe_http_name
    pick_host_name_from_backend_http_settings = true
    protocol = "Http"
    path = "/index.html"
    interval = 10
    timeout = 5
    unhealthy_threshold = 3
}

### Health Probe - Live site HTTPS ###
probe {
    name = local.app_probe_https_name
    pick_host_name_from_backend_http_settings = true
    protocol = "Https"
    path = "/index.html"
    interval = 10
    timeout = 5
    unhealthy_threshold = 3
}

request_routing_rule {
    name = local.app_http_rule_name
    rule_type = "Basic"
    priority = 30
    http_listener_name = local.app_http_listener_name
    redirect_configuration_name = local.app_redirect_configuration_name
        # this line points to the redirect_configuration of Live site
    # backend_address_pool_name = local.backend_address_pool_name
    # backend_http_settings_name = local.https_setting_name
}
# this block redirects traffic to https listener of Live site 
redirect_configuration {
    name = local.app_redirect_configuration_name
    redirect_type = "Permanent"
    target_listener_name = local.app_https_listener_name
    include_path = true
    include_query_string = true
}

request_routing_rule {
    name = local.app_https_rule_name
    rule_type = "Basic"
    http_listener_name = local.app_https_listener_name
    backend_address_pool_name = local.app_backend_address_pool_name
    backend_http_settings_name = local.app_https_setting_name
    priority = 40
}

tags = {
    provisioned_by = "terraform"
}

}

@arpitmishra-eaton
Copy link
Author

arpitmishra-eaton commented Jun 23, 2022

Please check. it is the agw conf and public ip conf.
through which it is re-creating resource.

@eissko
Copy link

eissko commented Jun 25, 2022

Hi @arpitmishra-eaton, you said your public IP got recreated...

Isn't your problem similar as I had when I upgraded AzureRM to version 3.8.0?

Before upgrade my resource "azurerm_public_ip" hadn't defined the "zones" in the tf configuration and automatically got assigned [1,2,3] - I checked this via Azure Portal.

But after AzureRM upgrade to 3.8.0 the terraform wanted to recreate the resource "azurerm_public_ip" due to mismatch at "zones" attribute like depicted below:

-/+ resource "azurerm_public_ip" "appgwip" {
      ~ fqdn                    = "***"
      ~ id                      = "***"
      ~ ip_address              = "***"
      - ip_tags                 = {} -> null
        name                    = "***"
        tags                    = {}
      - zones                   = [
          - "1",
          - "2",
          - "3",
        ] -> null # forces replacement
        # (8 unchanged attributes hidden)
    }

I fixed this by adding the zones = [1, 2, 3] into my tf code in resource "azurerm_public_ip" and terraform stopped wanting to recreate the public ip.

@arpitmishra-eaton
Copy link
Author

yes, It didnt recreate the public IP. However, it is still recreating application gateway @eissko @sinbai

@sinbai
Copy link
Contributor

sinbai commented Jun 27, 2022

Per the Data Resource Dependencies, could you please replace the "data.azurerm_key_vault_certificate.agw-cert.secret_id" with a local variable try again? Also, could you please provide the output of "terraform plan", so we can see what caused the application gateway to rebuild even though the public ip didn't rebuild?

@arpitmishra-eaton
Copy link
Author

@sinbai i have also noticed in tf file we have config probe in application gateway like below

probe {
name = local.probe_https_name
pick_host_name_from_backend_http_settings = true
protocol = "Https"
path = "/"
interval = 10
timeout = 5
unhealthy_threshold = 3
}

and what we got terraform plan like below ... so presuming could be cause to re-create it.

  • robe {
    2022-06-27T05:33:21.6690564Z - id = "/subscri
    tions//resourceGrous/ETN-ES-ResIoTPlatform-Infra-Primary/roviders/Microsoft.Network/alicationGateways/agw-etnresiot--eus/robes/resiotgw--htt-robe-a" -> null
    2022-06-27T05:33:21.6691624Z - interval = 10 -> null
    2022-06-27T05:33:21.6692365Z - minimum_servers = 0 -> null
    2022-06-27T05:33:21.6693148Z - name = "resiotgw--htt-robe-a" -> null
    2022-06-27T05:33:21.6694178Z - ***ath = "/index.html" -> null
    2022-06-27T05:33:21.6694998Z - ick_host_name_from_backend_htt_settings = true -> null
    2022-06-27T05:33:21.6695825Z - ***ort = 0 -> null
    2022-06-27T05:33:21.6696588Z - rotocol = "Htt" -> null
    2022-06-27T05:33:21.6697752Z - timeout = 5 -> null
    2022-06-27T05:33:21.6698468Z - unhealthy_threshold = 3 -> null
    2022-06-27T05:33:21.6698809Z
    2022-06-27T05:33:21.6699342Z - match {
    2022-06-27T05:33:21.6699955Z - status_code = [
    2022-06-27T05:33:21.6700596Z - "200-500",
    2022-06-27T05:33:21.6701196Z ] -> null
    2022-06-27T05:33:21.6701631Z }

@arpitmishra-eaton
Copy link
Author

arpitmishra-eaton commented Jun 27, 2022

in azure portal, match {} is created

@sinbai
Copy link
Contributor

sinbai commented Jun 27, 2022

we missed match {}

Do you mean you already know what caused the application gateway to be recreated?

@arpitmishra-eaton
Copy link
Author

yes.. just like public ip is recreating because there was Zones missing in ".tf file" hence, was recreating. So, i'm assuming this could be same case for application gateway. so checking and reporting back.

@sinbai
Copy link
Contributor

sinbai commented Jun 27, 2022

Congratulations! Are you okey if we close this issue?

@arpitmishra-eaton
Copy link
Author

arpitmishra-eaton commented Jun 27, 2022

No @sinbai i'm still checking.. not sure if that assumption would work. just reporting in 3-5 mins

@arpitmishra-eaton
Copy link
Author

seems, there is diff issue. still application gateway health probes are re-creating.

@arpitmishra-eaton
Copy link
Author

arpitmishra-eaton commented Jun 27, 2022

terraform Plan:

2022-06-27T06:14:20.3711134Z Terraform used the selected roviders to generate the following execution
2022-06-27T06:14:20.3712175Z lan. Resource actions are indicated with the following symbols:
2022-06-27T06:14:20.3712985Z + create
2022-06-27T06:14:20.3714416Z ~ u
date in-lace
2022-06-27T06:14:20.3714967Z
2022-06-27T06:14:20.3715723Z Terraform will erform the following actions:
2022-06-27T06:14:20.3716232Z
2022-06-27T06:14:20.3845481Z # azurerm_a
i_management.a
im will be u
dated in-lace
2022-06-27T06:14:20.3846862Z ~ resource "azurerm_a
i_management" "aim" {
2022-06-27T06:14:20.3848625Z id = "/subscri
tions//resourceGrous/rg-etn-es-resiiot-ai-/roviders/Microsoft.AiManagement/service/aim-etn-es-resiiot-ftn-ai-"
2022-06-27T06:14:20.3850138Z name = "a
im-etn-es-resiiot-ftn-ai-"
2022-06-27T06:14:20.3851206Z tags = {
2022-06-27T06:14:20.3851976Z "EIOT" = "API"
2022-06-27T06:14:20.3852736Z "rovisioned_by" = "terraform"
2022-06-27T06:14:20.3853450Z }
2022-06-27T06:14:20.3854144Z # (20 unchanged attributes hidden)
2022-06-27T06:14:20.3854638Z
2022-06-27T06:14:20.3855012Z
2022-06-27T06:14:20.3855391Z
2022-06-27T06:14:20.3855748Z
2022-06-27T06:14:20.3856118Z
2022-06-27T06:14:20.3856471Z
2022-06-27T06:14:20.3856841Z
2022-06-27T06:14:20.3857507Z ~ virtual_network_configuration {
2022-06-27T06:14:20.3859767Z ~ subnet_id = "/subscri
tions//resourcegrous/etn-es-resiotlatform-infra-rimary/roviders/microsoft.network/virtualnetworks/vnet-etn-es-resiot/subnets/snet-aim" -> "/subscritions//resourceGrous/ETN-ES-ResIoTPlatform-Infra-Primary/roviders/Microsoft.Network/virtualNetworks/vnet-etn-es-resiot/subnets/snet-aim"
2022-06-27T06:14:20.3861996Z }
2022-06-27T06:14:20.3862741Z # (6 unchanged blocks hidden)
2022-06-27T06:14:20.3863408Z }
2022-06-27T06:14:20.3863810Z
2022-06-27T06:14:20.5140805Z # azurerm_a
lication_gateway.resiot-agw will be udated in-lace
2022-06-27T06:14:20.5142489Z ~ resource "azurerm_a
lication_gateway" "resiot-agw" {
2022-06-27T06:14:20.5144338Z id = "/subscri
tions//resourceGrous/ETN-ES-ResIoTPlatform-Infra-Primary/roviders/Microsoft.Network/alicationGateways/agw-etnresiot--eus"
2022-06-27T06:14:20.5145863Z name = "agw-etnresiot-
-eus"
2022-06-27T06:14:20.5146713Z tags = {
2022-06-27T06:14:20.5147518Z "rovisioned_by" = "terraform"
2022-06-27T06:14:20.5148223Z }
2022-06-27T06:14:20.5148922Z # (8 unchanged attributes hidden)
2022-06-27T06:14:20.5149400Z
2022-06-27T06:14:20.5149778Z
2022-06-27T06:14:20.5150157Z
2022-06-27T06:14:20.5150512Z
2022-06-27T06:14:20.5150886Z
2022-06-27T06:14:20.5151264Z
2022-06-27T06:14:20.5151641Z
2022-06-27T06:14:20.5152001Z
2022-06-27T06:14:20.5152371Z
2022-06-27T06:14:20.5153250Z - robe {
2022-06-27T06:14:20.5155069Z - id = "/subscri
tions/
/resourceGrous/ETN-ES-ResIoTPlatform-Infra-Primary/roviders/Microsoft.Network/alicationGateways/agw-etnresiot--eus/robes/resiotgw--htt***-robe" -> null
2022-06-27T06:14:20.5162329Z - interval = 10 -> null
2022-06-27T06:14:20.5163086Z - minimum_servers = 0 -> null
2022-06-27T06:14:20.5163945Z - name = "resiotgw-
-htt***-robe" -> null
2022-06-27T06:14:20.5165283Z - ath = "/" -> null
2022-06-27T06:14:20.5166336Z - ick_host_name_from_backend_htt_settings = true -> null
2022-06-27T06:14:20.5167153Z - ort = 0 -> null
2022-06-27T06:14:20.5167906Z - rotocol = "Htt" -> null
2022-06-27T06:14:20.5168614Z - timeout = 5 -> null
2022-06-27T06:14:20.5169310Z - unhealthy_threshold = 3 -> null
2022-06-27T06:14:20.5169587Z
2022-06-27T06:14:20.5170107Z - match {
2022-06-27T06:14:20.5170684Z - status_code = [
2022-06-27T06:14:20.5171519Z - "200-500",
2022-06-27T06:14:20.5172169Z ] -> null
2022-06-27T06:14:20.5172550Z }
2022-06-27T06:14:20.5172903Z }
2022-06-27T06:14:20.5173457Z - robe {
2022-06-27T06:14:20.5175381Z - id = "/subscri
tions/
/resourceGrou
s/ETN-ES-ResIoTPlatform-Infra-Primary/roviders/Microsoft.Network/alicationGateways/agw-etnresiot-
-eus/robes/resiotgw--htt***-robe-a" -> null
2022-06-27T06:14:20.5176536Z - interval = 10 -> null
2022-06-27T06:14:20.5177234Z - minimum_servers = 0 -> null
2022-06-27T06:14:20.5178041Z - name = "resiotgw--htt-robe-a" -> null
2022-06-27T06:14:20.5178850Z - ath = "/index.html" -> null
2022-06-27T06:14:20.5179654Z - ick_host_name_from_backend_htt_settings = true -> null
2022-06-27T06:14:20.5180421Z - ort = 0 -> null
2022-06-27T06:14:20.5181144Z - rotocol = "Htt" -> null
2022-06-27T06:14:20.5182143Z - timeout = 5 -> null
2022-06-27T06:14:20.5182851Z - unhealthy_threshold = 3 -> null
2022-06-27T06:14:20.5183101Z
2022-06-27T06:14:20.5183611Z - match {
2022-06-27T06:14:20.5184182Z - status_code = [
2022-06-27T06:14:20.5184778Z - "200-500",
2022-06-27T06:14:20.5185333Z ] -> null
2022-06-27T06:14:20.5185709Z }
2022-06-27T06:14:20.5186046Z }
2022-06-27T06:14:20.5186590Z - robe {
2022-06-27T06:14:20.5190684Z - id = "/subscri
tions/
/resourceGrou
s/ETN-ES-ResIoTPlatform-Infra-Primary/roviders/Microsoft.Network/alicationGateways/agw-etnresiot--eus/robes/resiotgw--htts-robe" -> null
2022-06-27T06:14:20.5191852Z - interval = 10 -> null
2022-06-27T06:14:20.5192560Z - minimum_servers = 0 -> null
2022-06-27T06:14:20.5193359Z - name = "resiotgw-
-htts-robe" -> null
2022-06-27T06:14:20.5194113Z - ath = "/" -> null
2022-06-27T06:14:20.5194897Z - ick_host_name_from_backend_htt_settings = true -> null
2022-06-27T06:14:20.5195662Z - ort = 0 -> null
2022-06-27T06:14:20.5196388Z - rotocol = "Htts" -> null
2022-06-27T06:14:20.5197094Z - timeout = 5 -> null
2022-06-27T06:14:20.5198060Z - unhealthy_threshold = 3 -> null
2022-06-27T06:14:20.5198309Z
2022-06-27T06:14:20.5198828Z - match {
2022-06-27T06:14:20.5199401Z - status_code = [
2022-06-27T06:14:20.5199982Z - "200-500",
2022-06-27T06:14:20.5200554Z ] -> null
2022-06-27T06:14:20.5200942Z }
2022-06-27T06:14:20.5201281Z }
2022-06-27T06:14:20.5201833Z - robe {
2022-06-27T06:14:20.5203188Z - id = "/subscri
tions/
/resourceGrou
s/ETN-ES-ResIoTPlatform-Infra-Primary/roviders/Microsoft.Network/alicationGateways/agw-etnresiot-
-eus/robes/resiotgw--htt
s-robe-a" -> null
2022-06-27T06:14:20.5204289Z - interval = 10 -> null
2022-06-27T06:14:20.5204975Z - minimum_servers = 0 -> null
2022-06-27T06:14:20.5205783Z - name = "resiotgw--htts-robe-a" -> null
2022-06-27T06:14:20.5206599Z - ath = "/index.html" -> null
2022-06-27T06:14:20.5207387Z - ick_host_name_from_backend_htt_settings = true -> null
2022-06-27T06:14:20.5208172Z - ort = 0 -> null
2022-06-27T06:14:20.5208900Z - rotocol = "Htts" -> null
2022-06-27T06:14:20.5209610Z - timeout = 5 -> null
2022-06-27T06:14:20.5210300Z - unhealthy_threshold = 3 -> null
2022-06-27T06:14:20.5210530Z
2022-06-27T06:14:20.5211248Z - match {
2022-06-27T06:14:20.5211894Z - status_code = [
2022-06-27T06:14:20.5212488Z - "200-500",
2022-06-27T06:14:20.5213065Z ] -> null
2022-06-27T06:14:20.5213440Z }
2022-06-27T06:14:20.5213779Z }
2022-06-27T06:14:20.5214163Z + robe {
2022-06-27T06:14:20.5214629Z + id = (known after a
ly)
2022-06-27T06:14:20.5215094Z + interval = 10
2022-06-27T06:14:20.5215545Z + minimum_servers = 0
2022-06-27T06:14:20.5216548Z + name = "resiotgw-
-htt
-robe"
2022-06-27T06:14:20.5217076Z + ath = "/"
2022-06-27T06:14:20.5217600Z + ick_host_name_from_backend_htt_settings = true
2022-06-27T06:14:20.5218123Z + rotocol = "Htt"
2022-06-27T06:14:20.5218579Z + timeout = 5
2022-06-27T06:14:20.5219037Z + unhealthy_threshold = 3
2022-06-27T06:14:20.5219250Z
2022-06-27T06:14:20.5219603Z + match {
2022-06-27T06:14:20.5219991Z + body = "test"
2022-06-27T06:14:20.5220403Z + status_code = [
2022-06-27T06:14:20.5221007Z + "-300",
2022-06-27T06:14:20.5221403Z ]
2022-06-27T06:14:20.5221744Z }
2022-06-27T06:14:20.5222074Z }
2022-06-27T06:14:20.5222450Z + robe {
2022-06-27T06:14:20.5222899Z + id = (known after a
ly)
2022-06-27T06:14:20.5223380Z + interval = 10
2022-06-27T06:14:20.5223845Z + minimum_servers = 0
2022-06-27T06:14:20.5224617Z + name = "resiotgw-
-htt
-robe-a"
2022-06-27T06:14:20.5225173Z + ath = "/index.html"
2022-06-27T06:14:20.5225702Z + ick_host_name_from_backend_htt_settings = true
2022-06-27T06:14:20.5226237Z + rotocol = "Htt"
2022-06-27T06:14:20.5226688Z + timeout = 5
2022-06-27T06:14:20.5227305Z + unhealthy_threshold = 3
2022-06-27T06:14:20.5227705Z }
2022-06-27T06:14:20.5228087Z + robe {
2022-06-27T06:14:20.5228533Z + id = (known after a
ly)
2022-06-27T06:14:20.5229005Z + interval = 10
2022-06-27T06:14:20.5229466Z + minimum_servers = 0
2022-06-27T06:14:20.5230265Z + name = "resiotgw-
-htts-robe"
2022-06-27T06:14:20.5234967Z + ath = "/"
2022-06-27T06:14:20.5235606Z + ick_host_name_from_backend_htt_settings = true
2022-06-27T06:14:20.5236154Z + rotocol = "Htts"
2022-06-27T06:14:20.5236604Z + timeout = 5
2022-06-27T06:14:20.5237059Z + unhealthy_threshold = 3
2022-06-27T06:14:20.5237488Z }
2022-06-27T06:14:20.5237849Z + robe {
2022-06-27T06:14:20.5238296Z + id = (known after a
ly)
2022-06-27T06:14:20.5238773Z + interval = 10
2022-06-27T06:14:20.5239226Z + minimum_servers = 0
2022-06-27T06:14:20.5240130Z + name = "resiotgw-
-htt
s-robe-a"
2022-06-27T06:14:20.5240712Z + ath = "/index.html"
2022-06-27T06:14:20.5241241Z + ick_host_name_from_backend_htt_settings = true
2022-06-27T06:14:20.5241782Z + rotocol = "Htts"
2022-06-27T06:14:20.5242229Z + timeout = 5
2022-06-27T06:14:20.5242679Z + unhealthy_threshold = 3
2022-06-27T06:14:20.5243101Z }
2022-06-27T06:14:20.5243250Z
2022-06-27T06:14:20.5243402Z
2022-06-27T06:14:20.5243986Z - request_routing_rule {
2022-06-27T06:14:20.5245420Z - htt
_listener_id = "/subscri
tions//resourceGrous/ETN-ES-ResIoTPlatform-Infra-Primary/roviders/Microsoft.Network/alicationGateways/agw-etnresiot--eus/httListeners/resiotgw--htt-listener" -> null
2022-06-27T06:14:20.5246909Z - htt***_listener_name = "resiotgw--htt-listener" -> null
2022-06-27T06:14:20.5248403Z - id = "/subscritions//resourceGrous/ETN-ES-ResIoTPlatform-Infra-Primary/roviders/Microsoft.Network/alicationGateways/agw-etnresiot--eus/requestRoutingRules/resiotgw--htt-rule" -> null
2022-06-27T06:14:20.5249566Z - name = "resiotgw--htt-rule" -> null
2022-06-27T06:14:20.5250296Z - riority = 20 -> null
2022-06-27T06:14:20.5251986Z - redirect_configuration_id = "/subscri
tions//resourceGrous/ETN-ES-ResIoTPlatform-Infra-Primary/roviders/Microsoft.Network/alicationGateways/agw-etnresiot--eus/redirectConfigurations/resiotgw--rdrcfg" -> null
2022-06-27T06:14:20.5253283Z - redirect_configuration_name = "resiotgw--rdrcfg" -> null
2022-06-27T06:14:20.5254090Z - rule_ty
e = "Basic" -> null
2022-06-27T06:14:20.5254514Z }
2022-06-27T06:14:20.5255079Z - request_routing_rule {
2022-06-27T06:14:20.5256497Z - htt***_listener_id = "/subscritions//resourceGrous/ETN-ES-ResIoTPlatform-Infra-Primary/roviders/Microsoft.Network/alicationGateways/agw-etnresiot--eus/httListeners/resiotgw--htt***-listener-a***" -> null
2022-06-27T06:14:20.5257746Z - htt***_listener_name = "resiotgw--htt-listener-a***" -> null
2022-06-27T06:14:20.5259235Z - id = "/subscritions//resourceGrous/ETN-ES-ResIoTPlatform-Infra-Primary/roviders/Microsoft.Network/alicationGateways/agw-etnresiot--eus/requestRoutingRules/resiotgw--htt-rule-a***" -> null
2022-06-27T06:14:20.5260645Z - name = "resiotgw--htt-rule-a***" -> null
2022-06-27T06:14:20.5261406Z - riority = 30 -> null
2022-06-27T06:14:20.5262858Z - redirect_configuration_id = "/subscri
tions//resourceGrous/ETN-ES-ResIoTPlatform-Infra-Primary/roviders/Microsoft.Network/alicationGateways/agw-etnresiot--eus/redirectConfigurations/resiotgw--rdrcfg-a***" -> null
2022-06-27T06:14:20.5264115Z - redirect_configuration_name = "resiotgw--rdrcfg-a" -> null
2022-06-27T06:14:20.5264988Z - rule_tye = "Basic" -> null
2022-06-27T06:14:20.5265443Z }
2022-06-27T06:14:20.5265836Z + request_routing_rule {
2022-06-27T06:14:20.5267231Z + htt
listener_id = "/subscritions//resourceGrous/ETN-ES-ResIoTPlatform-Infra-Primary/roviders/Microsoft.Network/alicationGateways/agw-etnresiot--eus/httListeners/resiotgw--htt***-listener-a***"
2022-06-27T06:14:20.5268482Z + htt***listener_name = "resiotgw--htt-listener-a***"
2022-06-27T06:14:20.5269945Z + id = "/subscritions//resourceGrous/ETN-ES-ResIoTPlatform-Infra-Primary/roviders/Microsoft.Network/alicationGateways/agw-etnresiot--eus/requestRoutingRules/resiotgw--htt-rule-a***"
2022-06-27T06:14:20.5271110Z + name = "resiotgw--htt-rule-a***"
2022-06-27T06:14:20.5271631Z + riority = 30
2022-06-27T06:14:20.5273031Z + redirect_configuration_id = "/subscri
tions//resourceGrous/ETN-ES-ResIoTPlatform-Infra-Primary/roviders/Microsoft.Network/alicationGateways/agw-etnresiot--eus/redirectConfigurations/resiotgw--rdrcfg-a***"
2022-06-27T06:14:20.5274265Z + redirect_configuration_name = "resiotgw--rdrcfg-a"
2022-06-27T06:14:20.5275191Z + rule_ty***e = "Basic"
2022-06-27T06:14:20.5275594Z }
2022-06-27T06:14:20.5276252Z - request_routing_rule {
2022-06-27T06:14:20.5277664Z - backend_address
ool_id = "/subscritions//resourceGrous/ETN-ES-ResIoTPlatform-Infra-Primary/roviders/Microsoft.Network/alicationGateways/agw-etnresiot--eus/backendAddressPools/resiotgw--bea***" -> null
2022-06-27T06:14:20.5279138Z - backend_address
ool_name = "resiotgw--bea***" -> null
2022-06-27T06:14:20.5280712Z - backend_htt***_settings_id = "/subscritions//resourceGrous/ETN-ES-ResIoTPlatform-Infra-Primary/roviders/Microsoft.Network/alicationGateways/agw-etnresiot--eus/backendHttSettingsCollection/resiotgw--htts-be-htst" -> null
2022-06-27T06:14:20.5282004Z - backend_htt
_settings_name = "resiotgw--htts-be-htst" -> null
2022-06-27T06:14:20.5283539Z - htt***listener_id = "/subscritions//resourceGrous/ETN-ES-ResIoTPlatform-Infra-Primary/roviders/Microsoft.Network/alicationGateways/agw-etnresiot--eus/httListeners/resiotgw--htts-listener" -> null
2022-06-27T06:14:20.5284767Z - htt
listener_name = "resiotgw--htts-listener" -> null
2022-06-27T06:14:20.5286248Z - id = "/subscritions//resourceGrous/ETN-ES-ResIoTPlatform-Infra-Primary/roviders/Microsoft.Network/alicationGateways/agw-etnresiot--eus/requestRoutingRules/resiotgw--htts-rule" -> null
2022-06-27T06:14:20.5287397Z - name = "resiotgw--htts-rule" -> null
2022-06-27T06:14:20.5288152Z - riority = 40 -> null
2022-06-27T06:14:20.5288853Z - rule_ty
e = "Basic" -> null
2022-06-27T06:14:20.5289880Z }
2022-06-27T06:14:20.5290901Z - request_routing_rule {
2022-06-27T06:14:20.5292589Z - backend_address
ool_id = "/subscritions//resourceGrous/ETN-ES-ResIoTPlatform-Infra-Primary/roviders/Microsoft.Network/alicationGateways/agw-etnresiot--eus/backendAddressPools/resiotgw--bea***-a***" -> null
2022-06-27T06:14:20.5293874Z - backend_address
ool_name = "resiotgw--bea***-a***" -> null
2022-06-27T06:14:20.5295460Z - backend_htt***_settings_id = "/subscritions//resourceGrous/ETN-ES-ResIoTPlatform-Infra-Primary/roviders/Microsoft.Network/alicationGateways/agw-etnresiot--eus/backendHttSettingsCollection/resiotgw--htts-be-htst-a" -> null
2022-06-27T06:14:20.5296780Z - backend_htt***settings_name = "resiotgw--htts-be-htst-a***" -> null
2022-06-27T06:14:20.5298317Z - htt***listener_id = "/subscritions//resourceGrous/ETN-ES-ResIoTPlatform-Infra-Primary/roviders/Microsoft.Network/alicationGateways/agw-etnresiot--eus/httListeners/resiotgw--htts-listener-a" -> null
2022-06-27T06:14:20.5299593Z - htt***listener_name = "resiotgw--htts-listener-a***" -> null
2022-06-27T06:14:20.5301080Z - id = "/subscritions//resourceGrous/ETN-ES-ResIoTPlatform-Infra-Primary/roviders/Microsoft.Network/alicationGateways/agw-etnresiot--eus/requestRoutingRules/resiotgw--htts-rule-a***" -> null
2022-06-27T06:14:20.5302271Z - name = "resiotgw--htts-rule-a***" -> null
2022-06-27T06:14:20.5303031Z - riority = 10 -> null
2022-06-27T06:14:20.5303729Z - rule_ty
e = "Basic" -> null
2022-06-27T06:14:20.5304161Z }
2022-06-27T06:14:20.5304551Z + request_routing_rule {
2022-06-27T06:14:20.5305069Z + backend_address
ool_id = (known after aly)
2022-06-27T06:14:20.5305654Z + backend_htt***settings_id = (known after aly)
2022-06-27T06:14:20.5306215Z + htt
listener_id = (known after aly)
2022-06-27T06:14:20.5307033Z + htt
listener_name = "resiotgw--htt-listener"
2022-06-27T06:14:20.5307600Z + id = (known after aly)
2022-06-27T06:14:20.5308595Z + name = "resiotgw-
-htt***-rule"
2022-06-27T06:14:20.5309105Z + riority = 10
2022-06-27T06:14:20.5309613Z + redirect_configuration_id = (known after a
ly)
2022-06-27T06:14:20.5310429Z + redirect_configuration_name = "resiotgw--rdrcfg"
2022-06-27T06:14:20.5311011Z + rewrite_rule_set_id = (known after a
ly)
2022-06-27T06:14:20.5311520Z + rule_ty***e = "Basic"
2022-06-27T06:14:20.5312025Z + url
ath_maid = (known after a***ly)
2022-06-27T06:14:20.5312463Z }
2022-06-27T06:14:20.5312849Z + request_routing_rule {
2022-06-27T06:14:20.5313368Z + backend_address
ool_id = (known after aly)
2022-06-27T06:14:20.5314186Z + backend_address
ool_name = "resiotgw--bea***"
2022-06-27T06:14:20.5314779Z + backend_htt***settings_id = (known after aly)
2022-06-27T06:14:20.5315614Z + backend_htt
settings_name = "resiotgw--htts-be-htst"
2022-06-27T06:14:20.5316239Z + htt***listener_id = (known after aly)
2022-06-27T06:14:20.5317051Z + htt
listener_name = "resiotgw--htts-listener"
2022-06-27T06:14:20.5317617Z + id = (known after aly)
2022-06-27T06:14:20.5318357Z + name = "resiotgw-
-htts-rule"
2022-06-27T06:14:20.5318859Z + riority = 20
2022-06-27T06:14:20.5319381Z + redirect_configuration_id = (known after a
ly)
2022-06-27T06:14:20.5319931Z + rewrite_rule_set_id = (known after a
ly)
2022-06-27T06:14:20.5320609Z + rule_ty***e = "Basic"
2022-06-27T06:14:20.5321128Z + url
ath_maid = (known after a***ly)
2022-06-27T06:14:20.5321554Z }
2022-06-27T06:14:20.5321942Z + request_routing_rule {
2022-06-27T06:14:20.5322462Z + backend_address
ool_id = (known after aly)
2022-06-27T06:14:20.5323328Z + backend_address
ool_name = "resiotgw--bea***-a***"
2022-06-27T06:14:20.5323952Z + backend_htt***settings_id = (known after aly)
2022-06-27T06:14:20.5324797Z + backend_htt
settings_name = "resiotgw--htts-be-htst-a***"
2022-06-27T06:14:20.5325423Z + htt***listener_id = (known after aly)
2022-06-27T06:14:20.5326225Z + htt
listener_name = "resiotgw--htts-listener-a***"
2022-06-27T06:14:20.5326806Z + id = (known after aly)
2022-06-27T06:14:20.5327542Z + name = "resiotgw-
-htts-rule-a"
2022-06-27T06:14:20.5328077Z + riority = 40
2022-06-27T06:14:20.5328579Z + redirect_configuration_id = (known after a
ly)
2022-06-27T06:14:20.5329143Z + rewrite_rule_set_id = (known after aly)
2022-06-27T06:14:20.5329652Z + rule_ty
e = "Basic"
2022-06-27T06:14:20.5330164Z + url
ath_maid = (known after aly)
2022-06-27T06:14:20.5330592Z }
2022-06-27T06:14:20.5330743Z
2022-06-27T06:14:20.5330895Z
2022-06-27T06:14:20.5331200Z
2022-06-27T06:14:20.5331351Z
2022-06-27T06:14:20.5331764Z # (23 unchanged blocks hidden)
2022-06-27T06:14:20.5332151Z }
2022-06-27T06:14:20.5332306Z
2022-06-27T06:14:20.5333161Z # azurerm_function_a
.ftnConsumerEnergy will be udated in-lace
2022-06-27T06:14:20.5333816Z ~ resource "azurerm_function_a
" "ftnConsumerEnergy" {
2022-06-27T06:14:20.5334561Z - client_cert_mode = "Required" -> null
2022-06-27T06:14:20.5335813Z id = "/subscri
tions//resourceGrous/rg-etn-es-resiiot-ai-/roviders/Microsoft.Web/sites/ftn-etn-es-resiiot-ai--ConsumerEnergy"
2022-06-27T06:14:20.5336866Z name = "ftn-etn-es-resiiot-a
i--ConsumerEnergy"
2022-06-27T06:14:20.5337586Z tags = {
2022-06-27T06:14:20.5338055Z "Function A
" = "CosumerEnergy"
2022-06-27T06:14:20.5338536Z "rovisioned_by" = "terraform"
2022-06-27T06:14:20.5338943Z }
2022-06-27T06:14:20.5343690Z # (19 unchanged attributes hidden)
2022-06-27T06:14:20.5343993Z
2022-06-27T06:14:20.5344151Z
2022-06-27T06:14:20.5344285Z
2022-06-27T06:14:20.5344431Z
2022-06-27T06:14:20.5344835Z # (4 unchanged blocks hidden)
2022-06-27T06:14:20.5345229Z }
2022-06-27T06:14:20.5345390Z
2022-06-27T06:14:20.5346337Z # azurerm_function_a
.ftnSuortDashboard will be udated in-lace
2022-06-27T06:14:20.5347045Z ~ resource "azurerm_function_a
" "ftnSuortDashboard" {
2022-06-27T06:14:20.5347833Z - client_cert_mode = "Required" -> null
2022-06-27T06:14:20.5349098Z id = "/subscri
tions//resourceGrous/rg-etn-es-resiiot-ai-/roviders/Microsoft.Web/sites/ftn-etn-es-resiiot-ai--SuortDashboard"
2022-06-27T06:14:20.5350197Z name = "ftn-etn-es-resiiot-ai--SuortDashboard"
2022-06-27T06:14:20.5350750Z ~ tags = {
2022-06-27T06:14:20.5352099Z - "hidden-link: /a
-insights-conn-string" = "InstrumentationKey=ca25b442-05dd-49b1-84bc-67eed9a6cf91;IngestionEndoint=htts://test.azure.com/" -> null
2022-06-27T06:14:20.5353510Z - "hidden-link: /a***-insights-instrumentation-key" = "ca25b442-05dd-49b1-84bc-67eed9a6cf91" -> null
2022-06-27T06:14:20.5355271Z - "hidden-link: /a***-insights-resource-id" = "/subscritions//resourceGrous/rg-etn-es-resiiot-ai-/roviders/microsoft.insights/comonents/ai-etn-es-resiiot--ftn" -> null
2022-06-27T06:14:20.5356121Z # (2 unchanged elements hidden)
2022-06-27T06:14:20.5356554Z }
2022-06-27T06:14:20.5356976Z # (19 unchanged attributes hidden)
2022-06-27T06:14:20.5357192Z
2022-06-27T06:14:20.5357348Z
2022-06-27T06:14:20.5357483Z
2022-06-27T06:14:20.5357842Z ~ site_config {
2022-06-27T06:14:20.5358303Z ~ i
restriction = [
2022-06-27T06:14:20.5358713Z + {
2022-06-27T06:14:20.5359118Z + action = "Allow"
2022-06-27T06:14:20.5359571Z + headers = []
2022-06-27T06:14:20.5360026Z + i***address = null
2022-06-27T06:14:20.5360537Z + name = "AllowInboundFromAim"
2022-06-27T06:14:20.5361036Z + riority = 101
2022-06-27T06:14:20.5361493Z + service_tag = null
2022-06-27T06:14:20.5362905Z + virtual_network_subnet_id = "/subscri
tions/
/resourceGrous/ETN-ES-ResIoTPlatform-Infra-Primary/roviders/Microsoft.Network/virtualNetworks/vnet-etn-es-resiot/subnets/snet-aim"
2022-06-27T06:14:20.5363708Z },
2022-06-27T06:14:20.5364075Z ]
2022-06-27T06:14:20.5364500Z # (15 unchanged attributes hidden)
2022-06-27T06:14:20.5364717Z
2022-06-27T06:14:20.5365123Z # (1 unchanged block hidden)
2022-06-27T06:14:20.5365517Z }
2022-06-27T06:14:20.5365665Z
2022-06-27T06:14:20.5366060Z # (3 unchanged blocks hidden)
2022-06-27T06:14:20.5366466Z }
2022-06-27T06:14:20.5366609Z
2022-06-27T06:14:20.5504786Z # azurerm_function_a
.ftnbas will be udated in-lace
2022-06-27T06:14:20.5506039Z ~ resource "azurerm_function_a
" "ftnbas" {
2022-06-27T06:14:20.5507186Z - client_cert_mode = "Required" -> null
2022-06-27T06:14:20.5508853Z id = "/subscri
tions//resourceGrous/rg-etn-es-resiiot-ai-/roviders/Microsoft.Web/sites/ftn-etn-es-resiiot-ai--bas"
2022-06-27T06:14:20.5510745Z name = "ftn-etn-es-resiiot-a
i--bas"
2022-06-27T06:14:20.5511636Z tags = {
2022-06-27T06:14:20.5512390Z "Function A
" = "Bas"
2022-06-27T06:14:20.5513837Z "rovisioned_by" = "terraform"
2022-06-27T06:14:20.5514509Z }
2022-06-27T06:14:20.5515083Z # (19 unchanged attributes hidden)
2022-06-27T06:14:20.5515439Z
2022-06-27T06:14:20.5515687Z
2022-06-27T06:14:20.5515927Z
2022-06-27T06:14:20.5516193Z
2022-06-27T06:14:20.5516706Z # (4 unchanged blocks hidden)
2022-06-27T06:14:20.5517243Z }
2022-06-27T06:14:20.5517518Z
2022-06-27T06:14:20.5612040Z # azurerm_function_a
.ftnices will be udated in-lace
2022-06-27T06:14:20.5613154Z ~ resource "azurerm_function_a
" "ftnices" {
2022-06-27T06:14:20.5614327Z - client_cert_mode = "Required" -> null
2022-06-27T06:14:20.5615988Z id = "/subscri
tions//resourceGrous/rg-etn-es-resiiot-ai-/roviders/Microsoft.Web/sites/ftn-etn-es-resiiot-ai--ices"
2022-06-27T06:14:20.5617562Z name = "ftn-etn-es-resiiot-a
i-
-ices"
2022-06-27T06:14:20.5618481Z tags = {
2022-06-27T06:14:20.5619235Z "Function A
" = "ices"
2022-06-27T06:14:20.5619983Z "rovisioned_by" = "terraform"
2022-06-27T06:14:20.5620649Z }
2022-06-27T06:14:20.5621486Z # (19 unchanged attributes hidden)
2022-06-27T06:14:20.5621936Z
2022-06-27T06:14:20.5622327Z
2022-06-27T06:14:20.5622967Z
2022-06-27T06:14:20.5623354Z
2022-06-27T06:14:20.5624028Z # (4 unchanged blocks hidden)
2022-06-27T06:14:20.5624803Z }
2022-06-27T06:14:20.5625322Z
2022-06-27T06:14:20.5717329Z # azurerm_function_a
.ftnemcb will be u
dated in-lace
2022-06-27T06:14:20.5718382Z ~ resource "azurerm_function_a
" "ftnemcb" {
2022-06-27T06:14:20.5719632Z - client_cert_mode = "Required" -> null
2022-06-27T06:14:20.5721385Z id = "/subscritions//resourceGrous/rg-etn-es-resiiot-ai-/roviders/Microsoft.Web/sites/ftn-etn-es-resiiot-ai--emcb"
2022-06-27T06:14:20.5722816Z name = "ftn-etn-es-resiiot-ai--emcb"
2022-06-27T06:14:20.5723686Z ~ tags = {
2022-06-27T06:14:20.5725419Z - "hidden-link: /a***-insights-conn-string" = "InstrumentationKey=ca25b442-05dd-49b1-84bc-67eed9a6cf91;IngestionEndoint=test.azure.com" -> null
2022-06-27T06:14:20.5729780Z - "hidden-link: /a
-insights-instrumentation-key" = "ca25b442-05dd-49b1-84bc-67eed9a6cf91" -> null
2022-06-27T06:14:20.5731672Z - "hidden-link: /a***-insights-resource-id" = "/subscritions//resourceGrous/rg-etn-es-resiiot-ai-/roviders/microsoft.insights/comonents/ai-etn-es-resiiot--ftn" -> null
2022-06-27T06:14:20.5732608Z # (2 unchanged elements hidden)
2022-06-27T06:14:20.5733016Z }
2022-06-27T06:14:20.5733441Z # (19 unchanged attributes hidden)
2022-06-27T06:14:20.5733671Z
2022-06-27T06:14:20.5733808Z
2022-06-27T06:14:20.5733955Z
2022-06-27T06:14:20.5734088Z
2022-06-27T06:14:20.5734474Z # (4 unchanged blocks hidden)
2022-06-27T06:14:20.5735109Z }
2022-06-27T06:14:20.5735255Z
2022-06-27T06:14:20.5832174Z # azurerm_function_a
.ftnextCloudProvider will be udated in-lace
2022-06-27T06:14:20.5832924Z ~ resource "azurerm_function_a
" "ftnextCloudProvider" {
2022-06-27T06:14:20.5833735Z - client_cert_mode = "Required" -> null
2022-06-27T06:14:20.5835007Z id = "/subscri
tions//resourceGrous/rg-etn-es-resiiot-ai-/roviders/Microsoft.Web/sites/ftn-etn-es-resiiot-ai--extCloudProvider"
2022-06-27T06:14:20.5836731Z name = "ftn-etn-es-resiiot-a
i--extCloudProvider"
2022-06-27T06:14:20.5837263Z tags = {
2022-06-27T06:14:20.5837760Z "Function A
" = "extCloudProvider Google/Amazon"
2022-06-27T06:14:20.5838302Z "rovisioned_by" = "terraform"
2022-06-27T06:14:20.5838707Z }
2022-06-27T06:14:20.5839126Z # (19 unchanged attributes hidden)
2022-06-27T06:14:20.5839356Z
2022-06-27T06:14:20.5839492Z
2022-06-27T06:14:20.5839639Z
2022-06-27T06:14:20.5839773Z
2022-06-27T06:14:20.5840164Z # (4 unchanged blocks hidden)
2022-06-27T06:14:20.5840581Z }
2022-06-27T06:14:20.5840724Z
2022-06-27T06:14:20.5931569Z # azurerm_function_a
.ftnfactory will be udated in-lace
2022-06-27T06:14:20.5932245Z ~ resource "azurerm_function_a
" "ftnfactory" {
2022-06-27T06:14:20.5933057Z - client_cert_mode = "Required" -> null
2022-06-27T06:14:20.5934325Z id = "/subscri
tions//resourceGrous/rg-etn-es-resiiot-ai-/roviders/Microsoft.Web/sites/ftn-etn-es-resiiot-ai--factory"
2022-06-27T06:14:20.5935371Z name = "ftn-etn-es-resiiot-a
i--factory"
2022-06-27T06:14:20.5935883Z tags = {
2022-06-27T06:14:20.5936337Z "Function A
" = "factory"
2022-06-27T06:14:20.5936826Z "rovisioned_by" = "terraform"
2022-06-27T06:14:20.5937231Z }
2022-06-27T06:14:20.5937654Z # (19 unchanged attributes hidden)
2022-06-27T06:14:20.5937887Z
2022-06-27T06:14:20.5938243Z
2022-06-27T06:14:20.5938393Z
2022-06-27T06:14:20.5938528Z
2022-06-27T06:14:20.5938935Z # (4 unchanged blocks hidden)
2022-06-27T06:14:20.5939344Z }
2022-06-27T06:14:20.5939488Z
2022-06-27T06:14:20.6096895Z # azurerm_function_a
.ftnfeatures will be udated in-lace
2022-06-27T06:14:20.6098172Z ~ resource "azurerm_function_a
" "ftnfeatures" {
2022-06-27T06:14:20.6099378Z - client_cert_mode = "Required" -> null
2022-06-27T06:14:20.6101145Z id = "/subscri
tions//resourceGrous/rg-etn-es-resiiot-ai-/roviders/Microsoft.Web/sites/ftn-etn-es-resiiot-ai--features"
2022-06-27T06:14:20.6102661Z name = "ftn-etn-es-resiiot-a
i--features"
2022-06-27T06:14:20.6103568Z tags = {
2022-06-27T06:14:20.6104320Z "Function A
" = "features"
2022-06-27T06:14:20.6105118Z "rovisioned_by" = "terraform"
2022-06-27T06:14:20.6105834Z }
2022-06-27T06:14:20.6106544Z # (19 unchanged attributes hidden)
2022-06-27T06:14:20.6107004Z
2022-06-27T06:14:20.6107396Z
2022-06-27T06:14:20.6107763Z
2022-06-27T06:14:20.6108143Z
2022-06-27T06:14:20.6108802Z # (4 unchanged blocks hidden)
2022-06-27T06:14:20.6109464Z }
2022-06-27T06:14:20.6109882Z
2022-06-27T06:14:20.6219694Z # azurerm_function_a
.ftnmas will be udated in-lace
2022-06-27T06:14:20.6220902Z ~ resource "azurerm_function_a
" "ftnmas" {
2022-06-27T06:14:20.6222148Z - client_cert_mode = "Required" -> null
2022-06-27T06:14:20.6223852Z id = "/subscri
tions//resourceGrous/rg-etn-es-resiiot-ai-/roviders/Microsoft.Web/sites/ftn-etn-es-resiiot-ai--mas"
2022-06-27T06:14:20.6225321Z name = "ftn-etn-es-resiiot-ai--mas"
2022-06-27T06:14:20.6226210Z tags = {
2022-06-27T06:14:20.6226996Z "Function A
" = "mas"
2022-06-27T06:14:20.6227781Z "rovisioned_by" = "terraform"
2022-06-27T06:14:20.6228464Z }
2022-06-27T06:14:20.6229163Z # (19 unchanged attributes hidden)
2022-06-27T06:14:20.6229643Z
2022-06-27T06:14:20.6230012Z
2022-06-27T06:14:20.6230812Z
2022-06-27T06:14:20.6231186Z
2022-06-27T06:14:20.6231871Z # (4 unchanged blocks hidden)
2022-06-27T06:14:20.6232538Z }
2022-06-27T06:14:20.6232922Z
2022-06-27T06:14:20.6317305Z # azurerm_function_a
.ftnnotif will be u
dated in-lace
2022-06-27T06:14:20.6318359Z ~ resource "azurerm_function_a
" "ftnnotif" {
2022-06-27T06:14:20.6319501Z - client_cert_mode = "Required" -> null
2022-06-27T06:14:20.6321150Z id = "/subscritions//resourceGrous/rg-etn-es-resiiot-ai-/roviders/Microsoft.Web/sites/ftn-etn-es-resiiot-ai--notification"
2022-06-27T06:14:20.6322658Z name = "ftn-etn-es-resiiot-ai--notification"
2022-06-27T06:14:20.6323551Z tags = {
2022-06-27T06:14:20.6324344Z "Function A***" = "notification"
2022-06-27T06:14:20.6325127Z "rovisioned_by" = "terraform"
2022-06-27T06:14:20.6325836Z }
2022-06-27T06:14:20.6327198Z # (19 unchanged attributes hidden)
2022-06-27T06:14:20.6327618Z
2022-06-27T06:14:20.6327887Z
2022-06-27T06:14:20.6328151Z
2022-06-27T06:14:20.6328389Z
2022-06-27T06:14:20.6328917Z # (4 unchanged blocks hidden)
2022-06-27T06:14:20.6329459Z }
2022-06-27T06:14:20.6329721Z
2022-06-27T06:14:20.6417224Z # azurerm_function_a
.ftnota will be udated in-lace
2022-06-27T06:14:20.6418112Z ~ resource "azurerm_function_a
" "ftnota" {
2022-06-27T06:14:20.6419075Z - client_cert_mode = "Required" -> null
2022-06-27T06:14:20.6420578Z id = "/subscri
tions//resourceGrous/rg-etn-es-resiiot-ai-/roviders/Microsoft.Web/sites/ftn-etn-es-resiiot-ai--ota"
2022-06-27T06:14:20.6422269Z name = "ftn-etn-es-resiiot-a
i--ota"
2022-06-27T06:14:20.6422987Z tags = {
2022-06-27T06:14:20.6423596Z "Function A
" = "ota"
2022-06-27T06:14:20.6424245Z "rovisioned_by" = "terraform"
2022-06-27T06:14:20.6424789Z }
2022-06-27T06:14:20.6425362Z # (19 unchanged attributes hidden)
2022-06-27T06:14:20.6425693Z
2022-06-27T06:14:20.6425957Z
2022-06-27T06:14:20.6426199Z
2022-06-27T06:14:20.6426455Z
2022-06-27T06:14:20.6426971Z # (4 unchanged blocks hidden)
2022-06-27T06:14:20.6427494Z }
2022-06-27T06:14:20.6427764Z
2022-06-27T06:14:20.6516377Z # azurerm_function_a
.ftnregistration will be udated in-lace
2022-06-27T06:14:20.6517437Z ~ resource "azurerm_function_a
" "ftnregistration" {
2022-06-27T06:14:20.6518462Z - client_cert_mode = "Required" -> null
2022-06-27T06:14:20.6520048Z id = "/subscri
tions//resourceGrous/rg-etn-es-resiiot-ai-/roviders/Microsoft.Web/sites/ftn-etn-es-resiiot-ai--registration"
2022-06-27T06:14:20.6521374Z name = "ftn-etn-es-resiiot-a
i--registration"
2022-06-27T06:14:20.6522143Z tags = {
2022-06-27T06:14:20.6522840Z "Function A
" = "registration"
2022-06-27T06:14:20.6523512Z "rovisioned_by" = "terraform"
2022-06-27T06:14:20.6524078Z }
2022-06-27T06:14:20.6525038Z # (19 unchanged attributes hidden)
2022-06-27T06:14:20.6525445Z
2022-06-27T06:14:20.6525766Z
2022-06-27T06:14:20.6526447Z
2022-06-27T06:14:20.6526830Z
2022-06-27T06:14:20.6527505Z # (4 unchanged blocks hidden)
2022-06-27T06:14:20.6528054Z }
2022-06-27T06:14:20.6528860Z
2022-06-27T06:14:20.6617468Z # azurerm_function_a
.ftnscenes will be udated in-lace
2022-06-27T06:14:20.6618164Z ~ resource "azurerm_function_a
" "ftnscenes" {
2022-06-27T06:14:20.6618944Z - client_cert_mode = "Required" -> null
2022-06-27T06:14:20.6620179Z id = "/subscri
tions//resourceGrous/rg-etn-es-resiiot-ai-/roviders/Microsoft.Web/sites/ftn-etn-es-resiiot-ai--scenes"
2022-06-27T06:14:20.6621653Z name = "ftn-etn-es-resiiot-a
i--scenes"
2022-06-27T06:14:20.6622190Z tags = {
2022-06-27T06:14:20.6622635Z "Function A
" = "scenes"
2022-06-27T06:14:20.6623105Z "rovisioned_by" = "terraform"
2022-06-27T06:14:20.6623518Z }
2022-06-27T06:14:20.6623933Z # (19 unchanged attributes hidden)
2022-06-27T06:14:20.6624146Z
2022-06-27T06:14:20.6624299Z
2022-06-27T06:14:20.6624427Z
2022-06-27T06:14:20.6624570Z
2022-06-27T06:14:20.6624956Z # (4 unchanged blocks hidden)
2022-06-27T06:14:20.6625360Z }
2022-06-27T06:14:20.6625518Z
2022-06-27T06:14:20.6734886Z # azurerm_function_a
.ftnschedules will be udated in-lace
2022-06-27T06:14:20.6736036Z ~ resource "azurerm_function_a
" "ftnschedules" {
2022-06-27T06:14:20.6737184Z - client_cert_mode = "Required" -> null
2022-06-27T06:14:20.6738887Z id = "/subscri
tions//resourceGrous/rg-etn-es-resiiot-ai-/roviders/Microsoft.Web/sites/ftn-etn-es-resiiot-ai--schedules"
2022-06-27T06:14:20.6740371Z name = "ftn-etn-es-resiiot-a
i--schedules"
2022-06-27T06:14:20.6741272Z tags = {
2022-06-27T06:14:20.6742034Z "Function A
" = "schedules"
2022-06-27T06:14:20.6742822Z "rovisioned_by" = "terraform"
2022-06-27T06:14:20.6743515Z }
2022-06-27T06:14:20.6744209Z # (19 unchanged attributes hidden)
2022-06-27T06:14:20.6744681Z
2022-06-27T06:14:20.6745382Z
2022-06-27T06:14:20.6745778Z
2022-06-27T06:14:20.6746162Z
2022-06-27T06:14:20.6746849Z # (4 unchanged blocks hidden)
2022-06-27T06:14:20.6747517Z }
2022-06-27T06:14:20.6747902Z
2022-06-27T06:14:20.6907032Z # azurerm_function_a
.ftnsendnotification will be udated in-lace
2022-06-27T06:14:20.6908243Z ~ resource "azurerm_function_a
" "ftnsendnotification" {
2022-06-27T06:14:20.6909460Z - client_cert_mode = "Required" -> null
2022-06-27T06:14:20.6911156Z id = "/subscri
tions//resourceGrous/rg-etn-es-resiiot-ai-/roviders/Microsoft.Web/sites/ftn-etn-es-resiiot-ai--sendnotification"
2022-06-27T06:14:20.6912652Z name = "ftn-etn-es-resiiot-a
i--sendnotification"
2022-06-27T06:14:20.6913518Z tags = {
2022-06-27T06:14:20.6914472Z "Function A
" = "sendnotification"
2022-06-27T06:14:20.6915037Z "rovisioned_by" = "terraform"
2022-06-27T06:14:20.6915464Z }
2022-06-27T06:14:20.6915944Z # (19 unchanged attributes hidden)
2022-06-27T06:14:20.6916161Z
2022-06-27T06:14:20.6916314Z
2022-06-27T06:14:20.6916447Z
2022-06-27T06:14:20.6916592Z
2022-06-27T06:14:20.6916982Z # (4 unchanged blocks hidden)
2022-06-27T06:14:20.6917377Z }
2022-06-27T06:14:20.6917534Z
2022-06-27T06:14:20.7021820Z # azurerm_function_a
.ftnsignalr will be udated in-lace
2022-06-27T06:14:20.7022560Z ~ resource "azurerm_function_a
" "ftnsignalr" {
2022-06-27T06:14:20.7023353Z - client_cert_mode = "Required" -> null
2022-06-27T06:14:20.7024603Z id = "/subscri
tions//resourceGrous/rg-etn-es-resiiot-ai-/roviders/Microsoft.Web/sites/ftn-etn-es-resiiot-ai--signalr"
2022-06-27T06:14:20.7025637Z name = "ftn-etn-es-resiiot-a
i--signalr"
2022-06-27T06:14:20.7026147Z tags = {
2022-06-27T06:14:20.7026629Z "Function A
" = "signalr"
2022-06-27T06:14:20.7027100Z "rovisioned_by" = "terraform"
2022-06-27T06:14:20.7027516Z }
2022-06-27T06:14:20.7027932Z # (19 unchanged attributes hidden)
2022-06-27T06:14:20.7028142Z
2022-06-27T06:14:20.7028297Z
2022-06-27T06:14:20.7028822Z
2022-06-27T06:14:20.7028973Z
2022-06-27T06:14:20.7029381Z # (4 unchanged blocks hidden)
2022-06-27T06:14:20.7029767Z }
2022-06-27T06:14:20.7029925Z
2022-06-27T06:14:20.7121712Z # azurerm_function_a
.ftnsites will be udated in-lace
2022-06-27T06:14:20.7122449Z ~ resource "azurerm_function_a
" "ftnsites" {
2022-06-27T06:14:20.7123233Z - client_cert_mode = "Required" -> null
2022-06-27T06:14:20.7124465Z id = "/subscri
tions//resourceGrous/rg-etn-es-resiiot-ai-/roviders/Microsoft.Web/sites/ftn-etn-es-resiiot-ai--sites"
2022-06-27T06:14:20.7125477Z name = "ftn-etn-es-resiiot-a
i--sites"
2022-06-27T06:14:20.7126004Z tags = {
2022-06-27T06:14:20.7126459Z "Function A
" = "sites"
2022-06-27T06:14:20.7126925Z "rovisioned_by" = "terraform"
2022-06-27T06:14:20.7127335Z }
2022-06-27T06:14:20.7127758Z # (19 unchanged attributes hidden)
2022-06-27T06:14:20.7127971Z
2022-06-27T06:14:20.7128125Z
2022-06-27T06:14:20.7128258Z
2022-06-27T06:14:20.7128401Z
2022-06-27T06:14:20.7128785Z # (4 unchanged blocks hidden)
2022-06-27T06:14:20.7129167Z }
2022-06-27T06:14:20.7129323Z
2022-06-27T06:14:20.7220103Z # azurerm_function_a
.ftnthirdartycloudsync will be udated in-lace
2022-06-27T06:14:20.7220968Z ~ resource "azurerm_function_a
" "ftnthirdartycloudsync" {
2022-06-27T06:14:20.7221812Z - client_cert_mode = "Required" -> null
2022-06-27T06:14:20.7223103Z id = "/subscri
tions//resourceGrous/rg-etn-es-resiiot-ai-/roviders/Microsoft.Web/sites/ftn-etn-es-resiiot-ai--thirdartycloudsync"
2022-06-27T06:14:20.7224653Z name = "ftn-etn-es-resiiot-ai--thirdartycloudsync"
2022-06-27T06:14:20.7225216Z tags = {
2022-06-27T06:14:20.7225698Z "Function A
" = "thirdartycloudsync"
2022-06-27T06:14:20.7226194Z "rovisioned_by" = "terraform"
2022-06-27T06:14:20.7226606Z }
2022-06-27T06:14:20.7227019Z # (19 unchanged attributes hidden)
2022-06-27T06:14:20.7227232Z
2022-06-27T06:14:20.7227385Z
2022-06-27T06:14:20.7227514Z
2022-06-27T06:14:20.7227657Z
2022-06-27T06:14:20.7228045Z # (4 unchanged blocks hidden)
2022-06-27T06:14:20.7228430Z }
2022-06-27T06:14:20.7228584Z
2022-06-27T06:14:20.7318875Z # azurerm_function_a
.ftnuser will be u
dated in-lace
2022-06-27T06:14:20.7319607Z ~ resource "azurerm_function_a
" "ftnuser" {
2022-06-27T06:14:20.7320411Z - client_cert_mode = "Required" -> null
2022-06-27T06:14:20.7321634Z id = "/subscritions//resourceGrous/rg-etn-es-resiiot-ai-/roviders/Microsoft.Web/sites/ftn-etn-es-resiiot-ai--user"
2022-06-27T06:14:20.7322681Z name = "ftn-etn-es-resiiot-ai--user"
2022-06-27T06:14:20.7323198Z tags = {
2022-06-27T06:14:20.7323632Z "Function A***" = "User"
2022-06-27T06:14:20.7324099Z "rovisioned_by" = "terraform"
2022-06-27T06:14:20.7324509Z }
2022-06-27T06:14:20.7325503Z # (19 unchanged attributes hidden)
2022-06-27T06:14:20.7326533Z
2022-06-27T06:14:20.7326718Z
2022-06-27T06:14:20.7326852Z
2022-06-27T06:14:20.7326996Z
2022-06-27T06:14:20.7327417Z # (4 unchanged blocks hidden)
2022-06-27T06:14:20.7327807Z }
2022-06-27T06:14:20.7327963Z
2022-06-27T06:14:20.7475750Z # azurerm_function_a
.ftnusergrous will be udated in-lace
2022-06-27T06:14:20.7477284Z ~ resource "azurerm_function_a
" "ftnusergrous" {
2022-06-27T06:14:20.7478514Z - client_cert_mode = "Required" -> null
2022-06-27T06:14:20.7480206Z id = "/subscri
tions//resourceGrous/rg-etn-es-resiiot-ai-/roviders/Microsoft.Web/sites/ftn-etn-es-resiiot-ai--usergrous"
2022-06-27T06:14:20.7482169Z name = "ftn-etn-es-resiiot-ai--usergrous"
2022-06-27T06:14:20.7483084Z tags = {
2022-06-27T06:14:20.7483843Z "Function A
" = "usergrous"
2022-06-27T06:14:20.7484640Z "rovisioned_by" = "terraform"
2022-06-27T06:14:20.7485325Z }
2022-06-27T06:14:20.7486014Z # (19 unchanged attributes hidden)
2022-06-27T06:14:20.7486486Z
2022-06-27T06:14:20.7486858Z
2022-06-27T06:14:20.7487240Z
2022-06-27T06:14:20.7487623Z
2022-06-27T06:14:20.7488300Z # (4 unchanged blocks hidden)
2022-06-27T06:14:20.7488962Z }
2022-06-27T06:14:20.7489340Z
2022-06-27T06:14:20.7520862Z # azurerm_monitor_diagnostic_setting.dsas-documentation will be u
dated in-lace
2022-06-27T06:14:20.7522300Z ~ resource "azurerm_monitor_diagnostic_setting" "dsas-documentation" {
2022-06-27T06:14:20.7524133Z id = "/subscri
tions/
/resourceGrous/ETN-ES-ResIoTPlatform-Infra-Primary/roviders/Microsoft.Web/sites/a-resi-iot-ai-documentation|diag-setting-doc-"
2022-06-27T06:14:20.7525634Z name = "diag-setting-doc-
"
2022-06-27T06:14:20.7526502Z # (2 unchanged attributes hidden)
2022-06-27T06:14:20.7526989Z
2022-06-27T06:14:20.7527827Z - log {
2022-06-27T06:14:20.7528905Z - category = "A***ServiceConsoleLogs" -> null
2022-06-27T06:14:20.7530007Z - enabled = false -> null
2022-06-27T06:14:20.7530512Z
2022-06-27T06:14:20.7532015Z - retention
olicy {
2022-06-27T06:14:20.7533060Z - days = 0 -> null
2022-06-27T06:14:20.7534077Z - enabled = false -> null
2022-06-27T06:14:20.7534832Z }
2022-06-27T06:14:20.7535451Z }
2022-06-27T06:14:20.7536294Z - log {
2022-06-27T06:14:20.7537365Z - category = "A
ServicePlatformLogs" -> null
2022-06-27T06:14:20.7538424Z - enabled = false -> null
2022-06-27T06:14:20.7538806Z
2022-06-27T06:14:20.7539586Z - retention
olicy {
2022-06-27T06:14:20.7540437Z - days = 0 -> null
2022-06-27T06:14:20.7541371Z - enabled = false -> null
2022-06-27T06:14:20.7541980Z }
2022-06-27T06:14:20.7542457Z }
2022-06-27T06:14:20.7542738Z
2022-06-27T06:14:20.7543255Z # (5 unchanged blocks hidden)
2022-06-27T06:14:20.7543767Z }
2022-06-27T06:14:20.7544040Z
2022-06-27T06:14:20.7579884Z # azurerm_monitor_diagnostic_setting.dsas-oauthlogin will be u
dated in-lace
2022-06-27T06:14:20.7581198Z ~ resource "azurerm_monitor_diagnostic_setting" "dsas-oauthlogin" {
2022-06-27T06:14:20.7582851Z id = "/subscri
tions//resourceGrous/rg-etn-es-resiiot-ai-/roviders/Microsoft.Web/sites/a-etn-es-resiiot-ai--oauthlogin|diag-setting-oauthlogin-"
2022-06-27T06:14:20.7584264Z name = "diag-setting-oauthlogin-
"
2022-06-27T06:14:20.7584995Z # (2 unchanged attributes hidden)
2022-06-27T06:14:20.7585363Z
2022-06-27T06:14:20.7586051Z - log {
2022-06-27T06:14:20.7587012Z - category = "A***ServiceAntivirusScanAuditLogs" -> null
2022-06-27T06:14:20.7587979Z - enabled = false -> null
2022-06-27T06:14:20.7588367Z
2022-06-27T06:14:20.7593795Z - retention
olicy {
2022-06-27T06:14:20.7595188Z - days = 0 -> null
2022-06-27T06:14:20.7596092Z - enabled = false -> null
2022-06-27T06:14:20.7596685Z }
2022-06-27T06:14:20.7597209Z }
2022-06-27T06:14:20.7597882Z - log {
2022-06-27T06:14:20.7598817Z - category = "A
ServiceConsoleLogs" -> null
2022-06-27T06:14:20.7599747Z - enabled = false -> null
2022-06-27T06:14:20.7600134Z
2022-06-27T06:14:20.7600889Z - retention
olicy {
2022-06-27T06:14:20.7602058Z - days = 0 -> null
2022-06-27T06:14:20.7602913Z - enabled = false -> null
2022-06-27T06:14:20.7603507Z }
2022-06-27T06:14:20.7603991Z }
2022-06-27T06:14:20.7604681Z - log {
2022-06-27T06:14:20.7605591Z - category = "A
ServiceFileAuditLogs" -> null
2022-06-27T06:14:20.7608194Z - enabled = false -> null
2022-06-27T06:14:20.7608642Z
2022-06-27T06:14:20.7609473Z - retention
olicy {
2022-06-27T06:14:20.7610336Z - days = 0 -> null
2022-06-27T06:14:20.7611444Z - enabled = false -> null
2022-06-27T06:14:20.7612114Z }
2022-06-27T06:14:20.7612601Z }
2022-06-27T06:14:20.7613341Z - log {
2022-06-27T06:14:20.7614244Z - category = "A
ServicePlatformLogs" -> null
2022-06-27T06:14:20.7615191Z - enabled = false -> null
2022-06-27T06:14:20.7615563Z
2022-06-27T06:14:20.7616315Z - retention
olicy {
2022-06-27T06:14:20.7617198Z - days = 0 -> null
2022-06-27T06:14:20.7618103Z - enabled = false -> null
2022-06-27T06:14:20.7618703Z }
2022-06-27T06:14:20.7619188Z }
2022-06-27T06:14:20.7619451Z
2022-06-27T06:14:20.7619987Z # (5 unchanged blocks hidden)
2022-06-27T06:14:20.7620511Z }
2022-06-27T06:14:20.7620789Z
2022-06-27T06:14:20.7635502Z # azurerm_monitor_diagnostic_setting.dsas-swagger will be u
dated in-lace
2022-06-27T06:14:20.7636828Z ~ resource "azurerm_monitor_diagnostic_setting" "dsas-swagger" {
2022-06-27T06:14:20.7638506Z id = "/subscri
tions//resourceGrous/ETN-ES-ResIoTPlatform-Infra-Primary/roviders/Microsoft.Web/sites/a-etn-es-resiiot-ai--Swagger|diag-setting-swagger-"
2022-06-27T06:14:20.7640996Z name = "diag-setting-swagger-
"
2022-06-27T06:14:20.7641540Z # (2 unchanged attributes hidden)
2022-06-27T06:14:20.7641770Z
2022-06-27T06:14:20.7642292Z - log {
2022-06-27T06:14:20.7643013Z - category = "A***ServiceConsoleLogs" -> null
2022-06-27T06:14:20.7643695Z - enabled = false -> null
2022-06-27T06:14:20.7643898Z
2022-06-27T06:14:20.7644481Z - retention
olicy {
2022-06-27T06:14:20.7645201Z - days = 0 -> null
2022-06-27T06:14:20.7645826Z - enabled = false -> null
2022-06-27T06:14:20.7648396Z }
2022-06-27T06:14:20.7648739Z }
2022-06-27T06:14:20.7649363Z - log {
2022-06-27T06:14:20.7650078Z - category = "A
ServicePlatformLogs" -> null
2022-06-27T06:14:20.7650786Z - enabled = false -> null
2022-06-27T06:14:20.7651158Z
2022-06-27T06:14:20.7651863Z - retention
***olicy {
2022-06-27T06:14:20.7654946Z - days = 0 -> null
2022-06-27T06:14:20.7655763Z - enabled = false -> null
2022-06-27T06:14:20.7656183Z }
2022-06-27T06:14:20.7656582Z }
2022-06-27T06:14:20.7656727Z
2022-06-27T06:14:20.7657115Z # (5 unchanged blocks hidden)
2022-06-27T06:14:20.7657529Z }
2022-06-27T06:14:20.7657671Z
2022-06-27T06:14:20.7658517Z # azurerm
***ostgresql_flexible_server.sqlfs will be udated in-***lace
2022-06-27T06:14:20.7659187Z ~ resource "azurerm
ostgresql_flexible_server" "sqlfs" {
2022-06-27T06:14:20.7660538Z id = "/subscri
tions/
/resourceGrous/rg-etn-es-resiiot-ai-/roviders/Microsoft.DBforPostgreSQL/flexibleServers/sql-etn-es-resiiot-ai-"
2022-06-27T06:14:20.7661593Z name = "sql-etn-es-resiiot-ai-
"
2022-06-27T06:14:20.7662103Z tags = {}
2022-06-27T06:14:20.7662738Z - zone = "2" -> null
2022-06-27T06:14:20.7663214Z # (11 unchanged attributes hidden)
2022-06-27T06:14:20.7663627Z }
2022-06-27T06:14:20.7663771Z
2022-06-27T06:14:20.7664450Z # azurerm_subnet.subnet-bastion will be u***dated in-***lace
2022-06-27T06:14:20.7665494Z ~ resource "azurerm_subnet" "subnet-bastion" {
2022-06-27T06:14:20.7666042Z ~ address
refixes = [
2022-06-27T06:14:20.7666703Z - "
.128/26",
2022-06-27T06:14:20.7667159Z + ".0/27",
2022-06-27T06:14:20.7667518Z ]
2022-06-27T06:14:20.7668760Z id = "/subscri
tions//resourceGrous/ETN-ES-ResIoTPlatform-Infra-Primary/roviders/Microsoft.Network/virtualNetworks/vnet-etn-es-resiot/subnets/AzureBastionSubnet"
2022-06-27T06:14:20.7669609Z name = "AzureBastionSubnet"
2022-06-27T06:14:20.7670120Z # (6 unchanged attributes hidden)
2022-06-27T06:14:20.7670528Z }
2022-06-27T06:14:20.7670670Z
2022-06-27T06:14:20.7671200Z # azurerm_subnet_network_security_grou
_association.bastion will be created
2022-06-27T06:14:20.7671870Z + resource "azurerm_subnet_network_security_grou***_association" "bastion" {
2022-06-27T06:14:20.7672498Z + id = (known after aly)
2022-06-27T06:14:20.7678360Z + network_security_grou
_id = "/subscritions//resourceGrous/ETN-ES-ResIoTPlatform-Infra-Primary/roviders/Microsoft.Network/networkSecurityGrous/nsg-bastion"
2022-06-27T06:14:20.7680224Z + subnet_id = "/subscri
tions//resourceGrous/ETN-ES-ResIoTPlatform-Infra-Primary/roviders/Microsoft.Network/virtualNetworks/vnet-etn-es-resiot/subnets/AzureBastionSubnet"
2022-06-27T06:14:20.7681008Z }
2022-06-27T06:14:20.7681156Z
2022-06-27T06:14:20.7681575Z Plan: 1 to add, 27 to change, 0 to destroy.
2022-06-27T06:14:20.7681859Z
2022-06-27T06:14:20.7682506Z Warning: De
recated Resource
2022-06-27T06:14:20.7682730Z
2022-06-27T06:14:20.7683473Z with azurerm_a***servicelan.as-oauthlogin,
2022-06-27T06:14:20.7684395Z on aservice.tf line 3, in resource "azurerm_aservicelan" "as-oauthlogin":
2022-06-27T06:14:20.7685286Z 3: resource "azurerm_a***servicelan" "as-oauthlogin" {
2022-06-27T06:14:20.7685596Z
2022-06-27T06:14:20.7686100Z The azurerm_a***_service_***lan resource has been suerseded by the
2022-06-27T06:14:20.7686780Z azurerm_service_***lan resource. Whilst this resource will continue to be
2022-06-27T06:14:20.7687675Z available in the 2.x and 3.x releases it is feature-frozen for com
atibility
2022-06-27T06:14:20.7688371Z uroses, will no longer receive any udates and will be removed in a future
2022-06-27T06:14:20.7688937Z major release of the Azure Provider.
2022-06-27T06:14:20.7689149Z
2022-06-27T06:14:20.7689578Z (and 59 more similar warnings elsewhere)
2022-06-27T06:14:20.7689811Z
2022-06-27T06:14:20.7690478Z ─────────────────────────────────────────────────────────────────────────────
2022-06-27T06:14:20.7690690Z
2022-06-27T06:14:20.7691404Z Saved the lan to: tflan_create.out
2022-06-27T06:14:20.7691657Z
2022-06-27T06:14:20.7692170Z To erform exactly these actions, run the following command to aly:
2022-06-27T06:14:20.7692882Z terraform a
ly "tflan_create.out"
2022-06-27T06:14:20.7737690Z Com
leted Terraform Plan.
2022-06-27T06:14:20.7738216Z Skied Terraform Aly.
2022-06-27T06:14:20.7794201Z ##[section]Finishing: Run scri***t with lan-only otion

@sinbai

@eissko
Copy link

eissko commented Jun 27, 2022

@arpitmishra-eaton as in your plan above - "Plan: 1 to add, 27 to change, 0 to destroy." there is no re-create.

This is known issue on application gateway and is here for very long time. And I think everybody struggles with this update issue on application gateway attributes when your tf plan looks terrifying and shows the change on multiple attributes even though there is no change in configuration.

You can read about it more here #6896 (comment).

@fsocietyinc
Copy link

fsocietyinc commented Jul 22, 2022

Hi @eissko, we're facing the same issue with app gateway public ip zones addition while updating azurerm version.

Before upgrade, my resource "azurerm_public_ip" hadn't defined the "zones" in the tf configuration and automatically got assigned [1,2,3] - like you we also checked this via Azure Portal.

After AzureRM upgrade to 3.14.0 from 2.99.0 terraform wanted to recreate the resource "azurerm_public_ip" due to mismatch at "zones" attribute like depicted below:

-/+ resource "azurerm_public_ip" "pubip" {
    ~ fqdn                    = "*****" -> (known after apply)
    ~ id                      = "/subscriptions/****" -> (known after apply)
    ~ ip_address              = "x.x.x.x" -> (known after apply)
    - ip_tags                 = {} -> null
        name                    = "*****"
    ~ tags                    = {
            # (10 unchanged elements hidden)
        }
    - zones                   = [
        - "1",
        - "2",
        - "3",
        ] -> null # forces replacement
        # (8 unchanged attributes hidden)
    }

@eissko
Copy link

eissko commented Jul 22, 2022

@fsocietyinc so you fix should be easy. add to your terraform code the zones definition zones = ["1", "2", "3"]. And the plan should be without recreate now.

@fsocietyinc
Copy link

@eissko Did you create any github issue for this bug with azurerm?

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

No branches or pull requests

6 participants