| api |
n/a |
object({ name = string type = string open_api_file = string }) |
n/a |
yes |
| authorized_apps |
Forge APIs granted Azure Service Bus Data Sender on this event service's topics so they can publish with the Service Bus SDK. Each project_id resolves to the app registration service principal "{project_id}-{environment_short_name}". topics limits the grant to the named topics; null grants every topic. |
list(object({ project_id = string topics = optional(list(string)) })) |
[] |
no |
| default_message_ttl |
ISO 8601 default time-to-live for messages on every topic (e.g. P14D). Null keeps the Azure Service Bus default, which is effectively unlimited. |
string |
null |
no |
| duplicate_detection_history_time_window |
ISO 8601 duplicate detection history window (PT20S to P7D). Only applies when requires_duplicate_detection is true. |
string |
"PT10M" |
no |
| environment |
The full name of the environment in which the resources are deployed |
string |
n/a |
yes |
| environment_short_name |
A short name for the environment (e.g., dev, qa, prod) |
string |
n/a |
yes |
| is_production |
Whether this is a production environment |
bool |
false |
no |
| max_message_size_in_kilobytes |
The maximum message size in kilobytes for the Service Bus Topic. |
number |
1024 |
no |
| max_size_in_megabytes |
The maximum size in megabytes for the Service Bus Topic. |
number |
1024 |
no |
| organization_name |
(Deprecated) The name of the organization. No longer used — kept for backwards compatibility. |
string |
"saif" |
no |
| owner |
The team that owns this service |
string |
"" |
no |
| project_id |
The id of the project. This will be used to name the resources. |
string |
n/a |
yes |
| requires_duplicate_detection |
Enable Service Bus duplicate detection on every topic. The event service sets the message MessageId from the caller's eventId, so a repeated eventId within the history window is dropped silently. Create-only: changing this value recreates the topics, discarding any messages on them. |
bool |
false |
no |
| secrets |
A map of secrets from Azure Devops Library |
map(string) |
n/a |
yes |
| status |
The status of the Service Bus Topic (e.g., Active, Disabled). |
string |
"Active" |
no |
| tags |
A map of tags to be applied to resources in the module. |
map(string) |
n/a |
yes |
| tenant |
(Deprecated) The name of the tenant. The Azure infra tenant is fixed to Corporate (see local.azure_tenant in data.tf) — this input is retained for backward compatibility only and is ignored. |
string |
"Corporate" |
no |