Skip to content

Commit

Permalink
update lambda terraform module version
Browse files Browse the repository at this point in the history
  • Loading branch information
jshihstsci committed Sep 18, 2023
1 parent 53a76e8 commit 48bb464
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion terraform/ami-rotation.tf
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ resource "aws_launch_template" "ami_rotation" {

module "calcloud_env_amiRotation" {
source = "terraform-aws-modules/lambda/aws"
version = "~> 2.26.0"
version = "~> 6.0.0"

function_name = "calcloud-env-AmiRotation${local.environment}"
description = "spawns an ec2 bi-weekly which rotates the ami for batch"
Expand Down
2 changes: 1 addition & 1 deletion terraform/lambda_batch_events.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module "calcloud_lambda_batchEvents" {
source = "terraform-aws-modules/lambda/aws"
version = "~> 2.26.0"
version = "~> 6.0.0"

function_name = "calcloud-job-events${local.environment}"
description = "listens for Batch failure events from cloudWatch event rule"
Expand Down
2 changes: 1 addition & 1 deletion terraform/lambda_blackboard.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module "calcloud_lambda_blackboard" {
source = "terraform-aws-modules/lambda/aws"
version = "~> 2.26.0"
version = "~> 6.0.0"

function_name = "calcloud-job-blackboard${local.environment}"
description = "scrapes the Batch console for job metadata and posts to S3 bucket for on-premise poller"
Expand Down
2 changes: 1 addition & 1 deletion terraform/lambda_broadcast.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module "calcloud_lambda_broadcast" {
source = "terraform-aws-modules/lambda/aws"
version = "~> 2.26.0"
version = "~> 6.0.0"

function_name = "calcloud-broadcast${local.environment}"
description = "Broadcasts the specified message type across a list of job_ids or ippppssoots."
Expand Down
2 changes: 1 addition & 1 deletion terraform/lambda_job_clean.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module "calcloud_lambda_cleanJob" {
source = "terraform-aws-modules/lambda/aws"
version = "~> 2.26.0"
version = "~> 6.0.0"

function_name = "calcloud-job-clean${local.environment}"
description = "accepts messages from s3 event and cleans either individual jobs by dataset, or all active jobs"
Expand Down
2 changes: 1 addition & 1 deletion terraform/lambda_job_delete.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module "calcloud_lambda_deleteJob" {
source = "terraform-aws-modules/lambda/aws"
version = "~> 2.26.0"
version = "~> 6.0.0"

function_name = "calcloud-job-delete${local.environment}"
description = "accepts messages from s3 event and deletes either individual jobs by dataset, or all active jobs"
Expand Down
2 changes: 1 addition & 1 deletion terraform/lambda_job_predict.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module "lambda_function_container_image" {
source = "terraform-aws-modules/lambda/aws"
version = "~> 2.26.0"
version = "~> 6.0.0"
function_name = "calcloud-job-predict${local.environment}"
description = "pretrained neural networks for predicting job resource requirements (memory bin and max execution time)"

Expand Down
2 changes: 1 addition & 1 deletion terraform/lambda_job_rescue.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module "calcloud_lambda_rescueJob" {
source = "terraform-aws-modules/lambda/aws"
version = "~> 2.26.0"
version = "~> 6.0.0"

function_name = "calcloud-job-rescue${local.environment}"
description = "Rescues the specified dataset (must be in error state) by deleting all outputs and messages and re-placing."
Expand Down
2 changes: 1 addition & 1 deletion terraform/lambda_job_submit.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module "calcloud_lambda_submit" {
source = "terraform-aws-modules/lambda/aws"
# https://github.com/hashicorp/terraform/issues/17211
version = "~> 2.26.0"
version = "~> 6.0.0"

function_name = "calcloud-job-submit${local.environment}"
description = "looks for placed-dataset messages and submits jobs to Batch"
Expand Down
2 changes: 1 addition & 1 deletion terraform/lambda_model_ingest.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ resource "aws_dynamodb_table" "calcloud_model_db" {

module "lambda_model_ingest" {
source = "terraform-aws-modules/lambda/aws"
version = "~> 2.26.0"
version = "~> 6.0.0"

function_name = "calcloud-model-ingest${local.environment}"
lambda_role = nonsensitive(data.aws_ssm_parameter.model_ingest_role.value)
Expand Down
2 changes: 1 addition & 1 deletion terraform/lambda_refresh_cache.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module "calcloud_lambda_refresh_cache_submit" {
source = "terraform-aws-modules/lambda/aws"
version = "~> 2.26.0"
version = "~> 6.0.0"

function_name = "calcloud-fileshare-refresh_cache_submit${local.environment}"
description = "submits refresh cache operations"
Expand Down
2 changes: 1 addition & 1 deletion terraform/lambda_refresh_cache_logging.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module "calcloud_lambda_refresh_cache_logs" {
source = "terraform-aws-modules/lambda/aws"
version = "~> 2.26.0"
version = "~> 6.0.0"

function_name = "calcloud-fileshare-refresh_cache_logs${local.environment}"
description = "listens for refresh cache operations and logs them"
Expand Down

0 comments on commit 48bb464

Please sign in to comment.