Skip to content

Commit

Permalink
Change the image tag to use latest (#1083)
Browse files Browse the repository at this point in the history
* Change the image tag to use latest

* fix tag
  • Loading branch information
jzbahrai authored Jan 2, 2024
1 parent b5180f1 commit e0be368
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion aws/system_status/lambda.tf
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
locals {
image_tag = var.env == "production" ? var.system_status_docker_tag : "latest"
}

module "system_status" {
source = "github.com/cds-snc/terraform-modules//lambda?ref=v0.0.49"
name = "system_status"
billing_tag_value = var.billing_tag_value
ecr_arn = var.system_status_ecr_arn
enable_lambda_insights = true
image_uri = "${var.system_status_ecr_repository_url}:${var.system_status_docker_tag}"
image_uri = "${var.system_status_ecr_repository_url}:${local.image_tag}"
timeout = 60
memory = 1024
policies = [data.aws_iam_policy_document.system_status_s3_permissions.json]
Expand Down

0 comments on commit e0be368

Please sign in to comment.