Skip to content

feat: pass mqtt_broker_type to infra module for IoT Core support#35

Merged
peterdeme merged 1 commit intomainfrom
pass-broker-type-to-iot-core
Mar 26, 2026
Merged

feat: pass mqtt_broker_type to infra module for IoT Core support#35
peterdeme merged 1 commit intomainfrom
pass-broker-type-to-iot-core

Conversation

@peterdeme
Copy link
Copy Markdown
Collaborator

@peterdeme peterdeme commented Mar 25, 2026

When mqtt_broker_type is set to "iotcore", the terraform-aws-spacelift-selfhosted submodule now creates the aws_iot_topic_rule and associated IAM resources needed to route MQTT messages from spacelift/writeonly/# to the SQS queue. Without this, worker messages (heartbeats, worker_ready, run_complete) never reach the drain and runs get stuck after job assignment.

@peterdeme peterdeme marked this pull request as ready for review March 25, 2026 19:41
@peterdeme peterdeme requested a review from a team as a code owner March 25, 2026 19:41
@peterdeme peterdeme force-pushed the pass-broker-type-to-iot-core branch from bf47ddb to d0079e8 Compare March 25, 2026 19:56
When mqtt_broker_type is set to "iotcore", the infra module now creates
the aws_iot_topic_rule and associated IAM resources needed to route MQTT
messages from spacelift/writeonly/# to the SQS queue. Without this,
worker messages (heartbeats, worker_ready, run_complete) never reach
the drain and runs get stuck after job assignment.

Also bumps the infra module to v2.2.0 which includes the IoT Core
topic rule support in its SQS submodule.
@peterdeme peterdeme force-pushed the pass-broker-type-to-iot-core branch from d0079e8 to 2f765f5 Compare March 25, 2026 20:02
@peterdeme peterdeme merged commit f4c7d70 into main Mar 26, 2026
4 checks passed
@peterdeme peterdeme deleted the pass-broker-type-to-iot-core branch March 26, 2026 08:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants