diff --git a/src/domains/elt/_modules/function_apps/data.tf b/src/domains/elt/_modules/function_apps/data.tf index 3a53b53b4..b235518db 100644 --- a/src/domains/elt/_modules/function_apps/data.tf +++ b/src/domains/elt/_modules/function_apps/data.tf @@ -142,3 +142,9 @@ data "azurerm_storage_account" "function_elt_internal_storage" { name = module.function_elt.storage_account_internal_function_name resource_group_name = var.resource_group_name } + +# Citizen-auth domain Redis Common +data "azurerm_redis_cache" "ioauth_redis_common_itn" { + name = format("%s-itn-citizen-auth-redis-std-v6", var.project) + resource_group_name = format("%s-itn-citizen-auth-data-rg-01", var.project) +} diff --git a/src/domains/elt/_modules/function_apps/function_app_elt.tf b/src/domains/elt/_modules/function_apps/function_app_elt.tf index 241440363..b7f4ca160 100644 --- a/src/domains/elt/_modules/function_apps/function_app_elt.tf +++ b/src/domains/elt/_modules/function_apps/function_app_elt.tf @@ -105,6 +105,11 @@ locals { # INTERNAL_TEST_FISCAL_CODES = module.tests.users.all + + # REDIS CACHE CONFIG FOR PDV IDs + REDIS_URL = data.azurerm_redis_cache.ioauth_redis_common_itn.hostname + REDIS_PORT = data.azurerm_redis_cache.ioauth_redis_common_itn.ssl_port + REDIS_PASSWORD = data.azurerm_redis_cache.ioauth_redis_common_itn.primary_access_key } } } diff --git a/src/domains/messages-app/README.md b/src/domains/messages-app/README.md index 8f76e9900..4cd6a8b83 100644 --- a/src/domains/messages-app/README.md +++ b/src/domains/messages-app/README.md @@ -145,16 +145,16 @@ | [ehns\_auto\_inflate\_enabled](#input\_ehns\_auto\_inflate\_enabled) | Is Auto Inflate enabled for the EventHub Namespace? | `bool` | `false` | no | | [ehns\_capacity](#input\_ehns\_capacity) | Specifies the Capacity / Throughput Units for a Standard SKU namespace. | `number` | `null` | no | | [ehns\_enabled](#input\_ehns\_enabled) | Enable event hub namespace | `bool` | `false` | no | -| [ehns\_ip\_rules](#input\_ehns\_ip\_rules) | eventhub network rules |
list(object({| `[]` | no | +| [ehns\_ip\_rules](#input\_ehns\_ip\_rules) | eventhub network rules |
ip_mask = string
action = string
}))
list(object({| `[]` | no | | [ehns\_maximum\_throughput\_units](#input\_ehns\_maximum\_throughput\_units) | Specifies the maximum number of throughput units when Auto Inflate is Enabled | `number` | `null` | no | -| [ehns\_metric\_alerts](#input\_ehns\_metric\_alerts) | Map of name = criteria objects |
ip_mask = string
action = string
}))
map(object({| `{}` | no | +| [ehns\_metric\_alerts](#input\_ehns\_metric\_alerts) | Map of name = criteria objects |
# criteria.*.aggregation to be one of [Average Count Minimum Maximum Total]
aggregation = string
metric_name = string
description = string
# criteria.0.operator to be one of [Equals NotEquals GreaterThan GreaterThanOrEqual LessThan LessThanOrEqual]
operator = string
threshold = number
# Possible values are PT1M, PT5M, PT15M, PT30M and PT1H
frequency = string
# Possible values are PT1M, PT5M, PT15M, PT30M, PT1H, PT6H, PT12H and P1D.
window_size = string
dimension = list(object(
{
name = string
operator = string
values = list(string)
}
))
}))
map(object({| `{}` | no | | [ehns\_sku\_name](#input\_ehns\_sku\_name) | Defines which tier to use. | `string` | `"Basic"` | no | -| [ehns\_virtual\_network\_rules](#input\_ehns\_virtual\_network\_rules) | eventhub virtual network rules |
# criteria.*.aggregation to be one of [Average Count Minimum Maximum Total]
aggregation = string
metric_name = string
description = string
# criteria.0.operator to be one of [Equals NotEquals GreaterThan GreaterThanOrEqual LessThan LessThanOrEqual]
operator = string
threshold = number
# Possible values are PT1M, PT5M, PT15M, PT30M and PT1H
frequency = string
# Possible values are PT1M, PT5M, PT15M, PT30M, PT1H, PT6H, PT12H and P1D.
window_size = string
dimension = list(object(
{
name = string
operator = string
values = list(string)
}
))
}))
list(object({| `[]` | no | +| [ehns\_virtual\_network\_rules](#input\_ehns\_virtual\_network\_rules) | eventhub virtual network rules |
ip_mask = string
action = string
}))
list(object({| `[]` | no | | [ehns\_zone\_redundant](#input\_ehns\_zone\_redundant) | Specifies if the EventHub Namespace should be Zone Redundant (created across Availability Zones). | `bool` | `false` | no | | [enable\_azdoa](#input\_enable\_azdoa) | Specifies Azure Devops Agent enabling | `bool` | `true` | no | | [env](#input\_env) | n/a | `string` | n/a | yes | | [env\_short](#input\_env\_short) | n/a | `string` | n/a | yes | -| [eventhubs](#input\_eventhubs) | A list of event hubs to add to namespace. |
ip_mask = string
action = string
}))
list(object({| `[]` | no | +| [eventhubs](#input\_eventhubs) | A list of event hubs to add to namespace. |
name = string
partitions = number
message_retention = number
consumers = list(string)
keys = list(object({
name = string
listen = bool
send = bool
manage = bool
}))
}))
list(object({| `[]` | no | | [function\_service\_messages\_enabled](#input\_function\_service\_messages\_enabled) | Functions service messages enabled? | `bool` | `false` | no | | [ingress\_load\_balancer\_ip](#input\_ingress\_load\_balancer\_ip) | n/a | `string` | n/a | yes | | [instance](#input\_instance) | One of beta, prod01, prod02 | `string` | n/a | yes | @@ -184,12 +184,12 @@ | [push\_notif\_function\_kind](#input\_push\_notif\_function\_kind) | App service plan kind | `string` | `null` | no | | [push\_notif\_function\_sku\_size](#input\_push\_notif\_function\_sku\_size) | App service plan sku size | `string` | `null` | no | | [push\_notif\_function\_sku\_tier](#input\_push\_notif\_function\_sku\_tier) | App service plan sku tier | `string` | `null` | no | -| [reloader\_helm](#input\_reloader\_helm) | reloader helm chart configuration |
name = string
partitions = number
message_retention = number
consumers = list(string)
keys = list(object({
name = string
listen = bool
send = bool
manage = bool
}))
}))
object({| n/a | yes | -| [tags](#input\_tags) | n/a | `map(any)` |
chart_version = string,
image_name = string,
image_tag = string
})
{| no | +| [reloader\_helm](#input\_reloader\_helm) | reloader helm chart configuration |
"CreatedBy": "Terraform"
}
object({| n/a | yes | +| [tags](#input\_tags) | n/a | `map(any)` |
chart_version = string,
image_name = string,
image_tag = string
})
{| no | | [third\_party\_mock\_remote\_config\_id](#input\_third\_party\_mock\_remote\_config\_id) | The Remote Content Config ID of the Third Party Mock service | `string` | `"01HMVM4N4XFJ8VBR1FXYFZ9QFB"` | no | | [third\_party\_mock\_service\_id](#input\_third\_party\_mock\_service\_id) | The Service ID of the Third Party Mock service | `string` | `"01GQQDPM127KFGG6T3660D5TXD"` | no | | [tls\_cert\_check\_enabled](#input\_tls\_cert\_check\_enabled) | Enable tls cert check | `bool` | n/a | yes | -| [tls\_cert\_check\_helm](#input\_tls\_cert\_check\_helm) | tls cert helm chart configuration |
"CreatedBy": "Terraform"
}
object({| n/a | yes | +| [tls\_cert\_check\_helm](#input\_tls\_cert\_check\_helm) | tls cert helm chart configuration |
chart_version = string,
image_name = string,
image_tag = string
})
object({| n/a | yes | ## Outputs
chart_version = string,
image_name = string,
image_tag = string
})