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

Update e2e configuration #43

Merged
merged 11 commits into from
Oct 2, 2024
Merged

Update e2e configuration #43

merged 11 commits into from
Oct 2, 2024

Conversation

marvinbuss
Copy link
Contributor

Proposed changes:

  • Update e2e configuration

Copy link

Terraform Lint Results

  • Terraform Version 📎1.9.6
  • Working Directory 📂./code/infra
  • Terraform Format and Style 🖌success

Copy link

Terraform Lint Results

  • Terraform Version 📎1.9.6
  • Working Directory 📂./code/infra
  • Terraform Format and Style 🖌success

Copy link

Terraform Lint Results

  • Terraform Version 📎1.9.6
  • Working Directory 📂./code/infra
  • Terraform Format and Style 🖌success

Copy link

github-actions bot commented Oct 1, 2024

Terraform Lint Results

  • Terraform Version 📎1.9.6
  • Working Directory 📂./code/infra
  • Terraform Format and Style 🖌success

Copy link

github-actions bot commented Oct 1, 2024

Terraform Lint Results

  • Terraform Version 📎1.9.6
  • Working Directory 📂./code/infra
  • Terraform Format and Style 🖌success

Copy link

github-actions bot commented Oct 1, 2024

Terraform Validation & Plan Results

  • Terraform Version 📎1.9.6
  • Working Directory 📂./code/infra
  • Terraform Initialization ⚙️success
  • Terraform Validation 🤖success
  • Terraform Plan 📖success
Show Plan

