Skip to content

Commit

Permalink
Add worker container to control plane task deployment (#91)
Browse files Browse the repository at this point in the history
* Add worker container to control plane task deployment

* changeset

* Split worker into its own ecs task

* fix outputs

* shift worker back into the control plane module to allow for shared task role

* use a dedicated log group for the worker

---------

Co-authored-by: chrnorm <[email protected]>
  • Loading branch information
JoshuaWilkes and chrnorm authored Mar 12, 2024
1 parent 92cbb80 commit 89f9d84
Show file tree
Hide file tree
Showing 4 changed files with 355 additions and 221 deletions.
5 changes: 5 additions & 0 deletions .changeset/big-apes-search.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@common-fate/terraform-aws-common-fate-deployment": minor
---

Add an additional worker container to the controlplane task which runs background tasks.
2 changes: 2 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@ module "control_plane" {
assume_role_external_id = var.assume_role_external_id
}



module "report_bucket" {
source = "./modules/s3bucket"
bucket_prefix = "${var.namespace}-${var.stage}-reports"
Expand Down
Loading

0 comments on commit 89f9d84

Please sign in to comment.