Skip to content

Commit 3fc4f19

Browse files
committed
feat: make mqs infra provisioning configurable (#560)
* feat: mqs auto provision configuration * refactor: infra.Init * refactor: app lifecycle * docs: generate config * chore: gofmt * chore: rename env to MQS_AUTO_PROVISION * refactor: simplify ErrInfraNotFound error message
1 parent 81c4072 commit 3fc4f19

File tree

6 files changed

+414
-199
lines changed

6 files changed

+414
-199
lines changed

docs/pages/references/configuration.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ Global configurations are provided through env variables or a YAML file. ConfigM
8080
| `LOG_MAX_CONCURRENCY` | Maximum number of log writing operations to process concurrently. | `1` | No |
8181
| `MAX_DESTINATIONS_PER_TENANT` | Maximum number of destinations allowed per tenant/organization. | `20` | No |
8282
| `MAX_RETRY_LIMIT` | Maximum number of retry attempts for a single event delivery before giving up. Ignored if retry_schedule is provided. | `10` | No |
83+
| `MQS_AUTO_PROVISION` | Whether Outpost should create and manage message queue infrastructure. Set to false if you manage infrastructure externally (e.g., via Terraform). Defaults to true for backward compatibility. | `nil` | No |
8384
| `ORGANIZATION_NAME` | Name of the organization, used for display purposes and potentially in user agent strings. | `nil` | No |
8485
| `OTEL_EXPORTER` | Specifies the OTLP exporter to use for this telemetry type (e.g., 'otlp'). Typically used with environment variables like OTEL_EXPORTER_OTLP_TRACES_ENDPOINT. | `nil` | Conditional |
8586
| `OTEL_PROTOCOL` | Specifies the OTLP protocol ('grpc' or 'http') for this telemetry type. Typically used with environment variables like OTEL_EXPORTER_OTLP_TRACES_PROTOCOL. | `nil` | Conditional |
@@ -296,6 +297,9 @@ mqs:
296297
secret_access_key: ""
297298

298299

300+
# Whether Outpost should create and manage message queue infrastructure. Set to false if you manage infrastructure externally (e.g., via Terraform). Defaults to true for backward compatibility.
301+
auto_provision: # <*bool>
302+
299303
# Configuration for using Azure Service Bus as the message queue. Only one MQ provider should be configured.
300304
azure_servicebus:
301305
# Service principal client ID

0 commit comments

Comments
 (0)