Skip to content

Commit f5e16cd

Browse files
author
Danny Burke
committed
Bump module version to fix variable validation
1 parent 5435113 commit f5e16cd

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

terraform/ecs.tf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ module "backend" {
3939
# checkov:skip=CKV_SECRET_4:Skip secret check as these have to be used within the Github Action
4040
# checkov:skip=CKV_TF_1: We're using semantic versions instead of commit hash
4141
#source = "../../i-dot-ai-core-terraform-modules//modules/ecs" # For testing local changes
42-
source = "git::https://github.com/i-dot-ai/i-dot-ai-core-terraform-modules.git//modules/infrastructure/ecs?ref=v7.0.0-ecs"
42+
source = "git::https://github.com/i-dot-ai/i-dot-ai-core-terraform-modules.git//modules/infrastructure/ecs?ref=v7.0.1-ecs"
4343
image_tag = var.image_tag
4444
ecr_repository_uri = "${data.aws_caller_identity.current.account_id}.dkr.ecr.${var.region}.amazonaws.com/minute-backend"
4545
vpc_id = data.terraform_remote_state.vpc.outputs.vpc_id
@@ -97,7 +97,7 @@ module "frontend" {
9797
# checkov:skip=CKV_SECRET_4:Skip secret check as these have to be used within the Github Action
9898
name = "${local.name}-frontend"
9999
# source = "../../i-dot-ai-core-terraform-modules//modules/infrastructure/ecs" # For testing local changes
100-
source = "git::https://github.com/i-dot-ai/i-dot-ai-core-terraform-modules.git//modules/infrastructure/ecs?ref=v7.0.0-ecs"
100+
source = "git::https://github.com/i-dot-ai/i-dot-ai-core-terraform-modules.git//modules/infrastructure/ecs?ref=v7.0.1-ecs"
101101
image_tag = var.image_tag
102102
ecr_repository_uri = "${data.aws_caller_identity.current.account_id}.dkr.ecr.${var.region}.amazonaws.com/minute-frontend"
103103
vpc_id = data.terraform_remote_state.vpc.outputs.vpc_id
@@ -151,15 +151,15 @@ module "frontend" {
151151
client_secret : aws_ssm_parameter.oidc_secrets["client_secret"].value,
152152
}
153153

154-
user_session_timeout = 86400 # 7 days in seconds
154+
user_session_timeout = 604800 # 7 days in seconds
155155
}
156156

157157
module "worker" {
158158
name = "${local.name}-worker"
159159

160160
# checkov:skip=CKV_SECRET_4:Skip secret check as these have to be used within the Github Action
161161
# checkov:skip=CKV_TF_1: We're using semantic versions instead of commit hash
162-
source = "git::https://github.com/i-dot-ai/i-dot-ai-core-terraform-modules.git//modules/infrastructure/ecs?ref=v7.0.0-ecs"
162+
source = "git::https://github.com/i-dot-ai/i-dot-ai-core-terraform-modules.git//modules/infrastructure/ecs?ref=v7.0.1-ecs"
163163
desired_app_count = terraform.workspace == "prod" ? 2 : 1
164164
image_tag = var.image_tag
165165
ecr_repository_uri = "${data.aws_caller_identity.current.account_id}.dkr.ecr.${var.region}.amazonaws.com/minute-worker"

0 commit comments

Comments
 (0)