Skip to content

Commit

Permalink
tf: update var name to container_secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
digorgonzola committed Dec 20, 2023
1 parent 069e76d commit 2f3e648
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion deploy/tf/service.tf
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ locals {
sourceVolume = "static"
}
]
secrets = var.secrets
secrets = var.container_secrets
}
}
nginx_container_definition = {
Expand Down
18 changes: 9 additions & 9 deletions deploy/tf/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,15 @@ variable "app_port" {
default = 9000
}

variable "container_secrets" {
description = "Map of environment variables and secrets to retrieve values from."
type = list(object({
name = string
valueFrom = string
}))
default = null
}

variable "cpu" {
description = "The CPU capacity to allocate to the task."
type = number
Expand Down Expand Up @@ -59,15 +68,6 @@ variable "proxy_port" {
default = 80
}

variable "secrets" {
description = "Map of environment variables and secrets to retrieve values from."
type = list(object({
name = string
valueFrom = string
}))
default = null
}

# general variables
variable "app_hostnames" {
description = "Hostnames to associate with the application"
Expand Down

0 comments on commit 2f3e648

Please sign in to comment.