terraform-provider-azurerm icon indicating copy to clipboard operation
terraform-provider-azurerm copied to clipboard

azurerm_eventgrid_event_subscription not picking up new filters

Open jasric89 opened this issue 2 years ago • 4 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Community Note

  • Please vote on this issue by adding a :thumbsup: 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.1.7

AzureRM Provider Version

3.14.0

Affected Resource(s)/Data Source(s)

resource "azurerm_eventgrid_event_subscription" "sub_nsclassroom_toTechnicianApi" {

Terraform Configuration Files

resource "azurerm_eventgrid_event_subscription" "sub_nsclassroom_toTechnicianApi" {
  name  = "ClassroomApiToTechnicianApi"
  scope = data.azurerm_eventgrid_topic.read_nsclassroom_topic.id

  webhook_endpoint {
    url = format("https://${data.azurerm_app_service.read_technician_api_app_service.name}.azurewebsites.net/messaging?authcode=${local.resource_group_id}")
  }
  included_event_types = [ "ClassroomApi.DevicesAdded", "ClassroomApi.DeviceChanged", "ClassroomApi.DevicesChanged", "ClassroomApi.DevicesDeleted", "ClassroomApi.SiteAdded", "ClassroomApi.SiteUpdated", "ClassroomApi.SiteDeleted", "ClassroomApi.AccountChanged", "ClassroomApi.UserChanged", "ClassroomApi.UserDeleted"]
  lifecycle {
    ignore_changes = [
      scope, webhook_endpoint, included_event_types
    ]
  }
}

Debug Output/Panic Output

2022-07-19T14:58:07.9358731Z [0m
2022-07-19T14:58:07.9359878Z [1m[36mNote:[0m[1m Objects have changed outside of Terraform[0m
2022-07-19T14:58:07.9360394Z 
2022-07-19T14:58:07.9361262Z [0mTerraform detected the following changes made outside of Terraform since the
2022-07-19T14:58:07.9362068Z last "terraform apply":
2022-07-19T14:58:07.9362412Z 
2022-07-19T14:58:07.9375291Z [1m  # azurerm_app_service_certificate.cert[0m has changed[0m[0m
2022-07-19T14:58:07.9376339Z [0m  [33m~[0m[0m resource "azurerm_app_service_certificate" "cert" {
2022-07-19T14:58:07.9377573Z         [1m[0mid[0m[0m                  = "/subscriptions/ffd7d9a8-4f8e-4c9f-b44e-866ce3ff1416/resourceGroups/Classroom-Cloud-Staging-WestEurope/providers/Microsoft.Web/certificates/ciccert042022"
2022-07-19T14:58:07.9392403Z         [1m[0mname[0m[0m                = "ciccert042022"
2022-07-19T14:58:07.9393267Z       [32m+[0m [0m[1m[0mtags[0m[0m                = {}
2022-07-19T14:58:07.9393997Z         [90m# (10 unchanged attributes hidden)[0m[0m
2022-07-19T14:58:07.9406164Z     }
2022-07-19T14:58:07.9406607Z 
2022-07-19T14:58:07.9407526Z [1m  # azurerm_eventgrid_event_subscription.sub_AuthenticationServerToClassroomApi[0m has changed[0m[0m
2022-07-19T14:58:07.9408638Z [0m  [33m~[0m[0m resource "azurerm_eventgrid_event_subscription" "sub_AuthenticationServerToClassroomApi" {
2022-07-19T14:58:07.9412517Z         [1m[0mid[0m[0m                                   = "/subscriptions/ffd7d9a8-4f8e-4c9f-b44e-866ce3ff1416/resourceGroups/Classroom-Cloud-Staging-WestEurope/providers/Microsoft.EventGrid/topics/nscauthservertopic-vxh3zokbtum5i/providers/Microsoft.EventGrid/eventSubscriptions/AuthenticationServerToClassroomApi"
2022-07-19T14:58:07.9414220Z       [32m+[0m [0m[1m[0mlabels[0m[0m                               = []
2022-07-19T14:58:07.9415037Z         [1m[0mname[0m[0m                                 = "AuthenticationServerToClassroomApi"
2022-07-19T14:58:07.9415822Z         [90m# (4 unchanged attributes hidden)[0m[0m
2022-07-19T14:58:07.9416254Z 
2022-07-19T14:58:07.9416533Z 
2022-07-19T14:58:07.9417103Z         [90m# (2 unchanged blocks hidden)[0m[0m
2022-07-19T14:58:07.9417682Z     }
2022-07-19T14:58:07.9419303Z 
2022-07-19T14:58:07.9432669Z [1m  # azurerm_eventgrid_event_subscription.sub_AuthenticationServerToWebsite[0m has changed[0m[0m
2022-07-19T14:58:07.9433839Z [0m  [33m~[0m[0m resource "azurerm_eventgrid_event_subscription" "sub_AuthenticationServerToWebsite" {
2022-07-19T14:58:07.9435468Z         [1m[0mid[0m[0m                                   = "/subscriptions/ffd7d9a8-4f8e-4c9f-b44e-866ce3ff1416/resourceGroups/Classroom-Cloud-Staging-WestEurope/providers/Microsoft.EventGrid/topics/nscauthservertopic-vxh3zokbtum5i/providers/Microsoft.EventGrid/eventSubscriptions/AuthenticationServerToWebsite"
2022-07-19T14:58:07.9437219Z       [32m+[0m [0m[1m[0mlabels[0m[0m                               = []
2022-07-19T14:58:07.9437976Z         [1m[0mname[0m[0m                                 = "AuthenticationServerToWebsite"
2022-07-19T14:58:07.9438760Z         [90m# (4 unchanged attributes hidden)[0m[0m
2022-07-19T14:58:07.9439165Z 
2022-07-19T14:58:07.9439451Z 
2022-07-19T14:58:07.9440970Z         [90m# (2 unchanged blocks hidden)[0m[0m
2022-07-19T14:58:07.9441553Z     }
2022-07-19T14:58:07.9441817Z 
2022-07-19T14:58:07.9456321Z [1m  # azurerm_eventgrid_event_subscription.sub_TechnicianApiToClassroomApi[0m has changed[0m[0m
2022-07-19T14:58:07.9457514Z [0m  [33m~[0m[0m resource "azurerm_eventgrid_event_subscription" "sub_TechnicianApiToClassroomApi" {
2022-07-19T14:58:07.9459102Z         [1m[0mid[0m[0m                                   = "/subscriptions/ffd7d9a8-4f8e-4c9f-b44e-866ce3ff1416/resourceGroups/Classroom-Cloud-Staging-WestEurope/providers/Microsoft.EventGrid/topics/nsctechnicianapitopic-vxh3zokbtum5i/providers/Microsoft.EventGrid/eventSubscriptions/TechnicianApiToClassroomApi"
2022-07-19T14:58:07.9460533Z       [32m+[0m [0m[1m[0mlabels[0m[0m                               = []
2022-07-19T14:58:07.9461298Z         [1m[0mname[0m[0m                                 = "TechnicianApiToClassroomApi"
2022-07-19T14:58:07.9464365Z         [90m# (4 unchanged attributes hidden)[0m[0m
2022-07-19T14:58:07.9465373Z 
2022-07-19T14:58:07.9465693Z 
2022-07-19T14:58:07.9466463Z         [90m# (2 unchanged blocks hidden)[0m[0m
2022-07-19T14:58:07.9467112Z     }
2022-07-19T14:58:07.9467414Z 
2022-07-19T14:58:07.9483658Z [1m  # azurerm_eventgrid_event_subscription.sub_TechnicianApiToWebsite[0m has changed[0m[0m
2022-07-19T14:58:07.9484952Z [0m  [33m~[0m[0m resource "azurerm_eventgrid_event_subscription" "sub_TechnicianApiToWebsite" {
2022-07-19T14:58:07.9486804Z         [1m[0mid[0m[0m                                   = "/subscriptions/ffd7d9a8-4f8e-4c9f-b44e-866ce3ff1416/resourceGroups/Classroom-Cloud-Staging-WestEurope/providers/Microsoft.EventGrid/topics/nsctechnicianapitopic-vxh3zokbtum5i/providers/Microsoft.EventGrid/eventSubscriptions/TechnicianApiToWebsite"
2022-07-19T14:58:07.9488489Z       [32m+[0m [0m[1m[0mlabels[0m[0m                               = []
2022-07-19T14:58:07.9489363Z         [1m[0mname[0m[0m                                 = "TechnicianApiToWebsite"
2022-07-19T14:58:07.9490217Z         [90m# (4 unchanged attributes hidden)[0m[0m
2022-07-19T14:58:07.9490685Z 
2022-07-19T14:58:07.9491008Z 
2022-07-19T14:58:07.9491671Z         [90m# (2 unchanged blocks hidden)[0m[0m
2022-07-19T14:58:07.9492317Z     }
2022-07-19T14:58:07.9492630Z 
2022-07-19T14:58:07.9511605Z [1m  # azurerm_eventgrid_event_subscription.sub_TenantManagmentToAuthenticationServer[0m has changed[0m[0m
2022-07-19T14:58:07.9513083Z [0m  [33m~[0m[0m resource "azurerm_eventgrid_event_subscription" "sub_TenantManagmentToAuthenticationServer" {
2022-07-19T14:58:07.9517520Z         [1m[0mid[0m[0m                                   = "/subscriptions/ffd7d9a8-4f8e-4c9f-b44e-866ce3ff1416/resourceGroups/Classroom-Cloud-Staging-WestEurope/providers/Microsoft.EventGrid/topics/nsctenantmanagementtopic-vxh3zokbtum5i/providers/Microsoft.EventGrid/eventSubscriptions/TenantManagmentToAuthenticationServer"
2022-07-19T14:58:07.9519269Z       [32m+[0m [0m[1m[0mlabels[0m[0m                               = []
2022-07-19T14:58:07.9520493Z         [1m[0mname[0m[0m                                 = "TenantManagmentToAuthenticationServer"
2022-07-19T14:58:07.9521420Z         [90m# (4 unchanged attributes hidden)[0m[0m
2022-07-19T14:58:07.9521876Z 
2022-07-19T14:58:07.9522180Z 
2022-07-19T14:58:07.9522847Z         [90m# (2 unchanged blocks hidden)[0m[0m
2022-07-19T14:58:07.9523481Z     }
2022-07-19T14:58:07.9523812Z 
2022-07-19T14:58:07.9541483Z [1m  # azurerm_eventgrid_event_subscription.sub_TenantManagmentToSafeguardingApi[0m has changed[0m[0m
2022-07-19T14:58:07.9543783Z [0m  [33m~[0m[0m resource "azurerm_eventgrid_event_subscription" "sub_TenantManagmentToSafeguardingApi" {
2022-07-19T14:58:07.9545466Z         [1m[0mid[0m[0m                                   = "/subscriptions/ffd7d9a8-4f8e-4c9f-b44e-866ce3ff1416/resourceGroups/Classroom-Cloud-Staging-WestEurope/providers/Microsoft.EventGrid/topics/nsctenantmanagementtopic-vxh3zokbtum5i/providers/Microsoft.EventGrid/eventSubscriptions/TenantManagmentToSafeguardingApi"
2022-07-19T14:58:07.9546960Z       [32m+[0m [0m[1m[0mlabels[0m[0m                               = []
2022-07-19T14:58:07.9547752Z         [1m[0mname[0m[0m                                 = "TenantManagmentToSafeguardingApi"
2022-07-19T14:58:07.9548550Z         [90m# (4 unchanged attributes hidden)[0m[0m
2022-07-19T14:58:07.9548957Z 
2022-07-19T14:58:07.9549222Z 
2022-07-19T14:58:07.9549791Z         [90m# (2 unchanged blocks hidden)[0m[0m
2022-07-19T14:58:07.9550374Z     }
2022-07-19T14:58:07.9550655Z 
2022-07-19T14:58:07.9564210Z [1m  # azurerm_eventgrid_event_subscription.sub_TenantManagmentToSystemAdmin[0m has changed[0m[0m
2022-07-19T14:58:07.9565454Z [0m  [33m~[0m[0m resource "azurerm_eventgrid_event_subscription" "sub_TenantManagmentToSystemAdmin" {
2022-07-19T14:58:07.9567077Z         [1m[0mid[0m[0m                                   = "/subscriptions/ffd7d9a8-4f8e-4c9f-b44e-866ce3ff1416/resourceGroups/Classroom-Cloud-Staging-WestEurope/providers/Microsoft.EventGrid/topics/nsctenantmanagementtopic-vxh3zokbtum5i/providers/Microsoft.EventGrid/eventSubscriptions/TenantManagmentToSystemAdmin"
2022-07-19T14:58:07.9568554Z       [32m+[0m [0m[1m[0mlabels[0m[0m                               = []
2022-07-19T14:58:07.9569314Z         [1m[0mname[0m[0m                                 = "TenantManagmentToSystemAdmin"
2022-07-19T14:58:07.9570068Z         [90m# (4 unchanged attributes hidden)[0m[0m
2022-07-19T14:58:07.9570473Z 
2022-07-19T14:58:07.9570728Z 
2022-07-19T14:58:07.9571312Z         [90m# (2 unchanged blocks hidden)[0m[0m
2022-07-19T14:58:07.9571876Z     }
2022-07-19T14:58:07.9572143Z 
2022-07-19T14:58:07.9586091Z [1m  # azurerm_eventgrid_event_subscription.sub_TenantManagmentToTeamsApi[0m has changed[0m[0m
2022-07-19T14:58:07.9587152Z [0m  [33m~[0m[0m resource "azurerm_eventgrid_event_subscription" "sub_TenantManagmentToTeamsApi" {
2022-07-19T14:58:07.9588779Z         [1m[0mid[0m[0m                                   = "/subscriptions/ffd7d9a8-4f8e-4c9f-b44e-866ce3ff1416/resourceGroups/Classroom-Cloud-Staging-WestEurope/providers/Microsoft.EventGrid/topics/nsctenantmanagementtopic-vxh3zokbtum5i/providers/Microsoft.EventGrid/eventSubscriptions/TenantManagmentToTeamsApi"
2022-07-19T14:58:07.9590228Z       [32m+[0m [0m[1m[0mlabels[0m[0m                               = []
2022-07-19T14:58:07.9590976Z         [1m[0mname[0m[0m                                 = "TenantManagmentToTeamsApi"
2022-07-19T14:58:07.9591743Z         [90m# (4 unchanged attributes hidden)[0m[0m
2022-07-19T14:58:07.9592418Z 
2022-07-19T14:58:07.9592685Z 
2022-07-19T14:58:07.9593254Z         [90m# (2 unchanged blocks hidden)[0m[0m
2022-07-19T14:58:07.9593829Z     }
2022-07-19T14:58:07.9594093Z 
2022-07-19T14:58:07.9608177Z [1m  # azurerm_eventgrid_event_subscription.sub_TenantManagmentToTechnicianApi[0m has changed[0m[0m
2022-07-19T14:58:07.9609722Z [0m  [33m~[0m[0m resource "azurerm_eventgrid_event_subscription" "sub_TenantManagmentToTechnicianApi" {
2022-07-19T14:58:07.9611575Z         [1m[0mid[0m[0m                                   = "/subscriptions/ffd7d9a8-4f8e-4c9f-b44e-866ce3ff1416/resourceGroups/Classroom-Cloud-Staging-WestEurope/providers/Microsoft.EventGrid/topics/nsctenantmanagementtopic-vxh3zokbtum5i/providers/Microsoft.EventGrid/eventSubscriptions/TenantManagmentToTechnicianApi"
2022-07-19T14:58:07.9764147Z       [32m+[0m [0m[1m[0mlabels[0m[0m                               = []
2022-07-19T14:58:07.9764888Z         [1m[0mname[0m[0m                                 = "TenantManagmentToTechnicianApi"
2022-07-19T14:58:07.9765780Z         [90m# (4 unchanged attributes hidden)[0m[0m
2022-07-19T14:58:07.9766046Z 
2022-07-19T14:58:07.9766214Z 
2022-07-19T14:58:07.9766632Z         [90m# (2 unchanged blocks hidden)[0m[0m
2022-07-19T14:58:07.9767074Z     }
2022-07-19T14:58:07.9767224Z 
2022-07-19T14:58:07.9767957Z [1m  # azurerm_eventgrid_event_subscription.sub_TenantManagmentToWebsite[0m has changed[0m[0m
2022-07-19T14:58:07.9769566Z [0m  [33m~[0m[0m resource "azurerm_eventgrid_event_subscription" "sub_TenantManagmentToWebsite" {
2022-07-19T14:58:07.9770998Z         [1m[0mid[0m[0m                                   = "/subscriptions/ffd7d9a8-4f8e-4c9f-b44e-866ce3ff1416/resourceGroups/Classroom-Cloud-Staging-WestEurope/providers/Microsoft.EventGrid/topics/nsctenantmanagementtopic-vxh3zokbtum5i/providers/Microsoft.EventGrid/eventSubscriptions/TenantManagmentToWebsite"
2022-07-19T14:58:07.9772314Z       [32m+[0m [0m[1m[0mlabels[0m[0m                               = []
2022-07-19T14:58:07.9772965Z         [1m[0mname[0m[0m                                 = "TenantManagmentToWebsite"
2022-07-19T14:58:07.9773566Z         [90m# (4 unchanged attributes hidden)[0m[0m
2022-07-19T14:58:07.9773833Z 
2022-07-19T14:58:07.9774732Z 
2022-07-19T14:58:07.9775191Z         [90m# (2 unchanged blocks hidden)[0m[0m
2022-07-19T14:58:07.9775651Z     }
2022-07-19T14:58:07.9775797Z 
2022-07-19T14:58:07.9776418Z [1m  # azurerm_eventgrid_event_subscription.sub_nsclassroom_toAuthenticationServer[0m has changed[0m[0m
2022-07-19T14:58:07.9777389Z [0m  [33m~[0m[0m resource "azurerm_eventgrid_event_subscription" "sub_nsclassroom_toAuthenticationServer" {
2022-07-19T14:58:07.9778911Z         [1m[0mid[0m[0m                                   = "/subscriptions/ffd7d9a8-4f8e-4c9f-b44e-866ce3ff1416/resourceGroups/Classroom-Cloud-Staging-WestEurope/providers/Microsoft.EventGrid/topics/nscclassroomapitopic-vxh3zokbtum5i/providers/Microsoft.EventGrid/eventSubscriptions/ClassroomApiToAuthenticationServer"
2022-07-19T14:58:07.9780245Z       [32m+[0m [0m[1m[0mlabels[0m[0m                               = []
2022-07-19T14:58:07.9780836Z         [1m[0mname[0m[0m                                 = "ClassroomApiToAuthenticationServer"
2022-07-19T14:58:07.9781494Z         [90m# (4 unchanged attributes hidden)[0m[0m
2022-07-19T14:58:07.9781772Z 
2022-07-19T14:58:07.9781909Z 
2022-07-19T14:58:07.9782353Z         [90m# (2 unchanged blocks hidden)[0m[0m
2022-07-19T14:58:07.9782794Z     }
2022-07-19T14:58:07.9782942Z 
2022-07-19T14:58:07.9816153Z [1m  # azurerm_eventgrid_event_subscription.sub_nsclassroom_toFunctions[0m has changed[0m[0m
2022-07-19T14:58:07.9817469Z [0m  [33m~[0m[0m resource "azurerm_eventgrid_event_subscription" "sub_nsclassroom_toFunctions" {
2022-07-19T14:58:07.9819066Z         [1m[0mid[0m[0m                                   = "/subscriptions/ffd7d9a8-4f8e-4c9f-b44e-866ce3ff1416/resourceGroups/Classroom-Cloud-Staging-WestEurope/providers/Microsoft.EventGrid/topics/nscclassroomapitopic-vxh3zokbtum5i/providers/Microsoft.EventGrid/eventSubscriptions/ClassroomApiToFunctions"
2022-07-19T14:58:07.9821806Z       [32m+[0m [0m[1m[0mlabels[0m[0m                               = []
2022-07-19T14:58:07.9822591Z         [1m[0mname[0m[0m                                 = "ClassroomApiToFunctions"
2022-07-19T14:58:07.9823640Z         [90m# (4 unchanged attributes hidden)[0m[0m
2022-07-19T14:58:07.9824045Z 
2022-07-19T14:58:07.9824307Z 
2022-07-19T14:58:07.9824888Z         [90m# (2 unchanged blocks hidden)[0m[0m
2022-07-19T14:58:07.9825438Z     }
2022-07-19T14:58:07.9825725Z 
2022-07-19T14:58:07.9836456Z [1m  # azurerm_eventgrid_event_subscription.sub_nsclassroom_toItself[0m has changed[0m[0m
2022-07-19T14:58:07.9837583Z [0m  [33m~[0m[0m resource "azurerm_eventgrid_event_subscription" "sub_nsclassroom_toItself" {
2022-07-19T14:58:07.9839134Z         [1m[0mid[0m[0m                                   = "/subscriptions/ffd7d9a8-4f8e-4c9f-b44e-866ce3ff1416/resourceGroups/Classroom-Cloud-Staging-WestEurope/providers/Microsoft.EventGrid/topics/nscclassroomapitopic-vxh3zokbtum5i/providers/Microsoft.EventGrid/eventSubscriptions/ClassroomApiToItself"
2022-07-19T14:58:07.9843075Z       [32m+[0m [0m[1m[0mlabels[0m[0m                               = []
2022-07-19T14:58:07.9844025Z         [1m[0mname[0m[0m                                 = "ClassroomApiToItself"
2022-07-19T14:58:07.9844777Z         [90m# (4 unchanged attributes hidden)[0m[0m
2022-07-19T14:58:07.9845163Z 
2022-07-19T14:58:07.9845427Z 
2022-07-19T14:58:07.9845992Z         [90m# (2 unchanged blocks hidden)[0m[0m
2022-07-19T14:58:07.9846562Z     }
2022-07-19T14:58:07.9846827Z 
2022-07-19T14:58:07.9868101Z [1m  # azurerm_eventgrid_event_subscription.sub_nsclassroom_toSafeguardingAPI[0m has changed[0m[0m
2022-07-19T14:58:07.9871468Z [0m  [33m~[0m[0m resource "azurerm_eventgrid_event_subscription" "sub_nsclassroom_toSafeguardingAPI" {
2022-07-19T14:58:07.9873350Z         [1m[0mid[0m[0m                                   = "/subscriptions/ffd7d9a8-4f8e-4c9f-b44e-866ce3ff1416/resourceGroups/Classroom-Cloud-Staging-WestEurope/providers/Microsoft.EventGrid/topics/nscclassroomapitopic-vxh3zokbtum5i/providers/Microsoft.EventGrid/eventSubscriptions/ClassroomApiToSafeguardingApi"
2022-07-19T14:58:07.9874932Z       [32m+[0m [0m[1m[0mlabels[0m[0m                               = []
2022-07-19T14:58:07.9875872Z         [1m[0mname[0m[0m                                 = "ClassroomApiToSafeguardingApi"
2022-07-19T14:58:07.9876813Z         [90m# (4 unchanged attributes hidden)[0m[0m
2022-07-19T14:58:07.9877355Z 
2022-07-19T14:58:07.9877768Z 
2022-07-19T14:58:07.9878506Z         [90m# (2 unchanged blocks hidden)[0m[0m
2022-07-19T14:58:07.9879099Z     }
2022-07-19T14:58:07.9879367Z 
2022-07-19T14:58:07.9891516Z [1m  # azurerm_eventgrid_event_subscription.sub_nsclassroom_toSystemAdmin[0m has changed[0m[0m
2022-07-19T14:58:07.9892636Z [0m  [33m~[0m[0m resource "azurerm_eventgrid_event_subscription" "sub_nsclassroom_toSystemAdmin" {
2022-07-19T14:58:07.9894266Z         [1m[0mid[0m[0m                                   = "/subscriptions/ffd7d9a8-4f8e-4c9f-b44e-866ce3ff1416/resourceGroups/Classroom-Cloud-Staging-WestEurope/providers/Microsoft.EventGrid/topics/nscclassroomapitopic-vxh3zokbtum5i/providers/Microsoft.EventGrid/eventSubscriptions/ClassroomApiToSystemAdmin"
2022-07-19T14:58:07.9895692Z       [32m+[0m [0m[1m[0mlabels[0m[0m                               = []
2022-07-19T14:58:07.9896423Z         [1m[0mname[0m[0m                                 = "ClassroomApiToSystemAdmin"
2022-07-19T14:58:07.9897188Z         [90m# (4 unchanged attributes hidden)[0m[0m
2022-07-19T14:58:07.9897600Z 
2022-07-19T14:58:07.9897914Z 
2022-07-19T14:58:07.9898464Z         [90m# (2 unchanged blocks hidden)[0m[0m
2022-07-19T14:58:07.9899041Z     }
2022-07-19T14:58:07.9899304Z 
2022-07-19T14:58:07.9915438Z [1m  # azurerm_eventgrid_event_subscription.sub_nsclassroom_toTeamsAPI[0m has changed[0m[0m
2022-07-19T14:58:07.9916551Z [0m  [33m~[0m[0m resource "azurerm_eventgrid_event_subscription" "sub_nsclassroom_toTeamsAPI" {
2022-07-19T14:58:07.9918128Z         [1m[0mid[0m[0m                                   = "/subscriptions/ffd7d9a8-4f8e-4c9f-b44e-866ce3ff1416/resourceGroups/Classroom-Cloud-Staging-WestEurope/providers/Microsoft.EventGrid/topics/nscclassroomapitopic-vxh3zokbtum5i/providers/Microsoft.EventGrid/eventSubscriptions/ClassroomApiToTeamsApi"
2022-07-19T14:58:07.9922094Z       [32m+[0m [0m[1m[0mlabels[0m[0m                               = []
2022-07-19T14:58:07.9923692Z         [1m[0mname[0m[0m                                 = "ClassroomApiToTeamsApi"
2022-07-19T14:58:07.9924544Z         [90m# (4 unchanged attributes hidden)[0m[0m
2022-07-19T14:58:07.9924950Z 
2022-07-19T14:58:07.9925233Z 
2022-07-19T14:58:07.9925790Z         [90m# (2 unchanged blocks hidden)[0m[0m
2022-07-19T14:58:07.9926596Z     }
2022-07-19T14:58:07.9926869Z 
2022-07-19T14:58:07.9943413Z [1m  # azurerm_eventgrid_event_subscription.sub_nsclassroom_toTechnicianApi[0m has changed[0m[0m
2022-07-19T14:58:07.9944523Z [0m  [33m~[0m[0m resource "azurerm_eventgrid_event_subscription" "sub_nsclassroom_toTechnicianApi" {
2022-07-19T14:58:07.9946149Z         [1m[0mid[0m[0m                                   = "/subscriptions/ffd7d9a8-4f8e-4c9f-b44e-866ce3ff1416/resourceGroups/Classroom-Cloud-Staging-WestEurope/providers/Microsoft.EventGrid/topics/nscclassroomapitopic-vxh3zokbtum5i/providers/Microsoft.EventGrid/eventSubscriptions/ClassroomApiToTechnicianApi"
2022-07-19T14:58:07.9947546Z       [32m+[0m [0m[1m[0mlabels[0m[0m                               = []
2022-07-19T14:58:07.9948304Z         [1m[0mname[0m[0m                                 = "ClassroomApiToTechnicianApi"
2022-07-19T14:58:07.9949053Z         [90m# (4 unchanged attributes hidden)[0m[0m
2022-07-19T14:58:07.9949487Z 
2022-07-19T14:58:07.9949743Z 
2022-07-19T14:58:07.9950327Z         [90m# (2 unchanged blocks hidden)[0m[0m
2022-07-19T14:58:07.9950894Z     }
2022-07-19T14:58:07.9951156Z 
2022-07-19T14:58:07.9968924Z [1m  # azurerm_eventgrid_event_subscription.sub_nsclassroom_toWebsite[0m has changed[0m[0m
2022-07-19T14:58:07.9970488Z [0m  [33m~[0m[0m resource "azurerm_eventgrid_event_subscription" "sub_nsclassroom_toWebsite" {
2022-07-19T14:58:07.9972282Z         [1m[0mid[0m[0m                                   = "/subscriptions/ffd7d9a8-4f8e-4c9f-b44e-866ce3ff1416/resourceGroups/Classroom-Cloud-Staging-WestEurope/providers/Microsoft.EventGrid/topics/nscclassroomapitopic-vxh3zokbtum5i/providers/Microsoft.EventGrid/eventSubscriptions/ClassroomApiToWebsite"
2022-07-19T14:58:07.9973560Z       [32m+[0m [0m[1m[0mlabels[0m[0m                               = []
2022-07-19T14:58:07.9974145Z         [1m[0mname[0m[0m                                 = "ClassroomApiToWebsite"
2022-07-19T14:58:07.9974768Z         [90m# (4 unchanged attributes hidden)[0m[0m
2022-07-19T14:58:07.9975034Z 
2022-07-19T14:58:07.9975185Z 
2022-07-19T14:58:07.9975609Z         [90m# (2 unchanged blocks hidden)[0m[0m
2022-07-19T14:58:07.9976057Z     }
2022-07-19T14:58:07.9976204Z 
2022-07-19T14:58:07.9991236Z [1m  # azurerm_eventgrid_event_subscription.sub_safeguarding_toclassroomapi[0m has changed[0m[0m
2022-07-19T14:58:07.9992423Z [0m  [33m~[0m[0m resource "azurerm_eventgrid_event_subscription" "sub_safeguarding_toclassroomapi" {
2022-07-19T14:58:07.9994010Z         [1m[0mid[0m[0m                                   = "/subscriptions/ffd7d9a8-4f8e-4c9f-b44e-866ce3ff1416/resourceGroups/Classroom-Cloud-Staging-WestEurope/providers/Microsoft.EventGrid/topics/nscsafeguardingapitopic-vxh3zokbtum5i/providers/Microsoft.EventGrid/eventSubscriptions/SafeguardingApiToClassroomApi"
2022-07-19T14:58:07.9995466Z       [32m+[0m [0m[1m[0mlabels[0m[0m                               = []
2022-07-19T14:58:07.9996236Z         [1m[0mname[0m[0m                                 = "SafeguardingApiToClassroomApi"
2022-07-19T14:58:07.9997012Z         [90m# (4 unchanged attributes hidden)[0m[0m
2022-07-19T14:58:07.9997426Z 
2022-07-19T14:58:07.9997699Z 
2022-07-19T14:58:07.9998335Z         [90m# (2 unchanged blocks hidden)[0m[0m
2022-07-19T14:58:07.9999208Z     }
2022-07-19T14:58:07.9999476Z 
2022-07-19T14:58:08.0013452Z [1m  # azurerm_eventgrid_event_subscription.sub_safeguarding_toteamsapi[0m has changed[0m[0m
2022-07-19T14:58:08.0014596Z [0m  [33m~[0m[0m resource "azurerm_eventgrid_event_subscription" "sub_safeguarding_toteamsapi" {
2022-07-19T14:58:08.0016289Z         [1m[0mid[0m[0m                                   = "/subscriptions/ffd7d9a8-4f8e-4c9f-b44e-866ce3ff1416/resourceGroups/Classroom-Cloud-Staging-WestEurope/providers/Microsoft.EventGrid/topics/nscsafeguardingapitopic-vxh3zokbtum5i/providers/Microsoft.EventGrid/eventSubscriptions/SafeguardingApiToTeamsApi"
2022-07-19T14:58:08.0017954Z       [32m+[0m [0m[1m[0mlabels[0m[0m                               = []
2022-07-19T14:58:08.0018733Z         [1m[0mname[0m[0m                                 = "SafeguardingApiToTeamsApi"
2022-07-19T14:58:08.0019528Z         [90m# (4 unchanged attributes hidden)[0m[0m
2022-07-19T14:58:08.0019923Z 
2022-07-19T14:58:08.0020178Z 
2022-07-19T14:58:08.0020781Z         [90m# (2 unchanged blocks hidden)[0m[0m
2022-07-19T14:58:08.0021339Z     }
2022-07-19T14:58:08.0021613Z 
2022-07-19T14:58:08.0038765Z [1m  # azurerm_eventgrid_event_subscription.sub_safeguarding_towebsite[0m has changed[0m[0m
2022-07-19T14:58:08.0039929Z [0m  [33m~[0m[0m resource "azurerm_eventgrid_event_subscription" "sub_safeguarding_towebsite" {
2022-07-19T14:58:08.0041557Z         [1m[0mid[0m[0m                                   = "/subscriptions/ffd7d9a8-4f8e-4c9f-b44e-866ce3ff1416/resourceGroups/Classroom-Cloud-Staging-WestEurope/providers/Microsoft.EventGrid/topics/nscsafeguardingapitopic-vxh3zokbtum5i/providers/Microsoft.EventGrid/eventSubscriptions/SafeguardingApiToWebsiteApi"
2022-07-19T14:58:08.0043020Z       [32m+[0m [0m[1m[0mlabels[0m[0m                               = []
2022-07-19T14:58:08.0043779Z         [1m[0mname[0m[0m                                 = "SafeguardingApiToWebsiteApi"
2022-07-19T14:58:08.0044559Z         [90m# (4 unchanged attributes hidden)[0m[0m
2022-07-19T14:58:08.0044972Z 
2022-07-19T14:58:08.0045259Z 
2022-07-19T14:58:08.0045818Z         [90m# (2 unchanged blocks hidden)[0m[0m
2022-07-19T14:58:08.0046403Z     }
2022-07-19T14:58:08.0046670Z 
2022-07-19T14:58:08.0061219Z [1m  # azurerm_eventgrid_event_subscription.sub_systemnotification_toapiinternal[0m has changed[0m[0m
2022-07-19T14:58:08.0062406Z [0m  [33m~[0m[0m resource "azurerm_eventgrid_event_subscription" "sub_systemnotification_toapiinternal" {
2022-07-19T14:58:08.0064053Z         [1m[0mid[0m[0m                                   = "/subscriptions/ffd7d9a8-4f8e-4c9f-b44e-866ce3ff1416/resourceGroups/Classroom-Cloud-Staging-WestEurope/providers/Microsoft.EventGrid/topics/nscsystemnotificationtopic-vxh3zokbtum5i/providers/Microsoft.EventGrid/eventSubscriptions/SystemNotificationToApiInternal"
2022-07-19T14:58:08.0065531Z       [32m+[0m [0m[1m[0mlabels[0m[0m                               = []
2022-07-19T14:58:08.0066279Z         [1m[0mname[0m[0m                                 = "SystemNotificationToApiInternal"
2022-07-19T14:58:08.0067040Z         [90m# (4 unchanged attributes hidden)[0m[0m
2022-07-19T14:58:08.0067447Z 
2022-07-19T14:58:08.0067729Z 
2022-07-19T14:58:08.0068286Z         [90m# (2 unchanged blocks hidden)[0m[0m
2022-07-19T14:58:08.0068838Z     }
2022-07-19T14:58:08.0069107Z 
2022-07-19T14:58:08.0084234Z [1m  # azurerm_eventgrid_event_subscription.sub_systemnotification_totechconsole[0m has changed[0m[0m
2022-07-19T14:58:08.0085407Z [0m  [33m~[0m[0m resource "azurerm_eventgrid_event_subscription" "sub_systemnotification_totechconsole" {
2022-07-19T14:58:08.0087135Z         [1m[0mid[0m[0m                                   = "/subscriptions/ffd7d9a8-4f8e-4c9f-b44e-866ce3ff1416/resourceGroups/Classroom-Cloud-Staging-WestEurope/providers/Microsoft.EventGrid/topics/nscsystemnotificationtopic-vxh3zokbtum5i/providers/Microsoft.EventGrid/eventSubscriptions/SystemNotificationToTechConsole"
2022-07-19T14:58:08.0088944Z       [32m+[0m [0m[1m[0mlabels[0m[0m                               = []
2022-07-19T14:58:08.0089730Z         [1m[0mname[0m[0m                                 = "SystemNotificationToTechConsole"
2022-07-19T14:58:08.0090499Z         [90m# (4 unchanged attributes hidden)[0m[0m
2022-07-19T14:58:08.0091931Z 
2022-07-19T14:58:08.0092204Z 
2022-07-19T14:58:08.0092787Z         [90m# (2 unchanged blocks hidden)[0m[0m
2022-07-19T14:58:08.0093357Z     }
2022-07-19T14:58:08.0093618Z 
2022-07-19T14:58:08.0107332Z [1m  # azurerm_eventgrid_event_subscription.sub_systemnotification_totenantmanager[0m has changed[0m[0m
2022-07-19T14:58:08.0108792Z [0m  [33m~[0m[0m resource "azurerm_eventgrid_event_subscription" "sub_systemnotification_totenantmanager" {
2022-07-19T14:58:08.0110512Z         [1m[0mid[0m[0m                                   = "/subscriptions/ffd7d9a8-4f8e-4c9f-b44e-866ce3ff1416/resourceGroups/Classroom-Cloud-Staging-WestEurope/providers/Microsoft.EventGrid/topics/nscsystemnotificationtopic-vxh3zokbtum5i/providers/Microsoft.EventGrid/eventSubscriptions/SystemNotificationToTenantManager"
2022-07-19T14:58:08.0111992Z       [32m+[0m [0m[1m[0mlabels[0m[0m                               = []
2022-07-19T14:58:08.0112820Z         [1m[0mname[0m[0m                                 = "SystemNotificationToTenantManager"
2022-07-19T14:58:08.0113603Z         [90m# (4 unchanged attributes hidden)[0m[0m
2022-07-19T14:58:08.0114016Z 
2022-07-19T14:58:08.0114285Z 
2022-07-19T14:58:08.0114838Z         [90m# (2 unchanged blocks hidden)[0m[0m
2022-07-19T14:58:08.0115432Z     }
2022-07-19T14:58:08.0115702Z 
2022-07-19T14:58:08.0130133Z [1m  # azurerm_eventgrid_event_subscription.sub_systemnotification_totutor[0m has changed[0m[0m
2022-07-19T14:58:08.0131272Z [0m  [33m~[0m[0m resource "azurerm_eventgrid_event_subscription" "sub_systemnotification_totutor" {
2022-07-19T14:58:08.0132898Z         [1m[0mid[0m[0m                                   = "/subscriptions/ffd7d9a8-4f8e-4c9f-b44e-866ce3ff1416/resourceGroups/Classroom-Cloud-Staging-WestEurope/providers/Microsoft.EventGrid/topics/nscsystemnotificationtopic-vxh3zokbtum5i/providers/Microsoft.EventGrid/eventSubscriptions/SystemNotificationToTutor"
2022-07-19T14:58:08.0134371Z       [32m+[0m [0m[1m[0mlabels[0m[0m                               = []
2022-07-19T14:58:08.0135140Z         [1m[0mname[0m[0m                                 = "SystemNotificationToTutor"
2022-07-19T14:58:08.0135887Z         [90m# (4 unchanged attributes hidden)[0m[0m
2022-07-19T14:58:08.0136295Z 
2022-07-19T14:58:08.0136572Z 
2022-07-19T14:58:08.0137150Z         [90m# (2 unchanged blocks hidden)[0m[0m
2022-07-19T14:58:08.0137699Z     }
2022-07-19T14:58:08.0137989Z 
2022-07-19T14:58:08.0152775Z [1m  # azurerm_eventgrid_event_subscription.sub_systemnotification_towebsite[0m has changed[0m[0m
2022-07-19T14:58:08.0153946Z [0m  [33m~[0m[0m resource "azurerm_eventgrid_event_subscription" "sub_systemnotification_towebsite" {
2022-07-19T14:58:08.0155597Z         [1m[0mid[0m[0m                                   = "/subscriptions/ffd7d9a8-4f8e-4c9f-b44e-866ce3ff1416/resourceGroups/Classroom-Cloud-Staging-WestEurope/providers/Microsoft.EventGrid/topics/nscsystemnotificationtopic-vxh3zokbtum5i/providers/Microsoft.EventGrid/eventSubscriptions/SystemNotificationToWebsite"
2022-07-19T14:58:08.0157067Z       [32m+[0m [0m[1m[0mlabels[0m[0m                               = []
2022-07-19T14:58:08.0157837Z         [1m[0mname[0m[0m                                 = "SystemNotificationToWebsite"
2022-07-19T14:58:08.0158628Z         [90m# (4 unchanged attributes hidden)[0m[0m
2022-07-19T14:58:08.0159029Z 
2022-07-19T14:58:08.0159304Z 
2022-07-19T14:58:08.0159900Z         [90m# (2 unchanged blocks hidden)[0m[0m
2022-07-19T14:58:08.0160448Z     }
2022-07-19T14:58:08.0160741Z 
2022-07-19T14:58:08.0173584Z [1m  # azurerm_eventgrid_event_subscription.sub_tenantmanager_toFunctions[0m has changed[0m[0m
2022-07-19T14:58:08.0174998Z [0m  [33m~[0m[0m resource "azurerm_eventgrid_event_subscription" "sub_tenantmanager_toFunctions" {
2022-07-19T14:58:08.0177196Z         [1m[0mid[0m[0m                                   = "/subscriptions/ffd7d9a8-4f8e-4c9f-b44e-866ce3ff1416/resourceGroups/Classroom-Cloud-Staging-WestEurope/providers/Microsoft.EventGrid/topics/nsctenantmanagementtopic-vxh3zokbtum5i/providers/Microsoft.EventGrid/eventSubscriptions/TenantManagerToFunctions"
2022-07-19T14:58:08.0178681Z       [32m+[0m [0m[1m[0mlabels[0m[0m                               = []
2022-07-19T14:58:08.0179820Z         [1m[0mname[0m[0m                                 = "TenantManagerToFunctions"
2022-07-19T14:58:08.0180593Z         [90m# (4 unchanged attributes hidden)[0m[0m
2022-07-19T14:58:08.0181034Z 
2022-07-19T14:58:08.0181314Z 
2022-07-19T14:58:08.0181876Z         [90m# (2 unchanged blocks hidden)[0m[0m
2022-07-19T14:58:08.0182478Z     }
2022-07-19T14:58:08.0182773Z 
2022-07-19T14:58:08.0279708Z [1m  # azurerm_eventgrid_event_subscription.sub_tenantmanager_toclassroomapi[0m has changed[0m[0m
2022-07-19T14:58:08.0281777Z [0m  [33m~[0m[0m resource "azurerm_eventgrid_event_subscription" "sub_tenantmanager_toclassroomapi" {
2022-07-19T14:58:08.0285260Z         [1m[0mid[0m[0m                                   = "/subscriptions/ffd7d9a8-4f8e-4c9f-b44e-866ce3ff1416/resourceGroups/Classroom-Cloud-Staging-WestEurope/providers/Microsoft.EventGrid/topics/nsctenantmanagementtopic-vxh3zokbtum5i/providers/Microsoft.EventGrid/eventSubscriptions/TenantManagementToClassroomApi"
2022-07-19T14:58:08.0287123Z       [32m+[0m [0m[1m[0mlabels[0m[0m                               = []
2022-07-19T14:58:08.0288011Z         [1m[0mname[0m[0m                                 = "TenantManagementToClassroomApi"
2022-07-19T14:58:08.0288939Z         [90m# (4 unchanged attributes hidden)[0m[0m
2022-07-19T14:58:08.0289408Z 
2022-07-19T14:58:08.0289756Z 
2022-07-19T14:58:08.0290391Z         [90m# (2 unchanged blocks hidden)[0m[0m
2022-07-19T14:58:08.0291046Z     }
2022-07-19T14:58:08.0291365Z 
2022-07-19T14:58:08.0291672Z 
2022-07-19T14:58:08.0292478Z Unless you have made equivalent changes to your configuration, or ignored the
2022-07-19T14:58:08.0293495Z relevant attributes using ignore_changes, the following plan may include
2022-07-19T14:58:08.0294412Z actions to undo or respond to these changes.
2022-07-19T14:58:08.0295275Z [90m
2022-07-19T14:58:08.0295991Z ─────────────────────────────────────────────────────────────────────────────[0m
2022-07-19T14:58:08.0297267Z 
2022-07-19T14:58:08.0298329Z Terraform used the selected providers to generate the following execution
2022-07-19T14:58:08.0299330Z plan. Resource actions are indicated with the following symbols:
2022-07-19T14:58:08.0300162Z   [32m+[0m create
2022-07-19T14:58:08.0300685Z [0m
2022-07-19T14:58:08.0301325Z Terraform will perform the following actions:
2022-07-19T14:58:08.0303726Z 
2022-07-19T14:58:08.0304961Z [1m  # azurerm_eventgrid_event_subscription.sub_AuthenticationServerToSafeguardingApi[0m will be created[0m[0m
2022-07-19T14:58:08.0306238Z [0m  [32m+[0m[0m resource "azurerm_eventgrid_event_subscription" "sub_AuthenticationServerToSafeguardingApi" {
2022-07-19T14:58:08.0307403Z       [32m+[0m [0m[1m[0madvanced_filtering_on_arrays_enabled[0m[0m = false
2022-07-19T14:58:08.0308425Z       [32m+[0m [0m[1m[0mevent_delivery_schema[0m[0m                = "EventGridSchema"
2022-07-19T14:58:08.0309455Z       [32m+[0m [0m[1m[0meventhub_endpoint_id[0m[0m                 = (known after apply)
2022-07-19T14:58:08.0310520Z       [32m+[0m [0m[1m[0mhybrid_connection_endpoint_id[0m[0m        = (known after apply)
2022-07-19T14:58:08.0311532Z       [32m+[0m [0m[1m[0mid[0m[0m                                   = (known after apply)
2022-07-19T14:58:08.0312492Z       [32m+[0m [0m[1m[0mincluded_event_types[0m[0m                 = [
2022-07-19T14:58:08.0313876Z           [32m+[0m [0m"AuthenticationServer.EmailUpdatedBySupport",
2022-07-19T14:58:08.0314607Z         ]
2022-07-19T14:58:08.0315443Z       [32m+[0m [0m[1m[0mname[0m[0m                                 = "AuthenticationServerToSafeguardingApi"
2022-07-19T14:58:08.0318096Z       [32m+[0m [0m[1m[0mscope[0m[0m                                = "/subscriptions/ffd7d9a8-4f8e-4c9f-b44e-866ce3ff1416/resourceGroups/Classroom-Cloud-Staging-WestEurope/providers/Microsoft.EventGrid/topics/nscauthservertopic-vxh3zokbtum5i"
2022-07-19T14:58:08.0319611Z       [32m+[0m [0m[1m[0mtopic_name[0m[0m                           = (known after apply)
2022-07-19T14:58:08.0320488Z 
2022-07-19T14:58:08.0321121Z       [32m+[0m [0meventhub_endpoint {
2022-07-19T14:58:08.0322003Z           [32m+[0m [0m[1m[0meventhub_id[0m[0m = (known after apply)
2022-07-19T14:58:08.0322736Z         }
2022-07-19T14:58:08.0323078Z 
2022-07-19T14:58:08.0323742Z       [32m+[0m [0mhybrid_connection_endpoint {
2022-07-19T14:58:08.0324672Z           [32m+[0m [0m[1m[0mhybrid_connection_id[0m[0m = (known after apply)
2022-07-19T14:58:08.0329347Z         }
2022-07-19T14:58:08.0329790Z 
2022-07-19T14:58:08.0330328Z       [32m+[0m [0mretry_policy {
2022-07-19T14:58:08.0332084Z           [32m+[0m [0m[1m[0mevent_time_to_live[0m[0m    = (known after apply)
2022-07-19T14:58:08.0333193Z           [32m+[0m [0m[1m[0mmax_delivery_attempts[0m[0m = (known after apply)
2022-07-19T14:58:08.0333915Z         }
2022-07-19T14:58:08.0334252Z 
2022-07-19T14:58:08.0334879Z       [32m+[0m [0mwebhook_endpoint {
2022-07-19T14:58:08.0335733Z           [32m+[0m [0m[1m[0mbase_url[0m[0m = (known after apply)
2022-07-19T14:58:08.0336873Z           [32m+[0m [0m[1m[0murl[0m[0m      = "https://nsclassroomsafeguardingapi-vxh3zokbtum5i.azurewebsites.net/messaging?authcode=ffd7d9a8-4f8e-4c9f-b44e-866ce3ff1416"
2022-07-19T14:58:08.0344187Z         }
2022-07-19T14:58:08.0345058Z     }
2022-07-19T14:58:08.0345510Z 
2022-07-19T14:58:08.0346744Z [1m  # azurerm_eventgrid_event_subscription.sub_AuthenticationServerToTeamsApi[0m will be created[0m[0m
2022-07-19T14:58:08.0347842Z [0m  [32m+[0m[0m resource "azurerm_eventgrid_event_subscription" "sub_AuthenticationServerToTeamsApi" {
2022-07-19T14:58:08.0349443Z       [32m+[0m [0m[1m[0madvanced_filtering_on_arrays_enabled[0m[0m = false
2022-07-19T14:58:08.0350322Z       [32m+[0m [0m[1m[0mevent_delivery_schema[0m[0m                = "EventGridSchema"
2022-07-19T14:58:08.0351043Z       [32m+[0m [0m[1m[0meventhub_endpoint_id[0m[0m                 = (known after apply)
2022-07-19T14:58:08.0351678Z       [32m+[0m [0m[1m[0mhybrid_connection_endpoint_id[0m[0m        = (known after apply)
2022-07-19T14:58:08.0352315Z       [32m+[0m [0m[1m[0mid[0m[0m                                   = (known after apply)
2022-07-19T14:58:08.0352742Z       [32m+[0m [0m[1m[0mincluded_event_types[0m[0m                 = [
2022-07-19T14:58:08.0353169Z           [32m+[0m [0m"AuthenticationServer.EmailUpdatedBySupport",
2022-07-19T14:58:08.0353498Z         ]
2022-07-19T14:58:08.0353837Z       [32m+[0m [0m[1m[0mname[0m[0m                                 = "AuthenticationServerToTeamsApi"
2022-07-19T14:58:08.0354620Z       [32m+[0m [0m[1m[0mscope[0m[0m                                = "/subscriptions/ffd7d9a8-4f8e-4c9f-b44e-866ce3ff1416/resourceGroups/Classroom-Cloud-Staging-WestEurope/providers/Microsoft.EventGrid/topics/nscauthservertopic-vxh3zokbtum5i"
2022-07-19T14:58:08.0355372Z       [32m+[0m [0m[1m[0mtopic_name[0m[0m                           = (known after apply)
2022-07-19T14:58:08.0355585Z 
2022-07-19T14:58:08.0355837Z       [32m+[0m [0meventhub_endpoint {
2022-07-19T14:58:08.0356223Z           [32m+[0m [0m[1m[0meventhub_id[0m[0m = (known after apply)
2022-07-19T14:58:08.0356636Z         }
2022-07-19T14:58:08.0356720Z 
2022-07-19T14:58:08.0356957Z       [32m+[0m [0mhybrid_connection_endpoint {
2022-07-19T14:58:08.0357564Z           [32m+[0m [0m[1m[0mhybrid_connection_id[0m[0m = (known after apply)
2022-07-19T14:58:08.0357866Z         }
2022-07-19T14:58:08.0357948Z 
2022-07-19T14:58:08.0358156Z       [32m+[0m [0mretry_policy {
2022-07-19T14:58:08.0358499Z           [32m+[0m [0m[1m[0mevent_time_to_live[0m[0m    = (known after apply)
2022-07-19T14:58:08.0358892Z           [32m+[0m [0m[1m[0mmax_delivery_attempts[0m[0m = (known after apply)
2022-07-19T14:58:08.0359191Z         }
2022-07-19T14:58:08.0359272Z 
2022-07-19T14:58:08.0359510Z       [32m+[0m [0mwebhook_endpoint {
2022-07-19T14:58:08.0361352Z           [32m+[0m [0m[1m[0mbase_url[0m[0m = (known after apply)
2022-07-19T14:58:08.0361904Z           [32m+[0m [0m[1m[0murl[0m[0m      = "https://nsclassroomteamsapi-vxh3zokbtum5i.azurewebsites.net/messaging?authcode=ffd7d9a8-4f8e-4c9f-b44e-866ce3ff1416"
2022-07-19T14:58:08.0362344Z         }
2022-07-19T14:58:08.0362518Z     }
2022-07-19T14:58:08.0362605Z 
2022-07-19T14:58:08.0362867Z [0m[1mPlan:[0m 2 to add, 0 to change, 0 to destroy.

Expected Behaviour

For the Provider to write in the new filters. There is no panic output.

Actual Behaviour

It seems that if you have an existing event grid subscription made with Terraform and then decide to add in a new filter. The provider sees there is a change but does not pick up the filter as a change. Therefore when getting to an apply it does not add in the new filter.

If you create the event grid subscription from scratch with all the new filters it creates it fine. It's only when updating the event grid subscription the problem occurs. This first occurred to me on provider 2.95.0 so I upgraded to 3.1.4 and the same thing happens.

Please can this be investigated?

Steps to Reproduce

See note above

Important Factoids

no

References

No response

jasric89 avatar Jul 21 '22 13:07 jasric89

Please can I get an update on this issue? Thank you

jasric89 avatar Aug 01 '22 12:08 jasric89

@jasric89 Thanks for raising the issue. Are you suggesting the subject_filter property or any other filter such as filters defined in included_event_types was not updated as expected?

xiaxyi avatar Aug 27 '22 07:08 xiaxyi

@xiaxyi yes that is what I am trying to explain. The field: included_event_types = [""] Does not update if you add a new filter to the included event type.

If you make the azurerm_eventgrid_event_subscription from scratch, with the event types in it, terraform will make the resource.

If you want to update one, terraform will not update it.

As a work around for now I have to go into the portal and delete the eventgrid subscription and then run the terraform command, either from a pipeline or teraform apply -auto-approve then terraform will make the whole subscription with the new filters in.

jasric89 avatar Aug 30 '22 13:08 jasric89

We see a similar issue at our end.

  • in the eventgrid-subscription's resource description, add included_event_types = [ "Any Event" ]
  • Terraform creates the filter in the subscription
  • Now remove included_event_types = [ "Any Event" ] completely from the resource

Expected: Terraform should detect the removal and delete the filters from the resource. Observed: Terraform does not delete the filter ever.

shibin-george avatar Sep 22 '22 00:09 shibin-george

Please can I get an update on when this will be fixed please?

jasric89 avatar Dec 19 '22 08:12 jasric89