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

feat: azure search services to caf solutions #4

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions caf_solution/landingzone.tf
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ module "solution" {
remote_objects = local.remote
resource_groups = var.resource_groups
role_mapping = var.role_mapping
search_services = local.search_services
security = local.security
shared_services = local.shared_services
storage = local.storage
Expand Down
9 changes: 9 additions & 0 deletions caf_solution/local.search_services.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#Terraform AzureRM CAF uses local.search_services.search_services in search_service.tf, need to use locals.
locals {
search_services = merge(
var.search_services,
{
search_services = var.search_services
}
)
}
5 changes: 5 additions & 0 deletions caf_solution/variables.search_services.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Search Servies
variable "search_services" {
description = "Search Service Configration Objects"
default = {}
}