Skip to content

Commit

Permalink
Set ASP.NET Core runtime environment (#251)
Browse files Browse the repository at this point in the history
  • Loading branch information
bidetzz authored and henrykie committed Sep 23, 2024
1 parent 4e05743 commit f42983c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions modules/unreal/horde/ecs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@ resource "aws_ecs_task_definition" "unreal_horde_task_definition" {
name = "Horde__adminClaimValue"
value = var.admin_claim_value
},
{
name = "ASPNETCORE_ENVIRONMENT"
value = var.environment
}
]
logConfiguration = {
logDriver = "awslogs"
Expand Down
4 changes: 2 additions & 2 deletions modules/unreal/horde/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ variable "project_prefix" {

variable "environment" {
type = string
description = "The current environment (e.g. dev, prod, etc.)"
default = "dev"
description = "The current environment (e.g. Development, Staging, Production, etc.). This will tag ressources and set ASPNETCORE_ENVIRONMENT variable."
default = "Development"
}

variable "tags" {
Expand Down

0 comments on commit f42983c

Please sign in to comment.