saif-event-subscriber-service¶
Providers¶
| Name | Version |
|---|---|
| azurerm | >= 4.0, < 5.0 |
Inputs¶
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| application_name | The name of the application. Used in storage account naming. | string |
n/a | yes |
| deployed_by | Deprecated. Per-run deploy identity is no longer written to tags because it changes on every run. Retained for backward compatibility with callers but ignored by this module. | string |
"terraform" |
no |
| dlq_manager_identities | Entra ID identities to grant Azure Service Bus Data Owner on each subscription's dead-letter queue. Specify either object_id or group_name per entry. | map(object({ |
{} |
no |
| dlq_reader_identities | Entra ID identities to grant Azure Service Bus Data Receiver on each subscription's dead-letter queue. Specify either object_id or group_name per entry. | map(object({ |
{} |
no |
| environment | A name for the environment. Used in resource naming. | string |
n/a | yes |
| environment_short_name | Deprecated — computed by the environment module. Accepted for backward compatibility with generated wrapper configs. | string |
"" |
no |
| events | One or more events to create subscriptions to listen for. | list(object({ |
n/a | yes |
| function_app_project_id | The ID of the project where the function app and resources are created. | string |
n/a | yes |
| is_production | Indicates if the environment is a production environment. | bool |
false |
no |
| namespace_id | The ID of the Service Bus namespace where the subscription will be created. Omit this variable if you want to use the Platform-created namespaces." |
string |
"" |
no |
| namespace_name | The name of the Service Bus namespace where the subscription will be created. Omit this variable if you want to use the Platform-created namespaces." |
string |
"" |
no |
| owner | The owner of the resources. | string |
n/a | yes |
| project_id | The main ID of the project (API). | string |
n/a | yes |
| queues | Keys of Service Bus queues owned and provisioned by the API service (the keys of saif-api-service feature_flags.servicebus_queues) that the function app should consume from. Queues are only referenced, never created, and the function app identity is granted Azure Service Bus Data Receiver scoped to each queue. The queue name is derived from project_id and the key, matching the servicebus-queue module. |
list(string) |
[] |
no |
| resource_location | The Azure region where resources will be created. | string |
"westus2" |
no |
| tags | A map of tags to assign to the resources. | map(string) |
n/a | yes |
| tenant | Deprecated — the Azure infra tenant is fixed to Corporate (see local.azure_tenant). Retained for backward compatibility with existing workspace variable sets (e.g. the Okta credentials variable set that injects tenant = "ext"), but no longer read by this module. | string |
n/a | yes |
Outputs¶
No outputs.
Resources¶
- resource.azurerm_role_assignment.queue_receiver (/terraform-docs/security.tf#37)
- resource.azurerm_role_assignment.subscription_receiver (/terraform-docs/security.tf#13)
- data source.azurerm_cosmosdb_account.api_service (/terraform-docs/data.tf#27)
- data source.azurerm_resources.api_service_cosmosdb_accounts (/terraform-docs/data.tf#22)
- data source.azurerm_servicebus_queue.api_owned (/terraform-docs/data.tf#39)