terraform
Acquiring state lock. This may take a few moments...
�[0m�[1mdata.local_file.file_system_prompt: Reading...�[0m�[0m
�[0m�[1mdata.local_file.file_system_prompt: Read complete after 0s [id=1b64caca607e392bc85ff27243e6022401cc3184]�[0m
�[0m�[1mdata.azurerm_client_config.current: Reading...�[0m�[0m
�[0m�[1mmodule.key_vault.data.azurerm_client_config.current: Reading...�[0m�[0m
�[0m�[1mmodule.key_vault.data.azurerm_client_config.current: Read complete after 0s [id=Y2xpZW50Q29uZmlncy9jbGllbnRJZD1lNWRmNjg0My1lYmRlLTRkNzktOWM3ZS03NDMxYTNjZDQzZDI7b2JqZWN0SWQ9OTczZGYyYWQtNGU1ZS00ZThiLTlkZjYtMTdmNjFlOWVmZDU1O3N1YnNjcmlwdGlvbklkPTFmZGFiMTE4LTE2MzgtNDE5YS04YjEyLTA2Yzk1NDM3MTRhMDt0ZW5hbnRJZD0zNzk2M2RkNC1mNGU2LTQwZjgtYTdkNi0yNGI5NzkxOWU0NTI=]�[0m
�[0m�[1mdata.azurerm_virtual_network.virtual_network: Reading...�[0m�[0m
�[0m�[1mdata.azurerm_route_table.route_table: Reading...�[0m�[0m
�[0m�[1mmodule.azure_open_ai.data.azurerm_client_config.current: Reading...�[0m�[0m
�[0m�[1mdata.azurerm_network_security_group.network_security_group: Reading...�[0m�[0m
�[0m�[1mdata.azurerm_client_config.current: Read complete after 0s [id=Y2xpZW50Q29uZmlncy9jbGllbnRJZD1lNWRmNjg0My1lYmRlLTRkNzktOWM3ZS03NDMxYTNjZDQzZDI7b2JqZWN0SWQ9OTczZGYyYWQtNGU1ZS00ZThiLTlkZjYtMTdmNjFlOWVmZDU1O3N1YnNjcmlwdGlvbklkPTFmZGFiMTE4LTE2MzgtNDE5YS04YjEyLTA2Yzk1NDM3MTRhMDt0ZW5hbnRJZD0zNzk2M2RkNC1mNGU2LTQwZjgtYTdkNi0yNGI5NzkxOWU0NTI=]�[0m
�[0m�[1mmodule.azure_open_ai.data.azurerm_client_config.current: Read complete after 0s [id=Y2xpZW50Q29uZmlncy9jbGllbnRJZD1lNWRmNjg0My1lYmRlLTRkNzktOWM3ZS03NDMxYTNjZDQzZDI7b2JqZWN0SWQ9OTczZGYyYWQtNGU1ZS00ZThiLTlkZjYtMTdmNjFlOWVmZDU1O3N1YnNjcmlwdGlvbklkPTFmZGFiMTE4LTE2MzgtNDE5YS04YjEyLTA2Yzk1NDM3MTRhMDt0ZW5hbnRJZD0zNzk2M2RkNC1mNGU2LTQwZjgtYTdkNi0yNGI5NzkxOWU0NTI=]�[0m
�[0m�[1mdata.azurerm_log_analytics_workspace.log_analytics_workspace: Reading...�[0m�[0m
�[0m�[1mdata.azurerm_network_security_group.network_security_group: Read complete after 0s [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/ptt-dev-networking-rg/providers/Microsoft.Network/networkSecurityGroups/ptt-dev-default-nsg001]�[0m
�[0m�[1mdata.azurerm_virtual_network.virtual_network: Read complete after 0s [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/ptt-dev-networking-rg/providers/Microsoft.Network/virtualNetworks/spoke-ptt-dev-vnet001]�[0m
�[0m�[1mdata.azurerm_log_analytics_workspace.log_analytics_workspace: Read complete after 0s [id=/subscriptions/e82c5267-9dc4-4f45-ac13-abdd5e130d27/resourceGroups/ptt-dev-logging-rg/providers/Microsoft.OperationalInsights/workspaces/ptt-dev-log001]�[0m
�[0m�[1mdata.azurerm_route_table.route_table: Read complete after 1s [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/ptt-dev-networking-rg/providers/Microsoft.Network/routeTables/ptt-dev-default-rt001]�[0m

Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  �[32m+�[0m create�[0m
 �[36m<=�[0m read (data resources)�[0m

Terraform will perform the following actions:

�[1m  # data.azurerm_monitor_diagnostic_categories.diagnostic_categories_linux_web_app�[0m will be read during apply
  # (config refers to values not yet known)
�[0m �[36m<=�[0m�[0m data "azurerm_monitor_diagnostic_categories" "diagnostic_categories_linux_web_app" {
      �[32m+�[0m�[0m id                  = (known after apply)
      �[32m+�[0m�[0m log_category_groups = (known after apply)
      �[32m+�[0m�[0m log_category_types  = (known after apply)
      �[32m+�[0m�[0m metrics             = (known after apply)
      �[32m+�[0m�[0m resource_id         = (known after apply)
    }

�[1m  # azapi_resource.subnet_private_endpoints�[0m will be created
�[0m  �[32m+�[0m�[0m resource "azapi_resource" "subnet_private_endpoints" {
      �[32m+�[0m�[0m body                      = jsonencode(
            {
              �[32m+�[0m�[0m properties = {
                  �[32m+�[0m�[0m addressPrefix                     = "10.3.2.0/26"
                  �[32m+�[0m�[0m delegations                       = []
                  �[32m+�[0m�[0m ipAllocations                     = []
                  �[32m+�[0m�[0m networkSecurityGroup              = {
                      �[32m+�[0m�[0m id = "/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/ptt-dev-networking-rg/providers/Microsoft.Network/networkSecurityGroups/ptt-dev-default-nsg001"
                    }
                  �[32m+�[0m�[0m privateEndpointNetworkPolicies    = "Enabled"
                  �[32m+�[0m�[0m privateLinkServiceNetworkPolicies = "Enabled"
                  �[32m+�[0m�[0m routeTable                        = {
                      �[32m+�[0m�[0m id = "/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/ptt-dev-networking-rg/providers/Microsoft.Network/routeTables/ptt-dev-default-rt001"
                    }
                  �[32m+�[0m�[0m serviceEndpointPolicies           = []
                  �[32m+�[0m�[0m serviceEndpoints                  = []
                }
            }
        )
      �[32m+�[0m�[0m id                        = (known after apply)
      �[32m+�[0m�[0m ignore_casing             = false
      �[32m+�[0m�[0m ignore_missing_property   = true
      �[32m+�[0m�[0m name                      = "PrivateEndpointSubnet"
      �[32m+�[0m�[0m output                    = (known after apply)
      �[32m+�[0m�[0m parent_id                 = "/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/ptt-dev-networking-rg/providers/Microsoft.Network/virtualNetworks/spoke-ptt-dev-vnet001"
      �[32m+�[0m�[0m removing_special_chars    = false
      �[32m+�[0m�[0m schema_validation_enabled = true
      �[32m+�[0m�[0m type                      = "Microsoft.Network/virtualNetworks/subnets@2022-07-01"
    }

�[1m  # azapi_resource.subnet_web_app�[0m will be created
�[0m  �[32m+�[0m�[0m resource "azapi_resource" "subnet_web_app" {
      �[32m+�[0m�[0m body                      = jsonencode(
            {
              �[32m+�[0m�[0m properties = {
                  �[32m+�[0m�[0m addressPrefix                     = "10.3.1.192/26"
                  �[32m+�[0m�[0m delegations                       = [
                      �[32m+�[0m�[0m {
                          �[32m+�[0m�[0m name       = "WebAppDelegation"
                          �[32m+�[0m�[0m properties = {
                              �[32m+�[0m�[0m serviceName = "Microsoft.Web/serverfarms"
                            }
                        },
                    ]
                  �[32m+�[0m�[0m ipAllocations                     = []
                  �[32m+�[0m�[0m networkSecurityGroup              = {
                      �[32m+�[0m�[0m id = "/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/ptt-dev-networking-rg/providers/Microsoft.Network/networkSecurityGroups/ptt-dev-default-nsg001"
                    }
                  �[32m+�[0m�[0m privateEndpointNetworkPolicies    = "Enabled"
                  �[32m+�[0m�[0m privateLinkServiceNetworkPolicies = "Enabled"
                  �[32m+�[0m�[0m routeTable                        = {
                      �[32m+�[0m�[0m id = "/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/ptt-dev-networking-rg/providers/Microsoft.Network/routeTables/ptt-dev-default-rt001"
                    }
                  �[32m+�[0m�[0m serviceEndpointPolicies           = []
                  �[32m+�[0m�[0m serviceEndpoints                  = []
                }
            }
        )
      �[32m+�[0m�[0m id                        = (known after apply)
      �[32m+�[0m�[0m ignore_casing             = false
      �[32m+�[0m�[0m ignore_missing_property   = true
      �[32m+�[0m�[0m name                      = "WebAppSubnet"
      �[32m+�[0m�[0m output                    = (known after apply)
      �[32m+�[0m�[0m parent_id                 = "/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/ptt-dev-networking-rg/providers/Microsoft.Network/virtualNetworks/spoke-ptt-dev-vnet001"
      �[32m+�[0m�[0m removing_special_chars    = false
      �[32m+�[0m�[0m schema_validation_enabled = true
      �[32m+�[0m�[0m type                      = "Microsoft.Network/virtualNetworks/subnets@2022-07-01"
    }

�[1m  # azurerm_bot_connection.bot_connection_aadv2_oauth�[0m will be created
�[0m  �[32m+�[0m�[0m resource "azurerm_bot_connection" "bot_connection_aadv2_oauth" {
      �[32m+�[0m�[0m bot_name              = "bfr-dev-bot001"
      �[32m+�[0m�[0m client_id             = (sensitive value)
      �[32m+�[0m�[0m client_secret         = (sensitive value)
      �[32m+�[0m�[0m id                    = (known after apply)
      �[32m+�[0m�[0m location              = "global"
      �[32m+�[0m�[0m name                  = "aadv2-oauth"
      �[32m+�[0m�[0m parameters            = {
          �[32m+�[0m�[0m "tenantId" = "37963dd4-f4e6-40f8-a7d6-24b97919e452"
        }
      �[32m+�[0m�[0m resource_group_name   = "bfr-dev-bot-rg"
      �[32m+�[0m�[0m scopes                = "openid profile User.Read User.ReadBasic.All"
      �[32m+�[0m�[0m service_provider_name = "Aadv2"
    }

�[1m  # azurerm_cognitive_deployment.cognitive_deployment_gpt_4o�[0m will be created
�[0m  �[32m+�[0m�[0m resource "azurerm_cognitive_deployment" "cognitive_deployment_gpt_4o" {
      �[32m+�[0m�[0m cognitive_account_id   = (known after apply)
      �[32m+�[0m�[0m id                     = (known after apply)
      �[32m+�[0m�[0m name                   = "gpt-4o"
      �[32m+�[0m�[0m version_upgrade_option = "OnceNewDefaultVersionAvailable"

      �[32m+�[0m�[0m model {
          �[32m+�[0m�[0m format  = "OpenAI"
          �[32m+�[0m�[0m name    = "gpt-4o"
          �[32m+�[0m�[0m version = "2024-05-13"
        }

      �[32m+�[0m�[0m sku {
          �[32m+�[0m�[0m capacity = 100
          �[32m+�[0m�[0m name     = "Standard"
        }
    }

�[1m  # azurerm_cosmosdb_sql_database.cosmosdb_sql_database�[0m will be created
�[0m  �[32m+�[0m�[0m resource "azurerm_cosmosdb_sql_database" "cosmosdb_sql_database" {
      �[32m+�[0m�[0m account_name        = "bfr-dev-cosmos001"
      �[32m+�[0m�[0m id                  = (known after apply)
      �[32m+�[0m�[0m name                = "BotDb"
      �[32m+�[0m�[0m resource_group_name = "bfr-dev-bot-rg"
      �[32m+�[0m�[0m throughput          = (known after apply)

      �[32m+�[0m�[0m autoscale_settings {
          �[32m+�[0m�[0m max_throughput = 1000
        }
    }

�[1m  # azurerm_linux_web_app.linux_web_app�[0m will be created
�[0m  �[32m+�[0m�[0m resource "azurerm_linux_web_app" "linux_web_app" {
      �[32m+�[0m�[0m app_settings                                   = (known after apply)
      �[32m+�[0m�[0m client_affinity_enabled                        = false
      �[32m+�[0m�[0m client_certificate_enabled                     = false
      �[32m+�[0m�[0m client_certificate_mode                        = "Required"
      �[32m+�[0m�[0m custom_domain_verification_id                  = (sensitive value)
      �[32m+�[0m�[0m default_hostname                               = (known after apply)
      �[32m+�[0m�[0m enabled                                        = true
      �[32m+�[0m�[0m ftp_publish_basic_authentication_enabled       = false
      �[32m+�[0m�[0m hosting_environment_id                         = (known after apply)
      �[32m+�[0m�[0m https_only                                     = true
      �[32m+�[0m�[0m id                                             = (known after apply)
      �[32m+�[0m�[0m key_vault_reference_identity_id                = (known after apply)
      �[32m+�[0m�[0m kind                                           = (known after apply)
      �[32m+�[0m�[0m location                                       = "northeurope"
      �[32m+�[0m�[0m name                                           = "bfr-dev-app001"
      �[32m+�[0m�[0m outbound_ip_address_list                       = (known after apply)
      �[32m+�[0m�[0m outbound_ip_addresses                          = (known after apply)
      �[32m+�[0m�[0m possible_outbound_ip_address_list              = (known after apply)
      �[32m+�[0m�[0m possible_outbound_ip_addresses                 = (known after apply)
      �[32m+�[0m�[0m public_network_access_enabled                  = true
      �[32m+�[0m�[0m resource_group_name                            = "bfr-dev-bot-rg"
      �[32m+�[0m�[0m service_plan_id                                = (known after apply)
      �[32m+�[0m�[0m site_credential                                = (sensitive value)
      �[32m+�[0m�[0m tags                                           = {
          �[32m+�[0m�[0m "workload" = "bot-assistant"
        }
      �[32m+�[0m�[0m virtual_network_subnet_id                      = (known after apply)
      �[32m+�[0m�[0m webdeploy_publish_basic_authentication_enabled = false
      �[32m+�[0m�[0m zip_deploy_file                                = (known after apply)
        �[90m# (1 unchanged attribute hidden)�[0m�[0m

      �[32m+�[0m�[0m identity {
          �[32m+�[0m�[0m identity_ids = (known after apply)
          �[32m+�[0m�[0m principal_id = (known after apply)
          �[32m+�[0m�[0m tenant_id    = (known after apply)
          �[32m+�[0m�[0m type         = "UserAssigned"
        }

      �[32m+�[0m�[0m site_config {
          �[32m+�[0m�[0m always_on                               = true
          �[32m+�[0m�[0m app_command_line                        = "gunicorn --bind 0.0.0.0 --worker-class aiohttp.worker.GunicornWebWorker --timeout 600 app:APP"
          �[32m+�[0m�[0m container_registry_use_managed_identity = false
          �[32m+�[0m�[0m default_documents                       = (known after apply)
          �[32m+�[0m�[0m detailed_error_logging_enabled          = (known after apply)
          �[32m+�[0m�[0m ftps_state                              = "Disabled"
          �[32m+�[0m�[0m http2_enabled                           = true
          �[32m+�[0m�[0m ip_restriction_default_action           = "Allow"
          �[32m+�[0m�[0m linux_fx_version                        = (known after apply)
          �[32m+�[0m�[0m load_balancing_mode                     = "LeastRequests"
          �[32m+�[0m�[0m local_mysql_enabled                     = false
          �[32m+�[0m�[0m managed_pipeline_mode                   = "Integrated"
          �[32m+�[0m�[0m minimum_tls_version                     = "1.2"
          �[32m+�[0m�[0m remote_debugging_enabled                = false
          �[32m+�[0m�[0m remote_debugging_version                = "VS2022"
          �[32m+�[0m�[0m scm_ip_restriction_default_action       = "Allow"
          �[32m+�[0m�[0m scm_minimum_tls_version                 = "1.2"
          �[32m+�[0m�[0m scm_type                                = (known after apply)
          �[32m+�[0m�[0m scm_use_main_ip_restriction             = false
          �[32m+�[0m�[0m use_32_bit_worker                       = false
          �[32m+�[0m�[0m vnet_route_all_enabled                  = true
          �[32m+�[0m�[0m websockets_enabled                      = false
          �[32m+�[0m�[0m worker_count                            = 1

          �[32m+�[0m�[0m application_stack {
              �[32m+�[0m�[0m python_version = "3.11"
            }

          �[32m+�[0m�[0m cors {
              �[32m+�[0m�[0m allowed_origins     = [
                  �[32m+�[0m�[0m "https://botservice.hosting.portal.azure.net",
                  �[32m+�[0m�[0m "https://hosting.onecloud.azure-test.net",
                ]
              �[32m+�[0m�[0m support_credentials = true
            }
        }
    }

�[1m  # azurerm_monitor_diagnostic_setting.diagnostic_setting_linux_web_app�[0m will be created
�[0m  �[32m+�[0m�[0m resource "azurerm_monitor_diagnostic_setting" "diagnostic_setting_linux_web_app" {
      �[32m+�[0m�[0m id                             = (known after apply)
      �[32m+�[0m�[0m log_analytics_destination_type = (known after apply)
      �[32m+�[0m�[0m log_analytics_workspace_id     = "/subscriptions/e82c5267-9dc4-4f45-ac13-abdd5e130d27/resourceGroups/ptt-dev-logging-rg/providers/Microsoft.OperationalInsights/workspaces/ptt-dev-log001"
      �[32m+�[0m�[0m name                           = "logAnalytics"
      �[32m+�[0m�[0m target_resource_id             = (known after apply)

      �[32m+�[0m�[0m enabled_log (known after apply)

      �[32m+�[0m�[0m metric (known after apply)
    }

�[1m  # azurerm_private_endpoint.linux_web_app_private_endpoint�[0m will be created
�[0m  �[32m+�[0m�[0m resource "azurerm_private_endpoint" "linux_web_app_private_endpoint" {
      �[32m+�[0m�[0m custom_dns_configs            = (known after apply)
      �[32m+�[0m�[0m custom_network_interface_name = "bfr-dev-app001-nic"
      �[32m+�[0m�[0m id                            = (known after apply)
      �[32m+�[0m�[0m location                      = "northeurope"
      �[32m+�[0m�[0m name                          = "bfr-dev-app001-pe"
      �[32m+�[0m�[0m network_interface             = (known after apply)
      �[32m+�[0m�[0m private_dns_zone_configs      = (known after apply)
      �[32m+�[0m�[0m resource_group_name           = "bfr-dev-bot-rg"
      �[32m+�[0m�[0m subnet_id                     = (known after apply)
      �[32m+�[0m�[0m tags                          = {
          �[32m+�[0m�[0m "workload" = "bot-assistant"
        }

      �[32m+�[0m�[0m private_dns_zone_group {
          �[32m+�[0m�[0m id                   = (known after apply)
          �[32m+�[0m�[0m name                 = "bfr-dev-app001-arecord"
          �[32m+�[0m�[0m private_dns_zone_ids = [
              �[32m+�[0m�[0m "/subscriptions/e82c5267-9dc4-4f45-ac13-abdd5e130d27/resourceGroups/ptt-dev-privatedns-rg/providers/Microsoft.Network/privateDnsZones/privatelink.azurewebsites.net",
            ]
        }

      �[32m+�[0m�[0m private_service_connection {
          �[32m+�[0m�[0m is_manual_connection           = false
          �[32m+�[0m�[0m name                           = "bfr-dev-app001-pe"
          �[32m+�[0m�[0m private_connection_resource_id = (known after apply)
          �[32m+�[0m�[0m private_ip_address             = (known after apply)
          �[32m+�[0m�[0m subresource_names              = [
              �[32m+�[0m�[0m "sites",
            ]
        }
    }

�[1m  # azurerm_resource_group.resource_group�[0m will be created
�[0m  �[32m+�[0m�[0m resource "azurerm_resource_group" "resource_group" {
      �[32m+�[0m�[0m id       = (known after apply)
      �[32m+�[0m�[0m location = "northeurope"
      �[32m+�[0m�[0m name     = "bfr-dev-bot-rg"
      �[32m+�[0m�[0m tags     = {
          �[32m+�[0m�[0m "workload" = "bot-assistant"
        }
    }

�[1m  # azurerm_role_assignment.uai_roleassignment_key_vault_secrets_user�[0m will be created
�[0m  �[32m+�[0m�[0m resource "azurerm_role_assignment" "uai_roleassignment_key_vault_secrets_user" {
      �[32m+�[0m�[0m description                      = "Required for accessing secrets in teh key vault from teh web app app settings."
      �[32m+�[0m�[0m id                               = (known after apply)
      �[32m+�[0m�[0m name                             = (known after apply)
      �[32m+�[0m�[0m principal_id                     = (known after apply)
      �[32m+�[0m�[0m principal_type                   = "ServicePrincipal"
      �[32m+�[0m�[0m role_definition_id               = (known after apply)
      �[32m+�[0m�[0m role_definition_name             = "Key Vault Secrets User"
      �[32m+�[0m�[0m scope                            = (known after apply)
      �[32m+�[0m�[0m skip_service_principal_aad_check = (known after apply)
    }

�[1m  # azurerm_role_assignment.uai_roleassignment_open_ai_contributor�[0m will be created
�[0m  �[32m+�[0m�[0m resource "azurerm_role_assignment" "uai_roleassignment_open_ai_contributor" {
      �[32m+�[0m�[0m description                      = "Required for accessing azure open ai from the web app."
      �[32m+�[0m�[0m id                               = (known after apply)
      �[32m+�[0m�[0m name                             = (known after apply)
      �[32m+�[0m�[0m principal_id                     = (known after apply)
      �[32m+�[0m�[0m principal_type                   = "ServicePrincipal"
      �[32m+�[0m�[0m role_definition_id               = (known after apply)
      �[32m+�[0m�[0m role_definition_name             = "Cognitive Services OpenAI Contributor"
      �[32m+�[0m�[0m scope                            = (known after apply)
      �[32m+�[0m�[0m skip_service_principal_aad_check = (known after apply)
    }

�[1m  # module.app_service_plan.data.azurerm_monitor_diagnostic_categories.diagnostic_categories_service_plan�[0m will be read during apply
  # (config refers to values not yet known)
�[0m �[36m<=�[0m�[0m data "azurerm_monitor_diagnostic_categories" "diagnostic_categories_service_plan" {
      �[32m+�[0m�[0m id                  = (known after apply)
      �[32m+�[0m�[0m log_category_groups = (known after apply)
      �[32m+�[0m�[0m log_category_types  = (known after apply)
      �[32m+�[0m�[0m metrics             = (known after apply)
      �[32m+�[0m�[0m resource_id         = (known after apply)
    }

�[1m  # module.app_service_plan.azurerm_monitor_diagnostic_setting.diagnostic_setting_service_plan["0"]�[0m will be created
�[0m  �[32m+�[0m�[0m resource "azurerm_monitor_diagnostic_setting" "diagnostic_setting_service_plan" {
      �[32m+�[0m�[0m id                             = (known after apply)
      �[32m+�[0m�[0m log_analytics_destination_type = (known after apply)
      �[32m+�[0m�[0m log_analytics_workspace_id     = "/subscriptions/e82c5267-9dc4-4f45-ac13-abdd5e130d27/resourceGroups/ptt-dev-logging-rg/providers/Microsoft.OperationalInsights/workspaces/ptt-dev-log001"
      �[32m+�[0m�[0m name                           = "applicationLogs-0"
      �[32m+�[0m�[0m target_resource_id             = (known after apply)

      �[32m+�[0m�[0m enabled_log (known after apply)

      �[32m+�[0m�[0m metric (known after apply)
    }

�[1m  # module.app_service_plan.azurerm_service_plan.service_plan�[0m will be created
�[0m  �[32m+�[0m�[0m resource "azurerm_service_plan" "service_plan" {
      �[32m+�[0m�[0m id                           = (known after apply)
      �[32m+�[0m�[0m kind                         = (known after apply)
      �[32m+�[0m�[0m location                     = "northeurope"
      �[32m+�[0m�[0m maximum_elastic_worker_count = (known after apply)
      �[32m+�[0m�[0m name                         = "bfr-dev-asp001"
      �[32m+�[0m�[0m os_type                      = "Linux"
      �[32m+�[0m�[0m per_site_scaling_enabled     = false
      �[32m+�[0m�[0m reserved                     = (known after apply)
      �[32m+�[0m�[0m resource_group_name          = "bfr-dev-bot-rg"
      �[32m+�[0m�[0m sku_name                     = "P0v3"
      �[32m+�[0m�[0m tags                         = {
          �[32m+�[0m�[0m "workload" = "bot-assistant"
        }
      �[32m+�[0m�[0m worker_count                 = 1
      �[32m+�[0m�[0m zone_balancing_enabled       = false
    }

�[1m  # module.application_insights.data.azurerm_monitor_diagnostic_categories.diagnostic_categories_application_insights�[0m will be read during apply
  # (config refers to values not yet known)
�[0m �[36m<=�[0m�[0m data "azurerm_monitor_diagnostic_categories" "diagnostic_categories_application_insights" {
      �[32m+�[0m�[0m id                  = (known after apply)
      �[32m+�[0m�[0m log_category_groups = (known after apply)
      �[32m+�[0m�[0m log_category_types  = (known after apply)
      �[32m+�[0m�[0m metrics             = (known after apply)
      �[32m+�[0m�[0m resource_id         = (known after apply)
    }

�[1m  # module.application_insights.azurerm_application_insights.application_insights�[0m will be created
�[0m  �[32m+�[0m�[0m resource "azurerm_application_insights" "application_insights" {
      �[32m+�[0m�[0m app_id                                = (known after apply)
      �[32m+�[0m�[0m application_type                      = "web"
      �[32m+�[0m�[0m connection_string                     = (sensitive value)
      �[32m+�[0m�[0m daily_data_cap_in_gb                  = 100
      �[32m+�[0m�[0m daily_data_cap_notifications_disabled = false
      �[32m+�[0m�[0m disable_ip_masking                    = false
      �[32m+�[0m�[0m force_customer_storage_for_profiler   = false
      �[32m+�[0m�[0m id                                    = (known after apply)
      �[32m+�[0m�[0m instrumentation_key                   = (sensitive value)
      �[32m+�[0m�[0m internet_ingestion_enabled            = true
      �[32m+�[0m�[0m internet_query_enabled                = true
      �[32m+�[0m�[0m local_authentication_disabled         = false
      �[32m+�[0m�[0m location                              = "northeurope"
      �[32m+�[0m�[0m name                                  = "bfr-dev-appi001"
      �[32m+�[0m�[0m resource_group_name                   = "bfr-dev-bot-rg"
      �[32m+�[0m�[0m retention_in_days                     = 90
      �[32m+�[0m�[0m sampling_percentage                   = 100
      �[32m+�[0m�[0m tags                                  = {
          �[32m+�[0m�[0m "workload" = "bot-assistant"
        }
      �[32m+�[0m�[0m workspace_id                          = "/subscriptions/e82c5267-9dc4-4f45-ac13-abdd5e130d27/resourceGroups/ptt-dev-logging-rg/providers/Microsoft.OperationalInsights/workspaces/ptt-dev-log001"
    }

�[1m  # module.application_insights.azurerm_monitor_diagnostic_setting.diagnostic_setting_application_insights["0"]�[0m will be created
�[0m  �[32m+�[0m�[0m resource "azurerm_monitor_diagnostic_setting" "diagnostic_setting_application_insights" {
      �[32m+�[0m�[0m id                             = (known after apply)
      �[32m+�[0m�[0m log_analytics_destination_type = (known after apply)
      �[32m+�[0m�[0m log_analytics_workspace_id     = "/subscriptions/e82c5267-9dc4-4f45-ac13-abdd5e130d27/resourceGroups/ptt-dev-logging-rg/providers/Microsoft.OperationalInsights/workspaces/ptt-dev-log001"
      �[32m+�[0m�[0m name                           = "applicationLogs-0"
      �[32m+�[0m�[0m target_resource_id             = (known after apply)

      �[32m+�[0m�[0m enabled_log (known after apply)

      �[32m+�[0m�[0m metric (known after apply)
    }

�[1m  # module.azure_open_ai.data.azurerm_monitor_diagnostic_categories.diagnostic_categories_cognitive_account�[0m will be read during apply
  # (config refers to values not yet known)
�[0m �[36m<=�[0m�[0m data "azurerm_monitor_diagnostic_categories" "diagnostic_categories_cognitive_account" {
      �[32m+�[0m�[0m id                  = (known after apply)
      �[32m+�[0m�[0m log_category_groups = (known after apply)
      �[32m+�[0m�[0m log_category_types  = (known after apply)
      �[32m+�[0m�[0m metrics             = (known after apply)
      �[32m+�[0m�[0m resource_id         = (known after apply)
    }

�[1m  # module.azure_open_ai.azurerm_cognitive_account.cognitive_account�[0m will be created
�[0m  �[32m+�[0m�[0m resource "azurerm_cognitive_account" "cognitive_account" {
      �[32m+�[0m�[0m custom_subdomain_name              = "bfr-dev-aoai001"
      �[32m+�[0m�[0m dynamic_throttling_enabled         = false
      �[32m+�[0m�[0m endpoint                           = (known after apply)
      �[32m+�[0m�[0m fqdns                              = []
      �[32m+�[0m�[0m id                                 = (known after apply)
      �[32m+�[0m�[0m kind                               = "OpenAI"
      �[32m+�[0m�[0m local_auth_enabled                 = false
      �[32m+�[0m�[0m location                           = "swedencentral"
      �[32m+�[0m�[0m name                               = "bfr-dev-aoai001"
      �[32m+�[0m�[0m outbound_network_access_restricted = true
      �[32m+�[0m�[0m primary_access_key                 = (sensitive value)
      �[32m+�[0m�[0m public_network_access_enabled      = false
      �[32m+�[0m�[0m resource_group_name                = "bfr-dev-bot-rg"
      �[32m+�[0m�[0m secondary_access_key               = (sensitive value)
      �[32m+�[0m�[0m sku_name                           = "S0"
      �[32m+�[0m�[0m tags                               = {
          �[32m+�[0m�[0m "workload" = "bot-assistant"
        }

      �[32m+�[0m�[0m identity {
          �[32m+�[0m�[0m principal_id = (known after apply)
          �[32m+�[0m�[0m tenant_id    = (known after apply)
          �[32m+�[0m�[0m type         = "SystemAssigned"
        }

      �[32m+�[0m�[0m network_acls {
          �[32m+�[0m�[0m default_action = "Deny"
        }
    }

�[1m  # module.azure_open_ai.azurerm_monitor_diagnostic_setting.diagnostic_setting_cognitive_account["0"]�[0m will be created
�[0m  �[32m+�[0m�[0m resource "azurerm_monitor_diagnostic_setting" "diagnostic_setting_cognitive_account" {
      �[32m+�[0m�[0m id                             = (known after apply)
      �[32m+�[0m�[0m log_analytics_destination_type = (known after apply)
      �[32m+�[0m�[0m log_analytics_workspace_id     = "/subscriptions/e82c5267-9dc4-4f45-ac13-abdd5e130d27/resourceGroups/ptt-dev-logging-rg/providers/Microsoft.OperationalInsights/workspaces/ptt-dev-log001"
      �[32m+�[0m�[0m name                           = "applicationLogs-0"
      �[32m+�[0m�[0m target_resource_id             = (known after apply)

      �[32m+�[0m�[0m enabled_log (known after apply)

      �[32m+�[0m�[0m metric (known after apply)
    }

�[1m  # module.azure_open_ai.azurerm_private_endpoint.private_endpoint_cognitive_account�[0m will be created
�[0m  �[32m+�[0m�[0m resource "azurerm_private_endpoint" "private_endpoint_cognitive_account" {
      �[32m+�[0m�[0m custom_dns_configs            = (known after apply)
      �[32m+�[0m�[0m custom_network_interface_name = "bfr-dev-aoai001-account-nic"
      �[32m+�[0m�[0m id                            = (known after apply)
      �[32m+�[0m�[0m location                      = "northeurope"
      �[32m+�[0m�[0m name                          = "bfr-dev-aoai001-account-pe"
      �[32m+�[0m�[0m network_interface             = (known after apply)
      �[32m+�[0m�[0m private_dns_zone_configs      = (known after apply)
      �[32m+�[0m�[0m resource_group_name           = "bfr-dev-bot-rg"
      �[32m+�[0m�[0m subnet_id                     = (known after apply)
      �[32m+�[0m�[0m tags                          = {
          �[32m+�[0m�[0m "workload" = "bot-assistant"
        }

      �[32m+�[0m�[0m private_dns_zone_group {
          �[32m+�[0m�[0m id                   = (known after apply)
          �[32m+�[0m�[0m name                 = "bfr-dev-aoai001-arecord"
          �[32m+�[0m�[0m private_dns_zone_ids = [
              �[32m+�[0m�[0m "/subscriptions/e82c5267-9dc4-4f45-ac13-abdd5e130d27/resourceGroups/ptt-dev-privatedns-rg/providers/Microsoft.Network/privateDnsZones/privatelink.openai.azure.com",
            ]
        }

      �[32m+�[0m�[0m private_service_connection {
          �[32m+�[0m�[0m is_manual_connection           = false
          �[32m+�[0m�[0m name                           = "bfr-dev-aoai001-account-svc"
          �[32m+�[0m�[0m private_connection_resource_id = (known after apply)
          �[32m+�[0m�[0m private_ip_address             = (known after apply)
          �[32m+�[0m�[0m subresource_names              = [
              �[32m+�[0m�[0m "account",
            ]
        }
    }

�[1m  # module.azure_open_ai.time_sleep.sleep_connectivity�[0m will be created
�[0m  �[32m+�[0m�[0m resource "time_sleep" "sleep_connectivity" {
      �[32m+�[0m�[0m create_duration = "0s"
      �[32m+�[0m�[0m id              = (known after apply)
    }

�[1m  # module.bot_service.data.azurerm_application_insights.application_insights�[0m will be read during apply
  # (config refers to values not yet known)
�[0m �[36m<=�[0m�[0m data "azurerm_application_insights" "application_insights" {
      �[32m+�[0m�[0m app_id              = (known after apply)
      �[32m+�[0m�[0m application_type    = (known after apply)
      �[32m+�[0m�[0m connection_string   = (sensitive value)
      �[32m+�[0m�[0m id                  = (known after apply)
      �[32m+�[0m�[0m instrumentation_key = (known after apply)
      �[32m+�[0m�[0m location            = (known after apply)
      �[32m+�[0m�[0m name                = (known after apply)
      �[32m+�[0m�[0m resource_group_name = (known after apply)
      �[32m+�[0m�[0m retention_in_days   = (known after apply)
      �[32m+�[0m�[0m tags                = (known after apply)
      �[32m+�[0m�[0m workspace_id        = (known after apply)
    }

�[1m  # module.bot_service.data.azurerm_monitor_diagnostic_categories.diagnostic_categories_bot_service_azure_bot�[0m will be read during apply
  # (config refers to values not yet known)
�[0m �[36m<=�[0m�[0m data "azurerm_monitor_diagnostic_categories" "diagnostic_categories_bot_service_azure_bot" {
      �[32m+�[0m�[0m id                  = (known after apply)
      �[32m+�[0m�[0m log_category_groups = (known after apply)
      �[32m+�[0m�[0m log_category_types  = (known after apply)
      �[32m+�[0m�[0m metrics             = (known after apply)
      �[32m+�[0m�[0m resource_id         = (known after apply)
    }

�[1m  # module.bot_service.azurerm_bot_service_azure_bot.bot_service_azure_bot�[0m will be created
�[0m  �[32m+�[0m�[0m resource "azurerm_bot_service_azure_bot" "bot_service_azure_bot" {
      �[32m+�[0m�[0m developer_app_insights_application_id = (known after apply)
      �[32m+�[0m�[0m developer_app_insights_key            = (known after apply)
      �[32m+�[0m�[0m display_name                          = "Azure Bot Service - Bfr Dev Bot001"
      �[32m+�[0m�[0m endpoint                              = (known after apply)
      �[32m+�[0m�[0m icon_url                              = "https://docs.botframework.com/static/devportal/client/images/bot-framework-default.png"
      �[32m+�[0m�[0m id                                    = (known after apply)
      �[32m+�[0m�[0m local_authentication_enabled          = false
      �[32m+�[0m�[0m location                              = "global"
      �[32m+�[0m�[0m luis_app_ids                          = []
      �[32m+�[0m�[0m microsoft_app_id                      = (known after apply)
      �[32m+�[0m�[0m microsoft_app_msi_id                  = (known after apply)
      �[32m+�[0m�[0m microsoft_app_tenant_id               = (known after apply)
      �[32m+�[0m�[0m microsoft_app_type                    = "UserAssignedMSI"
      �[32m+�[0m�[0m name                                  = "bfr-dev-bot001"
      �[32m+�[0m�[0m public_network_access_enabled         = true
      �[32m+�[0m�[0m resource_group_name                   = "bfr-dev-bot-rg"
      �[32m+�[0m�[0m sku                                   = "S1"
      �[32m+�[0m�[0m streaming_endpoint_enabled            = false
      �[32m+�[0m�[0m tags                                  = {
          �[32m+�[0m�[0m "workload" = "bot-assistant"
        }
    }

�[1m  # module.bot_service.azurerm_monitor_diagnostic_setting.diagnostic_setting_bot_service_azure_bot["0"]�[0m will be created
�[0m  �[32m+�[0m�[0m resource "azurerm_monitor_diagnostic_setting" "diagnostic_setting_bot_service_azure_bot" {
      �[32m+�[0m�[0m id                             = (known after apply)
      �[32m+�[0m�[0m log_analytics_destination_type = (known after apply)
      �[32m+�[0m�[0m log_analytics_workspace_id     = "/subscriptions/e82c5267-9dc4-4f45-ac13-abdd5e130d27/resourceGroups/ptt-dev-logging-rg/providers/Microsoft.OperationalInsights/workspaces/ptt-dev-log001"
      �[32m+�[0m�[0m name                           = "applicationLogs-0"
      �[32m+�[0m�[0m target_resource_id             = (known after apply)

      �[32m+�[0m�[0m enabled_log (known after apply)

      �[32m+�[0m�[0m metric (known after apply)
    }

�[1m  # module.bot_service.azurerm_private_endpoint.bot_service_azure_bot_private_endpoint_bot�[0m will be created
�[0m  �[32m+�[0m�[0m resource "azurerm_private_endpoint" "bot_service_azure_bot_private_endpoint_bot" {
      �[32m+�[0m�[0m custom_dns_configs            = (known after apply)
      �[32m+�[0m�[0m custom_network_interface_name = "bfr-dev-bot001-bot-nic"
      �[32m+�[0m�[0m id                            = (known after apply)
      �[32m+�[0m�[0m location                      = "northeurope"
      �[32m+�[0m�[0m name                          = "bfr-dev-bot001-bot-pe"
      �[32m+�[0m�[0m network_interface             = (known after apply)
      �[32m+�[0m�[0m private_dns_zone_configs      = (known after apply)
      �[32m+�[0m�[0m resource_group_name           = "bfr-dev-bot-rg"
      �[32m+�[0m�[0m subnet_id                     = (known after apply)
      �[32m+�[0m�[0m tags                          = {
          �[32m+�[0m�[0m "workload" = "bot-assistant"
        }

      �[32m+�[0m�[0m private_dns_zone_group {
          �[32m+�[0m�[0m id                   = (known after apply)
          �[32m+�[0m�[0m name                 = "bfr-dev-bot001-arecord"
          �[32m+�[0m�[0m private_dns_zone_ids = [
              �[32m+�[0m�[0m "/subscriptions/e82c5267-9dc4-4f45-ac13-abdd5e130d27/resourceGroups/ptt-dev-privatedns-rg/providers/Microsoft.Network/privateDnsZones/privatelink.directline.botframework.com",
            ]
        }

      �[32m+�[0m�[0m private_service_connection {
          �[32m+�[0m�[0m is_manual_connection           = false
          �[32m+�[0m�[0m name                           = "bfr-dev-bot001-bot-svc"
          �[32m+�[0m�[0m private_connection_resource_id = (known after apply)
          �[32m+�[0m�[0m private_ip_address             = (known after apply)
          �[32m+�[0m�[0m subresource_names              = [
              �[32m+�[0m�[0m "Bot",
            ]
        }
    }

�[1m  # module.bot_service.azurerm_private_endpoint.bot_service_azure_bot_private_endpoint_token�[0m will be created
�[0m  �[32m+�[0m�[0m resource "azurerm_private_endpoint" "bot_service_azure_bot_private_endpoint_token" {
      �[32m+�[0m�[0m custom_dns_configs            = (known after apply)
      �[32m+�[0m�[0m custom_network_interface_name = "bfr-dev-bot001-token-nic"
      �[32m+�[0m�[0m id                            = (known after apply)
      �[32m+�[0m�[0m location                      = "northeurope"
      �[32m+�[0m�[0m name                          = "bfr-dev-bot001-token-pe"
      �[32m+�[0m�[0m network_interface             = (known after apply)
      �[32m+�[0m�[0m private_dns_zone_configs      = (known after apply)
      �[32m+�[0m�[0m resource_group_name           = "bfr-dev-bot-rg"
      �[32m+�[0m�[0m subnet_id                     = (known after apply)
      �[32m+�[0m�[0m tags                          = {
          �[32m+�[0m�[0m "workload" = "bot-assistant"
        }

      �[32m+�[0m�[0m private_dns_zone_group {
          �[32m+�[0m�[0m id                   = (known after apply)
          �[32m+�[0m�[0m name                 = "bfr-dev-bot001-arecord"
          �[32m+�[0m�[0m private_dns_zone_ids = [
              �[32m+�[0m�[0m "/subscriptions/e82c5267-9dc4-4f45-ac13-abdd5e130d27/resourceGroups/ptt-dev-privatedns-rg/providers/Microsoft.Network/privateDnsZones/privatelink.token.botframework.com",
            ]
        }

      �[32m+�[0m�[0m private_service_connection {
          �[32m+�[0m�[0m is_manual_connection           = false
          �[32m+�[0m�[0m name                           = "bfr-dev-bot001-token-svc"
          �[32m+�[0m�[0m private_connection_resource_id = (known after apply)
          �[32m+�[0m�[0m private_ip_address             = (known after apply)
          �[32m+�[0m�[0m subresource_names              = [
              �[32m+�[0m�[0m "Token",
            ]
        }
    }

�[1m  # module.bot_service.time_sleep.sleep_connectivity�[0m will be created
�[0m  �[32m+�[0m�[0m resource "time_sleep" "sleep_connectivity" {
      �[32m+�[0m�[0m create_duration = "120s"
      �[32m+�[0m�[0m id              = (known after apply)
    }

�[1m  # module.cosmosdb_account.data.azurerm_monitor_diagnostic_categories.diagnostic_categories_cosmosdb_account�[0m will be read during apply
  # (config refers to values not yet known)
�[0m �[36m<=�[0m�[0m data "azurerm_monitor_diagnostic_categories" "diagnostic_categories_cosmosdb_account" {
      �[32m+�[0m�[0m id                  = (known after apply)
      �[32m+�[0m�[0m log_category_groups = (known after apply)
      �[32m+�[0m�[0m log_category_types  = (known after apply)
      �[32m+�[0m�[0m metrics             = (known after apply)
      �[32m+�[0m�[0m resource_id         = (known after apply)
    }

�[1m  # module.cosmosdb_account.azurerm_cosmosdb_account.cosmosdb_account�[0m will be created
�[0m  �[32m+�[0m�[0m resource "azurerm_cosmosdb_account" "cosmosdb_account" {
      �[32m+�[0m�[0m access_key_metadata_writes_enabled           = true
      �[32m+�[0m�[0m analytical_storage_enabled                   = false
      �[32m+�[0m�[0m automatic_failover_enabled                   = false
      �[32m+�[0m�[0m burst_capacity_enabled                       = false
      �[32m+�[0m�[0m create_mode                                  = "Default"
      �[32m+�[0m�[0m default_identity_type                        = "FirstPartyIdentity"
      �[32m+�[0m�[0m endpoint                                     = (known after apply)
      �[32m+�[0m�[0m free_tier_enabled                            = false
      �[32m+�[0m�[0m id                                           = (known after apply)
      �[32m+�[0m�[0m is_virtual_network_filter_enabled            = true
      �[32m+�[0m�[0m kind                                         = "GlobalDocumentDB"
      �[32m+�[0m�[0m local_authentication_disabled                = false
      �[32m+�[0m�[0m location                                     = "northeurope"
      �[32m+�[0m�[0m minimal_tls_version                          = "Tls12"
      �[32m+�[0m�[0m mongo_server_version                         = (known after apply)
      �[32m+�[0m�[0m multiple_write_locations_enabled             = false
      �[32m+�[0m�[0m name                                         = "bfr-dev-cosmos001"
      �[32m+�[0m�[0m network_acl_bypass_for_azure_services        = false
      �[32m+�[0m�[0m network_acl_bypass_ids                       = []
      �[32m+�[0m�[0m offer_type                                   = "Standard"
      �[32m+�[0m�[0m partition_merge_enabled                      = false
      �[32m+�[0m�[0m primary_key                                  = (sensitive value)
      �[32m+�[0m�[0m primary_mongodb_connection_string            = (sensitive value)
      �[32m+�[0m�[0m primary_readonly_key                         = (sensitive value)
      �[32m+�[0m�[0m primary_readonly_mongodb_connection_string   = (sensitive value)
      �[32m+�[0m�[0m primary_readonly_sql_connection_string       = (sensitive value)
      �[32m+�[0m�[0m primary_sql_connection_string                = (sensitive value)
      �[32m+�[0m�[0m public_network_access_enabled                = false
      �[32m+�[0m�[0m read_endpoints                               = (known after apply)
      �[32m+�[0m�[0m resource_group_name                          = "bfr-dev-bot-rg"
      �[32m+�[0m�[0m secondary_key                                = (sensitive value)
      �[32m+�[0m�[0m secondary_mongodb_connection_string          = (sensitive value)
      �[32m+�[0m�[0m secondary_readonly_key                       = (sensitive value)
      �[32m+�[0m�[0m secondary_readonly_mongodb_connection_string = (sensitive value)
      �[32m+�[0m�[0m secondary_readonly_sql_connection_string     = (sensitive value)
      �[32m+�[0m�[0m secondary_sql_connection_string              = (sensitive value)
      �[32m+�[0m�[0m tags                                         = {
          �[32m+�[0m�[0m "workload" = "bot-assistant"
        }
      �[32m+�[0m�[0m write_endpoints                              = (known after apply)

      �[32m+�[0m�[0m analytical_storage {
          �[32m+�[0m�[0m schema_type = "FullFidelity"
        }

      �[32m+�[0m�[0m backup {
          �[32m+�[0m�[0m interval_in_minutes = (known after apply)
          �[32m+�[0m�[0m retention_in_hours  = (known after apply)
          �[32m+�[0m�[0m storage_redundancy  = (known after apply)
          �[32m+�[0m�[0m tier                = "Continuous7Days"
          �[32m+�[0m�[0m type                = "Continuous"
        }

      �[32m+�[0m�[0m capabilities (known after apply)

      �[32m+�[0m�[0m capacity {
          �[32m+�[0m�[0m total_throughput_limit = -1
        }

      �[32m+�[0m�[0m consistency_policy {
          �[32m+�[0m�[0m consistency_level = "Strong"
        }

      �[32m+�[0m�[0m geo_location {
          �[32m+�[0m�[0m failover_priority = 0
          �[32m+�[0m�[0m id                = (known after apply)
          �[32m+�[0m�[0m location          = "northeurope"
          �[32m+�[0m�[0m zone_redundant    = false
        }

      �[32m+�[0m�[0m identity {
          �[32m+�[0m�[0m principal_id = (known after apply)
          �[32m+�[0m�[0m tenant_id    = (known after apply)
          �[32m+�[0m�[0m type         = "SystemAssigned"
        }
    }

�[1m  # module.cosmosdb_account.azurerm_private_endpoint.private_endpoint_cosmosdb_account["Sql"]�[0m will be created
�[0m  �[32m+�[0m�[0m resource "azurerm_private_endpoint" "private_endpoint_cosmosdb_account" {
      �[32m+�[0m�[0m custom_dns_configs            = (known after apply)
      �[32m+�[0m�[0m custom_network_interface_name = "bfr-dev-cosmos001-Sql-nic"
      �[32m+�[0m�[0m id                            = (known after apply)
      �[32m+�[0m�[0m location                      = "northeurope"
      �[32m+�[0m�[0m name                          = "bfr-dev-cosmos001-Sql-pe"
      �[32m+�[0m�[0m network_interface             = (known after apply)
      �[32m+�[0m�[0m private_dns_zone_configs      = (known after apply)
      �[32m+�[0m�[0m resource_group_name           = "bfr-dev-bot-rg"
      �[32m+�[0m�[0m subnet_id                     = (known after apply)
      �[32m+�[0m�[0m tags                          = {
          �[32m+�[0m�[0m "workload" = "bot-assistant"
        }

      �[32m+�[0m�[0m private_dns_zone_group {
          �[32m+�[0m�[0m id                   = (known after apply)
          �[32m+�[0m�[0m name                 = "bfr-dev-cosmos001-arecord"
          �[32m+�[0m�[0m private_dns_zone_ids = [
              �[32m+�[0m�[0m "/subscriptions/e82c5267-9dc4-4f45-ac13-abdd5e130d27/resourceGroups/ptt-dev-privatedns-rg/providers/Microsoft.Network/privateDnsZones/privatelink.documents.azure.com",
            ]
        }

      �[32m+�[0m�[0m private_service_connection {
          �[32m+�[0m�[0m is_manual_connection           = false
          �[32m+�[0m�[0m name                           = "bfr-dev-cosmos001-Sql-svc"
          �[32m+�[0m�[0m private_connection_resource_id = (known after apply)
          �[32m+�[0m�[0m private_ip_address             = (known after apply)
          �[32m+�[0m�[0m subresource_names              = [
              �[32m+�[0m�[0m "Sql",
            ]
        }
    }

�[1m  # module.cosmosdb_account.time_sleep.sleep_connectivity�[0m will be created
�[0m  �[32m+�[0m�[0m resource "time_sleep" "sleep_connectivity" {
      �[32m+�[0m�[0m create_duration = "0s"
      �[32m+�[0m�[0m id              = (known after apply)
    }

�[1m  # module.key_vault.data.azurerm_monitor_diagnostic_categories.diagnostic_categories_key_vault�[0m will be read during apply
  # (config refers to values not yet known)
�[0m �[36m<=�[0m�[0m data "azurerm_monitor_diagnostic_categories" "diagnostic_categories_key_vault" {
      �[32m+�[0m�[0m id                  = (known after apply)
      �[32m+�[0m�[0m log_category_groups = (known after apply)
      �[32m+�[0m�[0m log_category_types  = (known after apply)
      �[32m+�[0m�[0m metrics             = (known after apply)
      �[32m+�[0m�[0m resource_id         = (known after apply)
    }

�[1m  # module.key_vault.azurerm_key_vault.key_vault�[0m will be created
�[0m  �[32m+�[0m�[0m resource "azurerm_key_vault" "key_vault" {
      �[32m+�[0m�[0m access_policy                   = []
      �[32m+�[0m�[0m enable_rbac_authorization       = true
      �[32m+�[0m�[0m enabled_for_deployment          = false
      �[32m+�[0m�[0m enabled_for_disk_encryption     = false
      �[32m+�[0m�[0m enabled_for_template_deployment = false
      �[32m+�[0m�[0m id                              = (known after apply)
      �[32m+�[0m�[0m location                        = "northeurope"
      �[32m+�[0m�[0m name                            = "bfr-dev-kv001"
      �[32m+�[0m�[0m public_network_access_enabled   = false
      �[32m+�[0m�[0m purge_protection_enabled        = true
      �[32m+�[0m�[0m resource_group_name             = "bfr-dev-bot-rg"
      �[32m+�[0m�[0m sku_name                        = "standard"
      �[32m+�[0m�[0m soft_delete_retention_days      = 7
      �[32m+�[0m�[0m tags                            = {
          �[32m+�[0m�[0m "workload" = "bot-assistant"
        }
      �[32m+�[0m�[0m tenant_id                       = "37963dd4-f4e6-40f8-a7d6-24b97919e452"
      �[32m+�[0m�[0m vault_uri                       = (known after apply)

      �[32m+�[0m�[0m contact (known after apply)

      �[32m+�[0m�[0m network_acls {
          �[32m+�[0m�[0m bypass         = "AzureServices"
          �[32m+�[0m�[0m default_action = "Deny"
        }
    }

�[1m  # module.key_vault.azurerm_monitor_diagnostic_setting.diagnostic_setting_key_vault["0"]�[0m will be created
�[0m  �[32m+�[0m�[0m resource "azurerm_monitor_diagnostic_setting" "diagnostic_setting_key_vault" {
      �[32m+�[0m�[0m id                             = (known after apply)
      �[32m+�[0m�[0m log_analytics_destination_type = (known after apply)
      �[32m+�[0m�[0m log_analytics_workspace_id     = "/subscriptions/e82c5267-9dc4-4f45-ac13-abdd5e130d27/resourceGroups/ptt-dev-logging-rg/providers/Microsoft.OperationalInsights/workspaces/ptt-dev-log001"
      �[32m+�[0m�[0m name                           = "applicationLogs-0"
      �[32m+�[0m�[0m target_resource_id             = (known after apply)

      �[32m+�[0m�[0m enabled_log (known after apply)

      �[32m+�[0m�[0m metric (known after apply)
    }

�[1m  # module.key_vault.azurerm_private_endpoint.private_endpoint_cognitive_account_vault�[0m will be created
�[0m  �[32m+�[0m�[0m resource "azurerm_private_endpoint" "private_endpoint_cognitive_account_vault" {
      �[32m+�[0m�[0m custom_dns_configs            = (known after apply)
      �[32m+�[0m�[0m custom_network_interface_name = "bfr-dev-kv001-vault-nic"
      �[32m+�[0m�[0m id                            = (known after apply)
      �[32m+�[0m�[0m location                      = "northeurope"
      �[32m+�[0m�[0m name                          = "bfr-dev-kv001-vault-pe"
      �[32m+�[0m�[0m network_interface             = (known after apply)
      �[32m+�[0m�[0m private_dns_zone_configs      = (known after apply)
      �[32m+�[0m�[0m resource_group_name           = "bfr-dev-bot-rg"
      �[32m+�[0m�[0m subnet_id                     = (known after apply)
      �[32m+�[0m�[0m tags                          = {
          �[32m+�[0m�[0m "workload" = "bot-assistant"
        }

      �[32m+�[0m�[0m private_dns_zone_group {
          �[32m+�[0m�[0m id                   = (known after apply)
          �[32m+�[0m�[0m name                 = "bfr-dev-kv001-arecord"
          �[32m+�[0m�[0m private_dns_zone_ids = [
              �[32m+�[0m�[0m "/subscriptions/e82c5267-9dc4-4f45-ac13-abdd5e130d27/resourceGroups/ptt-dev-privatedns-rg/providers/Microsoft.Network/privateDnsZones/privatelink.vaultcore.azure.net",
            ]
        }

      �[32m+�[0m�[0m private_service_connection {
          �[32m+�[0m�[0m is_manual_connection           = false
          �[32m+�[0m�[0m name                           = "bfr-dev-kv001-vault-svc"
          �[32m+�[0m�[0m private_connection_resource_id = (known after apply)
          �[32m+�[0m�[0m private_ip_address             = (known after apply)
          �[32m+�[0m�[0m subresource_names              = [
              �[32m+�[0m�[0m "vault",
            ]
        }
    }

�[1m  # module.key_vault.azurerm_role_assignment.current_roleassignment_key_vault�[0m will be created
�[0m  �[32m+�[0m�[0m resource "azurerm_role_assignment" "current_roleassignment_key_vault" {
      �[32m+�[0m�[0m id                               = (known after apply)
      �[32m+�[0m�[0m name                             = (known after apply)
      �[32m+�[0m�[0m principal_id                     = "973df2ad-4e5e-4e8b-9df6-17f61e9efd55"
      �[32m+�[0m�[0m principal_type                   = (known after apply)
      �[32m+�[0m�[0m role_definition_id               = (known after apply)
      �[32m+�[0m�[0m role_definition_name             = "Key Vault Administrator"
      �[32m+�[0m�[0m scope                            = (known after apply)
      �[32m+�[0m�[0m skip_service_principal_aad_check = (known after apply)
    }

�[1m  # module.key_vault.time_sleep.sleep_connectivity�[0m will be created
�[0m  �[32m+�[0m�[0m resource "time_sleep" "sleep_connectivity" {
      �[32m+�[0m�[0m create_duration = "120s"
      �[32m+�[0m�[0m id              = (known after apply)
    }

�[1m  # module.user_assigned_identity.azurerm_user_assigned_identity.user_assigned_identity�[0m will be created
�[0m  �[32m+�[0m�[0m resource "azurerm_user_assigned_identity" "user_assigned_identity" {
      �[32m+�[0m�[0m client_id           = (known after apply)
      �[32m+�[0m�[0m id                  = (known after apply)
      �[32m+�[0m�[0m location            = "northeurope"
      �[32m+�[0m�[0m name                = "bfr-dev-uai001"
      �[32m+�[0m�[0m principal_id        = (known after apply)
      �[32m+�[0m�[0m resource_group_name = "bfr-dev-bot-rg"
      �[32m+�[0m�[0m tags                = {
          �[32m+�[0m�[0m "workload" = "bot-assistant"
        }
      �[32m+�[0m�[0m tenant_id           = (known after apply)
    }

�[1mPlan:�[0m 33 to add, 0 to change, 0 to destroy.
�[0m�[90m
─────────────────────────────────────────────────────────────────────────────�[0m

Note: You didn't use the -out option to save this plan, so Terraform can't
guarantee to take exactly these actions if you run "terraform apply" now.
Releasing state lock. This may take a few moments...

Copy link

github-actions bot commented Oct 1, 2024

Terraform Lint Results

  • Terraform Version 📎1.9.6
  • Working Directory 📂./code/infra
  • Terraform Format and Style 🖌success

Copy link

github-actions bot commented Oct 1, 2024

Terraform Validation & Plan Results

  • Terraform Version 📎1.9.6
  • Working Directory 📂./code/infra
  • Terraform Initialization ⚙️success
  • Terraform Validation 🤖success
  • Terraform Plan 📖success
Show Plan

terraform
Acquiring state lock. This may take a few moments...
�[0m�[1mdata.local_file.file_system_prompt: Reading...�[0m�[0m
�[0m�[1mdata.local_file.file_system_prompt: Read complete after 0s [id=1b64caca607e392bc85ff27243e6022401cc3184]�[0m
�[0m�[1mdata.azurerm_log_analytics_workspace.log_analytics_workspace: Reading...�[0m�[0m
�[0m�[1mdata.azurerm_client_config.current: Reading...�[0m�[0m
�[0m�[1mmodule.azure_open_ai.data.azurerm_client_config.current: Reading...�[0m�[0m
�[0m�[1mdata.azurerm_virtual_network.virtual_network: Reading...�[0m�[0m
�[0m�[1mmodule.key_vault.data.azurerm_client_config.current: Reading...�[0m�[0m
�[0m�[1mdata.azurerm_network_security_group.network_security_group: Reading...�[0m�[0m
�[0m�[1mdata.azurerm_client_config.current: Read complete after 0s [id=Y2xpZW50Q29uZmlncy9jbGllbnRJZD1lNWRmNjg0My1lYmRlLTRkNzktOWM3ZS03NDMxYTNjZDQzZDI7b2JqZWN0SWQ9OTczZGYyYWQtNGU1ZS00ZThiLTlkZjYtMTdmNjFlOWVmZDU1O3N1YnNjcmlwdGlvbklkPTFmZGFiMTE4LTE2MzgtNDE5YS04YjEyLTA2Yzk1NDM3MTRhMDt0ZW5hbnRJZD0zNzk2M2RkNC1mNGU2LTQwZjgtYTdkNi0yNGI5NzkxOWU0NTI=]�[0m
�[0m�[1mdata.azurerm_route_table.route_table: Reading...�[0m�[0m
�[0m�[1mazurerm_resource_group.resource_group: Refreshing state... [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/bfr-dev-bot-rg]�[0m
�[0m�[1mmodule.key_vault.data.azurerm_client_config.current: Read complete after 0s [id=Y2xpZW50Q29uZmlncy9jbGllbnRJZD1lNWRmNjg0My1lYmRlLTRkNzktOWM3ZS03NDMxYTNjZDQzZDI7b2JqZWN0SWQ9OTczZGYyYWQtNGU1ZS00ZThiLTlkZjYtMTdmNjFlOWVmZDU1O3N1YnNjcmlwdGlvbklkPTFmZGFiMTE4LTE2MzgtNDE5YS04YjEyLTA2Yzk1NDM3MTRhMDt0ZW5hbnRJZD0zNzk2M2RkNC1mNGU2LTQwZjgtYTdkNi0yNGI5NzkxOWU0NTI=]�[0m
�[0m�[1mmodule.azure_open_ai.data.azurerm_client_config.current: Read complete after 0s [id=Y2xpZW50Q29uZmlncy9jbGllbnRJZD1lNWRmNjg0My1lYmRlLTRkNzktOWM3ZS03NDMxYTNjZDQzZDI7b2JqZWN0SWQ9OTczZGYyYWQtNGU1ZS00ZThiLTlkZjYtMTdmNjFlOWVmZDU1O3N1YnNjcmlwdGlvbklkPTFmZGFiMTE4LTE2MzgtNDE5YS04YjEyLTA2Yzk1NDM3MTRhMDt0ZW5hbnRJZD0zNzk2M2RkNC1mNGU2LTQwZjgtYTdkNi0yNGI5NzkxOWU0NTI=]�[0m
�[0m�[1mdata.azurerm_route_table.route_table: Read complete after 1s [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/ptt-dev-networking-rg/providers/Microsoft.Network/routeTables/ptt-dev-default-rt001]�[0m
�[0m�[1mdata.azurerm_network_security_group.network_security_group: Read complete after 1s [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/ptt-dev-networking-rg/providers/Microsoft.Network/networkSecurityGroups/ptt-dev-default-nsg001]�[0m
�[0m�[1mdata.azurerm_virtual_network.virtual_network: Read complete after 1s [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/ptt-dev-networking-rg/providers/Microsoft.Network/virtualNetworks/spoke-ptt-dev-vnet001]�[0m
�[0m�[1mazapi_resource.subnet_web_app: Refreshing state... [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/ptt-dev-networking-rg/providers/Microsoft.Network/virtualNetworks/spoke-ptt-dev-vnet001/subnets/WebAppSubnet]�[0m
�[0m�[1mdata.azurerm_log_analytics_workspace.log_analytics_workspace: Read complete after 1s [id=/subscriptions/e82c5267-9dc4-4f45-ac13-abdd5e130d27/resourceGroups/ptt-dev-logging-rg/providers/Microsoft.OperationalInsights/workspaces/ptt-dev-log001]�[0m
�[0m�[1mmodule.user_assigned_identity.azurerm_user_assigned_identity.user_assigned_identity: Refreshing state... [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/bfr-dev-bot-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/bfr-dev-uai001]�[0m
�[0m�[1mmodule.app_service_plan.azurerm_service_plan.service_plan: Refreshing state... [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/bfr-dev-bot-rg/providers/Microsoft.Web/serverFarms/bfr-dev-asp001]�[0m
�[0m�[1mmodule.application_insights.azurerm_application_insights.application_insights: Refreshing state... [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/bfr-dev-bot-rg/providers/Microsoft.Insights/components/bfr-dev-appi001]�[0m
�[0m�[1mmodule.key_vault.azurerm_key_vault.key_vault: Refreshing state... [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/bfr-dev-bot-rg/providers/Microsoft.KeyVault/vaults/bfr-dev-kv001]�[0m
�[0m�[1mmodule.azure_open_ai.azurerm_cognitive_account.cognitive_account: Refreshing state... [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/bfr-dev-bot-rg/providers/Microsoft.CognitiveServices/accounts/bfr-dev-aoai001]�[0m
�[0m�[1mmodule.cosmosdb_account.azurerm_cosmosdb_account.cosmosdb_account: Refreshing state... [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/bfr-dev-bot-rg/providers/Microsoft.DocumentDB/databaseAccounts/bfr-dev-cosmos001]�[0m
�[0m�[1mmodule.app_service_plan.data.azurerm_monitor_diagnostic_categories.diagnostic_categories_service_plan: Reading...�[0m�[0m
�[0m�[1mmodule.app_service_plan.data.azurerm_monitor_diagnostic_categories.diagnostic_categories_service_plan: Read complete after 0s [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/bfr-dev-bot-rg/providers/Microsoft.Web/serverFarms/bfr-dev-asp001]�[0m
�[0m�[1mmodule.app_service_plan.azurerm_monitor_diagnostic_setting.diagnostic_setting_service_plan["0"]: Refreshing state... [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/bfr-dev-bot-rg/providers/Microsoft.Web/serverFarms/bfr-dev-asp001|applicationLogs-0]�[0m
�[0m�[1mmodule.azure_open_ai.data.azurerm_monitor_diagnostic_categories.diagnostic_categories_cognitive_account: Reading...�[0m�[0m
�[0m�[1mazurerm_role_assignment.uai_roleassignment_open_ai_contributor: Refreshing state... [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/bfr-dev-bot-rg/providers/Microsoft.CognitiveServices/accounts/bfr-dev-aoai001/providers/Microsoft.Authorization/roleAssignments/ac0c05eb-c4ac-6445-8f97-1cd795568f3f]�[0m
�[0m�[1mazurerm_cognitive_deployment.cognitive_deployment_gpt_4o: Refreshing state... [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/bfr-dev-bot-rg/providers/Microsoft.CognitiveServices/accounts/bfr-dev-aoai001/deployments/gpt-4o]�[0m
�[0m�[1mmodule.key_vault.azurerm_role_assignment.current_roleassignment_key_vault: Refreshing state... [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/bfr-dev-bot-rg/providers/Microsoft.KeyVault/vaults/bfr-dev-kv001/providers/Microsoft.Authorization/roleAssignments/e1edb24b-0b86-d541-0597-4ceda9d757ac]�[0m
�[0m�[1mmodule.key_vault.data.azurerm_monitor_diagnostic_categories.diagnostic_categories_key_vault: Reading...�[0m�[0m
�[0m�[1mazurerm_role_assignment.uai_roleassignment_key_vault_secrets_user: Refreshing state... [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/bfr-dev-bot-rg/providers/Microsoft.KeyVault/vaults/bfr-dev-kv001/providers/Microsoft.Authorization/roleAssignments/5d027dd2-b37b-03da-2b6b-54565a7dc645]�[0m
�[0m�[1mmodule.cosmosdb_account.data.azurerm_monitor_diagnostic_categories.diagnostic_categories_cosmosdb_account: Reading...�[0m�[0m
�[0m�[1mazurerm_cosmosdb_sql_database.cosmosdb_sql_database: Refreshing state... [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/bfr-dev-bot-rg/providers/Microsoft.DocumentDB/databaseAccounts/bfr-dev-cosmos001/sqlDatabases/BotDb]�[0m
�[0m�[1mmodule.azure_open_ai.data.azurerm_monitor_diagnostic_categories.diagnostic_categories_cognitive_account: Read complete after 0s [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/bfr-dev-bot-rg/providers/Microsoft.CognitiveServices/accounts/bfr-dev-aoai001]�[0m
�[0m�[1mmodule.azure_open_ai.azurerm_monitor_diagnostic_setting.diagnostic_setting_cognitive_account["0"]: Refreshing state... [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/bfr-dev-bot-rg/providers/Microsoft.CognitiveServices/accounts/bfr-dev-aoai001|applicationLogs-0]�[0m
�[0m�[1mazapi_resource.subnet_private_endpoints: Refreshing state... [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/ptt-dev-networking-rg/providers/Microsoft.Network/virtualNetworks/spoke-ptt-dev-vnet001/subnets/PrivateEndpointSubnet]�[0m
�[0m�[1mmodule.azure_open_ai.azurerm_private_endpoint.private_endpoint_cognitive_account: Refreshing state... [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/bfr-dev-bot-rg/providers/Microsoft.Network/privateEndpoints/bfr-dev-aoai001-account-pe]�[0m
�[0m�[1mmodule.key_vault.azurerm_private_endpoint.private_endpoint_cognitive_account_vault: Refreshing state... [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/bfr-dev-bot-rg/providers/Microsoft.Network/privateEndpoints/bfr-dev-kv001-vault-pe]�[0m
�[0m�[1mmodule.key_vault.data.azurerm_monitor_diagnostic_categories.diagnostic_categories_key_vault: Read complete after 1s [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/bfr-dev-bot-rg/providers/Microsoft.KeyVault/vaults/bfr-dev-kv001]�[0m
�[0m�[1mmodule.cosmosdb_account.azurerm_private_endpoint.private_endpoint_cosmosdb_account["Sql"]: Refreshing state... [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/bfr-dev-bot-rg/providers/Microsoft.Network/privateEndpoints/bfr-dev-cosmos001-Sql-pe]�[0m
�[0m�[1mmodule.key_vault.azurerm_monitor_diagnostic_setting.diagnostic_setting_key_vault["0"]: Refreshing state... [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/bfr-dev-bot-rg/providers/Microsoft.KeyVault/vaults/bfr-dev-kv001|applicationLogs-0]�[0m
�[0m�[1mmodule.cosmosdb_account.data.azurerm_monitor_diagnostic_categories.diagnostic_categories_cosmosdb_account: Read complete after 1s [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/bfr-dev-bot-rg/providers/Microsoft.DocumentDB/databaseAccounts/bfr-dev-cosmos001]�[0m
�[0m�[1mmodule.application_insights.data.azurerm_monitor_diagnostic_categories.diagnostic_categories_application_insights: Reading...�[0m�[0m
�[0m�[1mmodule.bot_service.data.azurerm_application_insights.application_insights: Reading...�[0m�[0m
�[0m�[1mmodule.application_insights.data.azurerm_monitor_diagnostic_categories.diagnostic_categories_application_insights: Read complete after 1s [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/bfr-dev-bot-rg/providers/Microsoft.Insights/components/bfr-dev-appi001]�[0m
�[0m�[1mmodule.application_insights.azurerm_monitor_diagnostic_setting.diagnostic_setting_application_insights["0"]: Refreshing state... [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/bfr-dev-bot-rg/providers/Microsoft.Insights/components/bfr-dev-appi001|applicationLogs-0]�[0m
�[0m�[1mmodule.bot_service.data.azurerm_application_insights.application_insights: Read complete after 1s [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/bfr-dev-bot-rg/providers/Microsoft.Insights/components/bfr-dev-appi001]�[0m
�[0m�[1mazurerm_linux_web_app.linux_web_app: Refreshing state... [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/bfr-dev-bot-rg/providers/Microsoft.Web/sites/bfr-dev-app001]�[0m
�[0m�[1mmodule.azure_open_ai.time_sleep.sleep_connectivity: Refreshing state... [id=2024-10-01T11:54:00Z]�[0m
�[0m�[1mmodule.cosmosdb_account.time_sleep.sleep_connectivity: Refreshing state... [id=2024-10-01T12:05:18Z]�[0m
�[0m�[1mmodule.key_vault.time_sleep.sleep_connectivity: Refreshing state... [id=2024-10-01T11:57:02Z]�[0m
�[0m�[1mmodule.bot_service.azurerm_bot_service_azure_bot.bot_service_azure_bot: Refreshing state... [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/bfr-dev-bot-rg/providers/Microsoft.BotService/botServices/bfr-dev-bot001]�[0m
�[0m�[1mazurerm_private_endpoint.linux_web_app_private_endpoint: Refreshing state... [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/bfr-dev-bot-rg/providers/Microsoft.Network/privateEndpoints/bfr-dev-app001-pe]�[0m
�[0m�[1mazurerm_monitor_diagnostic_setting.diagnostic_setting_linux_web_app: Refreshing state... [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/bfr-dev-bot-rg/providers/Microsoft.Web/sites/bfr-dev-app001|logAnalytics]�[0m
�[0m�[1mmodule.bot_service.data.azurerm_monitor_diagnostic_categories.diagnostic_categories_bot_service_azure_bot: Reading...�[0m�[0m
�[0m�[1mazurerm_bot_connection.bot_connection_aadv2_oauth: Refreshing state... [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/bfr-dev-bot-rg/providers/Microsoft.BotService/botServices/bfr-dev-bot001/connections/aadv2-oauth]�[0m
�[0m�[1mmodule.bot_service.azurerm_private_endpoint.bot_service_azure_bot_private_endpoint_token: Refreshing state... [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/bfr-dev-bot-rg/providers/Microsoft.Network/privateEndpoints/bfr-dev-bot001-token-pe]�[0m
�[0m�[1mmodule.bot_service.azurerm_private_endpoint.bot_service_azure_bot_private_endpoint_bot: Refreshing state... [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/bfr-dev-bot-rg/providers/Microsoft.Network/privateEndpoints/bfr-dev-bot001-bot-pe]�[0m
�[0m�[1mmodule.bot_service.data.azurerm_monitor_diagnostic_categories.diagnostic_categories_bot_service_azure_bot: Read complete after 1s [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/bfr-dev-bot-rg/providers/Microsoft.BotService/botServices/bfr-dev-bot001]�[0m
�[0m�[1mmodule.bot_service.azurerm_monitor_diagnostic_setting.diagnostic_setting_bot_service_azure_bot["0"]: Refreshing state... [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/bfr-dev-bot-rg/providers/Microsoft.BotService/botServices/bfr-dev-bot001|applicationLogs-0]�[0m
�[0m�[1mmodule.bot_service.time_sleep.sleep_connectivity: Refreshing state... [id=2024-10-01T12:00:08Z]�[0m

Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  �[33m~�[0m update in-place�[0m
 �[36m<=�[0m read (data resources)�[0m

Terraform will perform the following actions:

�[1m  # data.azurerm_monitor_diagnostic_categories.diagnostic_categories_linux_web_app�[0m will be read during apply
  # (depends on a resource or a module with changes pending)
�[0m �[36m<=�[0m�[0m data "azurerm_monitor_diagnostic_categories" "diagnostic_categories_linux_web_app" {
      �[32m+�[0m�[0m id                  = (known after apply)
      �[32m+�[0m�[0m log_category_groups = (known after apply)
      �[32m+�[0m�[0m log_category_types  = (known after apply)
      �[32m+�[0m�[0m metrics             = (known after apply)
      �[32m+�[0m�[0m resource_id         = "/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/bfr-dev-bot-rg/providers/Microsoft.Web/sites/bfr-dev-app001"
    }

�[1m  # azurerm_linux_web_app.linux_web_app�[0m will be updated in-place
�[0m  �[33m~�[0m�[0m resource "azurerm_linux_web_app" "linux_web_app" {
      �[33m~�[0m�[0m app_settings                                   = {
          �[33m~�[0m�[0m "AZURE_OPENAI_SYSTEM_PROMPT"                 = <<-EOT
                You are a world-class assistant who tells jokes. For anything but jokes, respond politely that you are just trying to make everyone’s life a happier place.
            EOT
            �[90m# (18 unchanged elements hidden)�[0m�[0m
        }
        id                                             = "/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/bfr-dev-bot-rg/providers/Microsoft.Web/sites/bfr-dev-app001"
        name                                           = "bfr-dev-app001"
        tags                                           = {
            "workload" = "bot-assistant"
        }
        �[90m# (24 unchanged attributes hidden)�[0m�[0m

        �[90m# (2 unchanged blocks hidden)�[0m�[0m
    }

�[1m  # azurerm_monitor_diagnostic_setting.diagnostic_setting_linux_web_app�[0m will be updated in-place
�[0m  �[33m~�[0m�[0m resource "azurerm_monitor_diagnostic_setting" "diagnostic_setting_linux_web_app" {
        id                             = "/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/bfr-dev-bot-rg/providers/Microsoft.Web/sites/bfr-dev-app001|logAnalytics"
        name                           = "logAnalytics"
        �[90m# (5 unchanged attributes hidden)�[0m�[0m

      �[33m~�[0m�[0m enabled_log (known after apply)
      �[31m-�[0m�[0m enabled_log {
          �[31m-�[0m�[0m category_group = "allLogs" �[90m-> null�[0m�[0m
            �[90m# (1 unchanged attribute hidden)�[0m�[0m

          �[31m-�[0m�[0m retention_policy {
              �[31m-�[0m�[0m days    = 0 �[90m-> null�[0m�[0m
              �[31m-�[0m�[0m enabled = false �[90m-> null�[0m�[0m
            }
        }
      �[31m-�[0m�[0m enabled_log {
          �[31m-�[0m�[0m category_group = "audit" �[90m-> null�[0m�[0m
            �[90m# (1 unchanged attribute hidden)�[0m�[0m

          �[31m-�[0m�[0m retention_policy {
              �[31m-�[0m�[0m days    = 0 �[90m-> null�[0m�[0m
              �[31m-�[0m�[0m enabled = false �[90m-> null�[0m�[0m
            }
        }

      �[33m~�[0m�[0m metric (known after apply)
      �[31m-�[0m�[0m metric {
          �[31m-�[0m�[0m category = "AllMetrics" �[90m-> null�[0m�[0m
          �[31m-�[0m�[0m enabled  = true �[90m-> null�[0m�[0m

          �[31m-�[0m�[0m retention_policy {
              �[31m-�[0m�[0m days    = 0 �[90m-> null�[0m�[0m
              �[31m-�[0m�[0m enabled = false �[90m-> null�[0m�[0m
            }
        }
    }

�[1mPlan:�[0m 0 to add, 2 to change, 0 to destroy.
�[0m�[90m
─────────────────────────────────────────────────────────────────────────────�[0m

Note: You didn't use the -out option to save this plan, so Terraform can't
guarantee to take exactly these actions if you run "terraform apply" now.
Releasing state lock. This may take a few moments...

Copy link

github-actions bot commented Oct 2, 2024

Terraform Lint Results

  • Terraform Version 📎1.9.6
  • Working Directory 📂./code/infra
  • Terraform Format and Style 🖌success

Copy link

github-actions bot commented Oct 2, 2024

Terraform Validation & Plan Results

  • Terraform Version 📎1.9.6
  • Working Directory 📂./code/infra
  • Terraform Initialization ⚙️success
  • Terraform Validation 🤖success
  • Terraform Plan 📖success
Show Plan

terraform
Acquiring state lock. This may take a few moments...
�[0m�[1mdata.local_file.file_system_prompt: Reading...�[0m�[0m
�[0m�[1mdata.local_file.file_system_prompt: Read complete after 0s [id=1b64caca607e392bc85ff27243e6022401cc3184]�[0m
�[0m�[1mazurerm_resource_group.resource_group: Refreshing state... [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/bfr-dev-bot-rg]�[0m
�[0m�[1mdata.azurerm_route_table.route_table: Reading...�[0m�[0m
�[0m�[1mmodule.azure_open_ai.data.azurerm_client_config.current: Reading...�[0m�[0m
�[0m�[1mmodule.key_vault.data.azurerm_client_config.current: Reading...�[0m�[0m
�[0m�[1mdata.azurerm_client_config.current: Reading...�[0m�[0m
�[0m�[1mdata.azurerm_virtual_network.virtual_network: Reading...�[0m�[0m
�[0m�[1mdata.azurerm_network_security_group.network_security_group: Reading...�[0m�[0m
�[0m�[1mmodule.azure_open_ai.data.azurerm_client_config.current: Read complete after 0s [id=Y2xpZW50Q29uZmlncy9jbGllbnRJZD1lNWRmNjg0My1lYmRlLTRkNzktOWM3ZS03NDMxYTNjZDQzZDI7b2JqZWN0SWQ9OTczZGYyYWQtNGU1ZS00ZThiLTlkZjYtMTdmNjFlOWVmZDU1O3N1YnNjcmlwdGlvbklkPTFmZGFiMTE4LTE2MzgtNDE5YS04YjEyLTA2Yzk1NDM3MTRhMDt0ZW5hbnRJZD0zNzk2M2RkNC1mNGU2LTQwZjgtYTdkNi0yNGI5NzkxOWU0NTI=]�[0m
�[0m�[1mdata.azurerm_client_config.current: Read complete after 0s [id=Y2xpZW50Q29uZmlncy9jbGllbnRJZD1lNWRmNjg0My1lYmRlLTRkNzktOWM3ZS03NDMxYTNjZDQzZDI7b2JqZWN0SWQ9OTczZGYyYWQtNGU1ZS00ZThiLTlkZjYtMTdmNjFlOWVmZDU1O3N1YnNjcmlwdGlvbklkPTFmZGFiMTE4LTE2MzgtNDE5YS04YjEyLTA2Yzk1NDM3MTRhMDt0ZW5hbnRJZD0zNzk2M2RkNC1mNGU2LTQwZjgtYTdkNi0yNGI5NzkxOWU0NTI=]�[0m
�[0m�[1mmodule.key_vault.data.azurerm_client_config.current: Read complete after 0s [id=Y2xpZW50Q29uZmlncy9jbGllbnRJZD1lNWRmNjg0My1lYmRlLTRkNzktOWM3ZS03NDMxYTNjZDQzZDI7b2JqZWN0SWQ9OTczZGYyYWQtNGU1ZS00ZThiLTlkZjYtMTdmNjFlOWVmZDU1O3N1YnNjcmlwdGlvbklkPTFmZGFiMTE4LTE2MzgtNDE5YS04YjEyLTA2Yzk1NDM3MTRhMDt0ZW5hbnRJZD0zNzk2M2RkNC1mNGU2LTQwZjgtYTdkNi0yNGI5NzkxOWU0NTI=]�[0m
�[0m�[1mdata.azurerm_log_analytics_workspace.log_analytics_workspace: Reading...�[0m�[0m
�[0m�[1mdata.azurerm_network_security_group.network_security_group: Read complete after 0s [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/ptt-dev-networking-rg/providers/Microsoft.Network/networkSecurityGroups/ptt-dev-default-nsg001]�[0m
�[0m�[1mmodule.user_assigned_identity.azurerm_user_assigned_identity.user_assigned_identity: Refreshing state... [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/bfr-dev-bot-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/bfr-dev-uai001]�[0m
�[0m�[1mmodule.key_vault.azurerm_key_vault.key_vault: Refreshing state... [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/bfr-dev-bot-rg/providers/Microsoft.KeyVault/vaults/bfr-dev-kv001]�[0m
�[0m�[1mmodule.app_service_plan.azurerm_service_plan.service_plan: Refreshing state... [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/bfr-dev-bot-rg/providers/Microsoft.Web/serverFarms/bfr-dev-asp001]�[0m
�[0m�[1mmodule.application_insights.azurerm_application_insights.application_insights: Refreshing state... [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/bfr-dev-bot-rg/providers/Microsoft.Insights/components/bfr-dev-appi001]�[0m
�[0m�[1mmodule.azure_open_ai.azurerm_cognitive_account.cognitive_account: Refreshing state... [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/bfr-dev-bot-rg/providers/Microsoft.CognitiveServices/accounts/bfr-dev-aoai001]�[0m
�[0m�[1mmodule.cosmosdb_account.azurerm_cosmosdb_account.cosmosdb_account: Refreshing state... [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/bfr-dev-bot-rg/providers/Microsoft.DocumentDB/databaseAccounts/bfr-dev-cosmos001]�[0m
�[0m�[1mdata.azurerm_route_table.route_table: Read complete after 0s [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/ptt-dev-networking-rg/providers/Microsoft.Network/routeTables/ptt-dev-default-rt001]�[0m
�[0m�[1mdata.azurerm_virtual_network.virtual_network: Read complete after 0s [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/ptt-dev-networking-rg/providers/Microsoft.Network/virtualNetworks/spoke-ptt-dev-vnet001]�[0m
�[0m�[1mazapi_resource.subnet_web_app: Refreshing state... [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/ptt-dev-networking-rg/providers/Microsoft.Network/virtualNetworks/spoke-ptt-dev-vnet001/subnets/WebAppSubnet]�[0m
�[0m�[1mmodule.app_service_plan.data.azurerm_monitor_diagnostic_categories.diagnostic_categories_service_plan: Reading...�[0m�[0m
�[0m�[1mdata.azurerm_log_analytics_workspace.log_analytics_workspace: Read complete after 0s [id=/subscriptions/e82c5267-9dc4-4f45-ac13-abdd5e130d27/resourceGroups/ptt-dev-logging-rg/providers/Microsoft.OperationalInsights/workspaces/ptt-dev-log001]�[0m
�[0m�[1mmodule.app_service_plan.data.azurerm_monitor_diagnostic_categories.diagnostic_categories_service_plan: Read complete after 1s [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/bfr-dev-bot-rg/providers/Microsoft.Web/serverFarms/bfr-dev-asp001]�[0m
�[0m�[1mmodule.app_service_plan.azurerm_monitor_diagnostic_setting.diagnostic_setting_service_plan["0"]: Refreshing state... [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/bfr-dev-bot-rg/providers/Microsoft.Web/serverFarms/bfr-dev-asp001|applicationLogs-0]�[0m
�[0m�[1mmodule.key_vault.data.azurerm_monitor_diagnostic_categories.diagnostic_categories_key_vault: Reading...�[0m�[0m
�[0m�[1mazurerm_role_assignment.uai_roleassignment_key_vault_secrets_user: Refreshing state... [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/bfr-dev-bot-rg/providers/Microsoft.KeyVault/vaults/bfr-dev-kv001/providers/Microsoft.Authorization/roleAssignments/5d027dd2-b37b-03da-2b6b-54565a7dc645]�[0m
�[0m�[1mmodule.key_vault.azurerm_role_assignment.current_roleassignment_key_vault: Refreshing state... [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/bfr-dev-bot-rg/providers/Microsoft.KeyVault/vaults/bfr-dev-kv001/providers/Microsoft.Authorization/roleAssignments/e1edb24b-0b86-d541-0597-4ceda9d757ac]�[0m
�[0m�[1mmodule.azure_open_ai.data.azurerm_monitor_diagnostic_categories.diagnostic_categories_cognitive_account: Reading...�[0m�[0m
�[0m�[1mazurerm_role_assignment.uai_roleassignment_open_ai_contributor: Refreshing state... [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/bfr-dev-bot-rg/providers/Microsoft.CognitiveServices/accounts/bfr-dev-aoai001/providers/Microsoft.Authorization/roleAssignments/ac0c05eb-c4ac-6445-8f97-1cd795568f3f]�[0m
�[0m�[1mazurerm_cognitive_deployment.cognitive_deployment_gpt_4o: Refreshing state... [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/bfr-dev-bot-rg/providers/Microsoft.CognitiveServices/accounts/bfr-dev-aoai001/deployments/gpt-4o]�[0m
�[0m�[1mmodule.key_vault.data.azurerm_monitor_diagnostic_categories.diagnostic_categories_key_vault: Read complete after 0s [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/bfr-dev-bot-rg/providers/Microsoft.KeyVault/vaults/bfr-dev-kv001]�[0m
�[0m�[1mmodule.key_vault.azurerm_monitor_diagnostic_setting.diagnostic_setting_key_vault["0"]: Refreshing state... [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/bfr-dev-bot-rg/providers/Microsoft.KeyVault/vaults/bfr-dev-kv001|applicationLogs-0]�[0m
�[0m�[1mmodule.application_insights.data.azurerm_monitor_diagnostic_categories.diagnostic_categories_application_insights: Reading...�[0m�[0m
�[0m�[1mmodule.bot_service.data.azurerm_application_insights.application_insights: Reading...�[0m�[0m
�[0m�[1mmodule.azure_open_ai.data.azurerm_monitor_diagnostic_categories.diagnostic_categories_cognitive_account: Read complete after 1s [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/bfr-dev-bot-rg/providers/Microsoft.CognitiveServices/accounts/bfr-dev-aoai001]�[0m
�[0m�[1mmodule.azure_open_ai.azurerm_monitor_diagnostic_setting.diagnostic_setting_cognitive_account["0"]: Refreshing state... [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/bfr-dev-bot-rg/providers/Microsoft.CognitiveServices/accounts/bfr-dev-aoai001|applicationLogs-0]�[0m
�[0m�[1mazapi_resource.subnet_private_endpoints: Refreshing state... [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/ptt-dev-networking-rg/providers/Microsoft.Network/virtualNetworks/spoke-ptt-dev-vnet001/subnets/PrivateEndpointSubnet]�[0m
�[0m�[1mmodule.bot_service.data.azurerm_application_insights.application_insights: Read complete after 0s [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/bfr-dev-bot-rg/providers/Microsoft.Insights/components/bfr-dev-appi001]�[0m
�[0m�[1mmodule.key_vault.azurerm_private_endpoint.private_endpoint_cognitive_account_vault: Refreshing state... [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/bfr-dev-bot-rg/providers/Microsoft.Network/privateEndpoints/bfr-dev-kv001-vault-pe]�[0m
�[0m�[1mmodule.azure_open_ai.azurerm_private_endpoint.private_endpoint_cognitive_account: Refreshing state... [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/bfr-dev-bot-rg/providers/Microsoft.Network/privateEndpoints/bfr-dev-aoai001-account-pe]�[0m
�[0m�[1mazurerm_cosmosdb_sql_database.cosmosdb_sql_database: Refreshing state... [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/bfr-dev-bot-rg/providers/Microsoft.DocumentDB/databaseAccounts/bfr-dev-cosmos001/sqlDatabases/BotDb]�[0m
�[0m�[1mmodule.cosmosdb_account.azurerm_private_endpoint.private_endpoint_cosmosdb_account["Sql"]: Refreshing state... [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/bfr-dev-bot-rg/providers/Microsoft.Network/privateEndpoints/bfr-dev-cosmos001-Sql-pe]�[0m
�[0m�[1mmodule.application_insights.data.azurerm_monitor_diagnostic_categories.diagnostic_categories_application_insights: Read complete after 0s [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/bfr-dev-bot-rg/providers/Microsoft.Insights/components/bfr-dev-appi001]�[0m
�[0m�[1mmodule.application_insights.azurerm_monitor_diagnostic_setting.diagnostic_setting_application_insights["0"]: Refreshing state... [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/bfr-dev-bot-rg/providers/Microsoft.Insights/components/bfr-dev-appi001|applicationLogs-0]�[0m
�[0m�[1mazurerm_linux_web_app.linux_web_app: Refreshing state... [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/bfr-dev-bot-rg/providers/Microsoft.Web/sites/bfr-dev-app001]�[0m
�[0m�[1mmodule.key_vault.time_sleep.sleep_connectivity: Refreshing state... [id=2024-10-01T11:57:02Z]�[0m
�[0m�[1mmodule.cosmosdb_account.time_sleep.sleep_connectivity: Refreshing state... [id=2024-10-01T12:05:18Z]�[0m
�[0m�[1mmodule.azure_open_ai.time_sleep.sleep_connectivity: Refreshing state... [id=2024-10-01T11:54:00Z]�[0m
�[0m�[1mmodule.bot_service.azurerm_bot_service_azure_bot.bot_service_azure_bot: Refreshing state... [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/bfr-dev-bot-rg/providers/Microsoft.BotService/botServices/bfr-dev-bot001]�[0m
�[0m�[1mazurerm_private_endpoint.linux_web_app_private_endpoint: Refreshing state... [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/bfr-dev-bot-rg/providers/Microsoft.Network/privateEndpoints/bfr-dev-app001-pe]�[0m
�[0m�[1mazurerm_monitor_diagnostic_setting.diagnostic_setting_linux_web_app: Refreshing state... [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/bfr-dev-bot-rg/providers/Microsoft.Web/sites/bfr-dev-app001|logAnalytics]�[0m
�[0m�[1mazurerm_bot_connection.bot_connection_aadv2_oauth: Refreshing state... [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/bfr-dev-bot-rg/providers/Microsoft.BotService/botServices/bfr-dev-bot001/connections/aadv2-oauth]�[0m
�[0m�[1mmodule.bot_service.azurerm_private_endpoint.bot_service_azure_bot_private_endpoint_token: Refreshing state... [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/bfr-dev-bot-rg/providers/Microsoft.Network/privateEndpoints/bfr-dev-bot001-token-pe]�[0m
�[0m�[1mmodule.bot_service.azurerm_private_endpoint.bot_service_azure_bot_private_endpoint_bot: Refreshing state... [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/bfr-dev-bot-rg/providers/Microsoft.Network/privateEndpoints/bfr-dev-bot001-bot-pe]�[0m
�[0m�[1mmodule.bot_service.data.azurerm_monitor_diagnostic_categories.diagnostic_categories_bot_service_azure_bot: Reading...�[0m�[0m
�[0m�[1mmodule.bot_service.data.azurerm_monitor_diagnostic_categories.diagnostic_categories_bot_service_azure_bot: Read complete after 1s [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/bfr-dev-bot-rg/providers/Microsoft.BotService/botServices/bfr-dev-bot001]�[0m
�[0m�[1mmodule.bot_service.azurerm_monitor_diagnostic_setting.diagnostic_setting_bot_service_azure_bot["0"]: Refreshing state... [id=/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/bfr-dev-bot-rg/providers/Microsoft.BotService/botServices/bfr-dev-bot001|applicationLogs-0]�[0m
�[0m�[1mmodule.bot_service.time_sleep.sleep_connectivity: Refreshing state... [id=2024-10-01T12:00:08Z]�[0m

Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  �[33m~�[0m update in-place�[0m
 �[36m<=�[0m read (data resources)�[0m

Terraform will perform the following actions:

�[1m  # data.azurerm_monitor_diagnostic_categories.diagnostic_categories_linux_web_app�[0m will be read during apply
  # (depends on a resource or a module with changes pending)
�[0m �[36m<=�[0m�[0m data "azurerm_monitor_diagnostic_categories" "diagnostic_categories_linux_web_app" {
      �[32m+�[0m�[0m id                  = (known after apply)
      �[32m+�[0m�[0m log_category_groups = (known after apply)
      �[32m+�[0m�[0m log_category_types  = (known after apply)
      �[32m+�[0m�[0m metrics             = (known after apply)
      �[32m+�[0m�[0m resource_id         = "/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/bfr-dev-bot-rg/providers/Microsoft.Web/sites/bfr-dev-app001"
    }

�[1m  # azurerm_linux_web_app.linux_web_app�[0m will be updated in-place
�[0m  �[33m~�[0m�[0m resource "azurerm_linux_web_app" "linux_web_app" {
      �[33m~�[0m�[0m app_settings                                   = {
          �[33m~�[0m�[0m "AZURE_OPENAI_SYSTEM_PROMPT"                 = <<-EOT
                You are a world-class assistant who tells jokes. For anything but jokes, respond politely that you are just trying to make everyone’s life a happier place.
            EOT
            �[90m# (18 unchanged elements hidden)�[0m�[0m
        }
        id                                             = "/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/bfr-dev-bot-rg/providers/Microsoft.Web/sites/bfr-dev-app001"
        name                                           = "bfr-dev-app001"
        tags                                           = {
            "workload" = "bot-assistant"
        }
        �[90m# (24 unchanged attributes hidden)�[0m�[0m

        �[90m# (2 unchanged blocks hidden)�[0m�[0m
    }

�[1m  # azurerm_monitor_diagnostic_setting.diagnostic_setting_linux_web_app�[0m will be updated in-place
�[0m  �[33m~�[0m�[0m resource "azurerm_monitor_diagnostic_setting" "diagnostic_setting_linux_web_app" {
        id                             = "/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/bfr-dev-bot-rg/providers/Microsoft.Web/sites/bfr-dev-app001|logAnalytics"
        name                           = "logAnalytics"
        �[90m# (5 unchanged attributes hidden)�[0m�[0m

      �[33m~�[0m�[0m enabled_log (known after apply)
      �[31m-�[0m�[0m enabled_log {
          �[31m-�[0m�[0m category_group = "allLogs" �[90m-> null�[0m�[0m
            �[90m# (1 unchanged attribute hidden)�[0m�[0m

          �[31m-�[0m�[0m retention_policy {
              �[31m-�[0m�[0m days    = 0 �[90m-> null�[0m�[0m
              �[31m-�[0m�[0m enabled = false �[90m-> null�[0m�[0m
            }
        }
      �[31m-�[0m�[0m enabled_log {
          �[31m-�[0m�[0m category_group = "audit" �[90m-> null�[0m�[0m
            �[90m# (1 unchanged attribute hidden)�[0m�[0m

          �[31m-�[0m�[0m retention_policy {
              �[31m-�[0m�[0m days    = 0 �[90m-> null�[0m�[0m
              �[31m-�[0m�[0m enabled = false �[90m-> null�[0m�[0m
            }
        }

      �[33m~�[0m�[0m metric (known after apply)
      �[31m-�[0m�[0m metric {
          �[31m-�[0m�[0m category = "AllMetrics" �[90m-> null�[0m�[0m
          �[31m-�[0m�[0m enabled  = true �[90m-> null�[0m�[0m

          �[31m-�[0m�[0m retention_policy {
              �[31m-�[0m�[0m days    = 0 �[90m-> null�[0m�[0m
              �[31m-�[0m�[0m enabled = false �[90m-> null�[0m�[0m
            }
        }
    }

�[1m  # module.cosmosdb_account.data.azurerm_monitor_diagnostic_categories.diagnostic_categories_cosmosdb_account�[0m will be read during apply
  # (depends on a resource or a module with changes pending)
�[0m �[36m<=�[0m�[0m data "azurerm_monitor_diagnostic_categories" "diagnostic_categories_cosmosdb_account" {
      �[32m+�[0m�[0m id                  = (known after apply)
      �[32m+�[0m�[0m log_category_groups = (known after apply)
      �[32m+�[0m�[0m log_category_types  = (known after apply)
      �[32m+�[0m�[0m metrics             = (known after apply)
      �[32m+�[0m�[0m resource_id         = "/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/bfr-dev-bot-rg/providers/Microsoft.DocumentDB/databaseAccounts/bfr-dev-cosmos001"
    }

�[1m  # module.cosmosdb_account.azurerm_cosmosdb_account.cosmosdb_account�[0m will be updated in-place
�[0m  �[33m~�[0m�[0m resource "azurerm_cosmosdb_account" "cosmosdb_account" {
        id                                       = "/subscriptions/1fdab118-1638-419a-8b12-06c9543714a0/resourceGroups/bfr-dev-bot-rg/providers/Microsoft.DocumentDB/databaseAccounts/bfr-dev-cosmos001"
      �[33m~�[0m�[0m local_authentication_disabled            = true �[33m->�[0m�[0m false
        name                                     = "bfr-dev-cosmos001"
        tags                                     = {
            "workload" = "bot-assistant"
        }
        �[90m# (30 unchanged attributes hidden)�[0m�[0m

        �[90m# (6 unchanged blocks hidden)�[0m�[0m
    }

�[1mPlan:�[0m 0 to add, 3 to change, 0 to destroy.
�[0m�[90m
─────────────────────────────────────────────────────────────────────────────�[0m

Note: You didn't use the -out option to save this plan, so Terraform can't
guarantee to take exactly these actions if you run "terraform apply" now.
Releasing state lock. This may take a few moments...

Copy link
Contributor Author

@marvinbuss marvinbuss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@marvinbuss marvinbuss merged commit da5b064 into main Oct 2, 2024
7 checks passed
@marvinbuss marvinbuss deleted the marvinbuss/update_vars branch October 2, 2024 08:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant