Skip to content

Commit

Permalink
fix product-api relationship
Browse files Browse the repository at this point in the history
  • Loading branch information
aomegax committed May 20, 2024
1 parent c6c6dc2 commit e409da9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion infra/04_apim_api.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module "apim_api_apiconfig_cache_node_api_v1_p" {
name = format("%s-apiconfig-cache-node-%s-api", local.project, local.postgres)
api_management_name = local.apim.name
resource_group_name = local.apim.rg
product_ids = [local.apim.product_id, local.apim_x_node_product_id]
product_ids = [local.apim.product_id, local.apim_x_node_product_id, local.cfg_x_node_product_id]
subscription_required = local.apiconfig_cache_locals.subscription_required

version_set_id = azurerm_api_management_api_version_set.api_apiconfig_cache_node_api_p.id
Expand Down
2 changes: 1 addition & 1 deletion infra/04_apim_api_oracle.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module "apim_api_apiconfig_cache_node_api_v1_o" {
name = format("%s-apiconfig-cache-node-%s-api", local.project, local.oracle)
api_management_name = local.apim.name
resource_group_name = local.apim.rg
product_ids = [local.apim.product_id, local.apim_x_node_product_id]
product_ids = [local.apim.product_id, local.apim_x_node_product_id, local.cfg_x_node_product_id]
subscription_required = local.apiconfig_cache_locals.subscription_required

version_set_id = azurerm_api_management_api_version_set.api_apiconfig_cache_node_api_o.id
Expand Down
1 change: 1 addition & 0 deletions infra/99_locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ locals {
hostname = "api.${var.apim_dns_zone_prefix}.${var.external_domain}"
}
apim_x_node_product_id = "apim_for_node"
cfg_x_node_product_id = "cfg-for-node"
technical_support_product_id = "technical_support_api"

oracle = "o"
Expand Down

0 comments on commit e409da9

Please sign in to comment.