Skip to content

Commit de146dd

Browse files
committed
Disable replica retries for notifications jobs
We don't want replica containers retrying on command failure.
1 parent d091bd5 commit de146dd

File tree

1 file changed

+2
-1
lines changed
  • infrastructure/modules/container-apps

1 file changed

+2
-1
lines changed

infrastructure/modules/container-apps/jobs.tf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,8 @@ module "scheduled_jobs" {
111111
"python manage.py ${each.value.job_container_args}"
112112
]
113113

114-
docker_image = var.docker_image
114+
docker_image = var.docker_image
115+
replica_retry_limit = 0
115116
user_assigned_identity_ids = flatten([
116117
[module.azure_blob_storage_identity.id],
117118
[module.azure_queue_storage_identity.id],

0 commit comments

Comments
 (0)