Skip to content

Commit

Permalink
Merge pull request #116 from Cobollatin/feature/indexer
Browse files Browse the repository at this point in the history
Feature/indexer
  • Loading branch information
Cobollatin authored May 28, 2024
2 parents 2533382 + 6900267 commit 48f2383
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions infrastructure/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,7 @@ resource "azurerm_search_service" "use2_main_ss" {
#checkov:skip=CKV_AZURE_124:We need to allow public access to the search service
#checkov:skip=CKV_AZURE_208:No replication in free tier
#checkov:skip=CKV_AZURE_209:Same as above
#checkov:skip=CKV_AZURE_207:Managed identity is not supported for the free tier
name = "${var.app_name}-${var.location_short}-${var.environment_name}-ss"
resource_group_name = azurerm_resource_group.use2_main_rg.name
location = azurerm_resource_group.use2_main_rg.location
Expand All @@ -384,10 +385,11 @@ resource "azurerm_search_service" "use2_main_ss" {
tags = var.common_tags
# Error: `semantic_search_sku` can only be specified when `sku` is not set to "free"
# semantic_search_sku = "free"
identity {
# The only possible value is SystemAssigned.
type = "SystemAssigned"
}
# Resource identity is not supported for the selected SKU
# identity {
# # The only possible value is SystemAssigned.
# type = "SystemAssigned"
# }
}

resource "github_actions_secret" "use2_main_ss_api_key" {
Expand Down

0 comments on commit 48f2383

Please sign in to comment.