Skip to content

Commit

Permalink
Update lambda modules (#1527)
Browse files Browse the repository at this point in the history
  • Loading branch information
jzbahrai committed Sep 12, 2024
1 parent 46cb997 commit d8a2857
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions aws/eks/iam.tf
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ data "aws_iam_policy" "ssm_managed_instance" {

module "iam_assumable_role_karpenter" {
source = "terraform-aws-modules/iam/aws//modules/iam-assumable-role-with-oidc"
version = "5.28.0"
version = "5.44.0"
create_role = true
role_name = "karpenter-controller-eks"
provider_url = data.aws_eks_cluster.notify_cluster.identity[0].oidc[0].issuer
Expand Down Expand Up @@ -492,4 +492,4 @@ resource "aws_iam_role_policy_attachment" "xray_daemon_policy_attachment" {
resource "aws_iam_instance_profile" "xray_daemon_instance_profile" {
name = "xray-daemon-instance-profile"
role = aws_iam_role.xray_daemon_role.name
}
}
2 changes: 1 addition & 1 deletion aws/eks/sentinel.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ locals {
# see https://github.com/cds-snc/terraform-modules/issues/203
# and https://docs.google.com/document/d/16LLelZ7WEKrnbocrl0Az74JqkCv5DBZ9QILRBUFJQt8/edit#heading=h.z87ipkd84djw
module "sentinel_forwarder" {
source = "github.com/cds-snc/terraform-modules//sentinel_forwarder?ref=v9.4.2"
source = "github.com/cds-snc/terraform-modules//sentinel_forwarder?ref=v9.6.4"
function_name = "sentinel-cloud-watch-forwarder"
billing_tag_value = "notification-canada-ca-${var.env}"

Expand Down
2 changes: 1 addition & 1 deletion aws/eks/vpn.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# access to the private subnets.
#
module "vpn" {
source = "github.com/cds-snc/terraform-modules//client_vpn?ref=v9.5.3"
source = "github.com/cds-snc/terraform-modules//client_vpn?ref=v9.6.4"

endpoint_name = "private-subnets"
access_group_id = var.client_vpn_access_group_id
Expand Down
2 changes: 1 addition & 1 deletion aws/heartbeat/lambda.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ locals {
}

module "heartbeat" {
source = "github.com/cds-snc/terraform-modules//lambda?ref=v9.0.4"
source = "github.com/cds-snc/terraform-modules//lambda?ref=v9.6.4"
name = "heartbeat"
billing_tag_value = var.billing_tag_value
ecr_arn = var.heartbeat_ecr_arn
Expand Down
2 changes: 1 addition & 1 deletion aws/pinpoint_to_sqs_sms_callbacks/lambda.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module "pinpoint_to_sqs_sms_callbacks" {
source = "github.com/cds-snc/terraform-modules//lambda?ref=v7.3.3"
source = "github.com/cds-snc/terraform-modules//lambda?ref=v7.4.3"
name = "pinpoint_to_sqs_sms_callbacks"
billing_tag_value = var.billing_tag_value
ecr_arn = var.pinpoint_to_sqs_sms_callbacks_ecr_arn
Expand Down
2 changes: 1 addition & 1 deletion aws/ses_receiving_emails/lambda.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module "ses_receiving_emails" {
aws = aws.us-east-1
}

source = "github.com/cds-snc/terraform-modules//lambda?ref=v7.3.3"
source = "github.com/cds-snc/terraform-modules//lambda?ref=v7.4.3"
name = "ses_receiving_emails"
billing_tag_value = var.billing_tag_value
ecr_arn = var.ses_receiving_emails_ecr_arn
Expand Down
2 changes: 1 addition & 1 deletion aws/sns_to_sqs_sms_callbacks/lambda.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module "sns_to_sqs_sms_callbacks" {
source = "github.com/cds-snc/terraform-modules//lambda?ref=v7.3.3"
source = "github.com/cds-snc/terraform-modules//lambda?ref=v7.4.3"
name = "sns_to_sqs_sms_callbacks"
billing_tag_value = var.billing_tag_value
ecr_arn = var.sns_to_sqs_sms_callbacks_ecr_arn
Expand Down
2 changes: 1 addition & 1 deletion aws/system_status/lambda.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ locals {
}

module "system_status" {
source = "github.com/cds-snc/terraform-modules//lambda?ref=v9.0.4"
source = "github.com/cds-snc/terraform-modules//lambda?ref=v9.6.4"
name = "system_status"
billing_tag_value = var.billing_tag_value
ecr_arn = var.system_status_ecr_arn
Expand Down
4 changes: 2 additions & 2 deletions aws/system_status_static_site/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ variable "billing_tag_value" {
}

module "system_status_static_site" {
source = "github.com/cds-snc/terraform-modules//simple_static_website?ref=v9.5.3"
source = "github.com/cds-snc/terraform-modules//simple_static_website?ref=v9.6.4"

domain_name_source = var.env == "production" ? "status.notification.canada.ca" : "status.${var.env}.notification.cdssandbox.xyz"
billing_tag_value = var.billing_tag_value
Expand All @@ -19,4 +19,4 @@ module "system_status_static_site" {
aws.us-east-1 = aws.us-east-1
aws.dns = aws.dns
}
}
}

0 comments on commit d8a2857

Please sign in to comment.