Skip to content

Commit

Permalink
Merge pull request #53 from wellcomecollection/rk_add-entrypoint
Browse files Browse the repository at this point in the history
Make entrypoint configurable in container definition
  • Loading branch information
kenoir authored Oct 11, 2024
2 parents 99104aa + 90da9e3 commit fac7516
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
RELEASE_TYPE: minor

Allow entrypoint to be configurable, this enables more flexibility downstream in container usage.
2 changes: 2 additions & 0 deletions modules/container_definition/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ locals {
image = var.image
command = var.command

entrypoint = var.entrypoint

cpu = var.cpu
memory = var.memory

Expand Down
5 changes: 5 additions & 0 deletions modules/container_definition/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,11 @@ variable "memory" {
default = null
}

variable "entrypoint" {
type = list(string)
default = null
}

variable "memory_reservation" {
type = number
default = null
Expand Down

0 comments on commit fac7516

Please sign in to comment.