Skip to content

Commit

Permalink
Merge pull request #12 from podaac/release/0.1.3
Browse files Browse the repository at this point in the history
Release/0.1.3
  • Loading branch information
cqbanh committed Jun 17, 2024
2 parents 89a946c + 09a1328 commit 4b00116
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 22 deletions.
34 changes: 17 additions & 17 deletions terraform/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 12 additions & 3 deletions terraform/generate-batch.tf
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,10 @@ resource "aws_batch_job_queue" "aqua" {
name = "${var.prefix}-aqua"
state = "ENABLED"
priority = 10
compute_environments = [aws_batch_compute_environment.generate_aqua.arn]
compute_environment_order {
order = 1
compute_environment = aws_batch_compute_environment.generate_aqua.arn
}
scheduling_policy_arn = aws_batch_scheduling_policy.generate_aqua.arn
}

Expand Down Expand Up @@ -122,7 +125,10 @@ resource "aws_batch_job_queue" "terra" {
name = "${var.prefix}-terra"
state = "ENABLED"
priority = 10
compute_environments = [aws_batch_compute_environment.generate_terra.arn]
compute_environment_order {
order = 1
compute_environment = aws_batch_compute_environment.generate_terra.arn
}
scheduling_policy_arn = aws_batch_scheduling_policy.generate_terra.arn
}

Expand Down Expand Up @@ -178,6 +184,9 @@ resource "aws_batch_job_queue" "viirs" {
name = "${var.prefix}-viirs"
state = "ENABLED"
priority = 10
compute_environments = [aws_batch_compute_environment.generate_viirs.arn]
compute_environment_order {
order = 1
compute_environment = aws_batch_compute_environment.generate_viirs.arn
}
scheduling_policy_arn = aws_batch_scheduling_policy.generate_viirs.arn
}
1 change: 1 addition & 0 deletions terraform/generate-efs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ resource "aws_efs_file_system" "generate_efs_fs" {
creation_token = var.prefix
encrypted = true
performance_mode = "generalPurpose"
throughput_mode = "elastic"
lifecycle_policy {
transition_to_ia = "AFTER_1_DAY"
}
Expand Down
2 changes: 1 addition & 1 deletion terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 4.0"
version = "~> 5.0"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion terraform/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ variable "app_name" {
variable "app_version" {
type = string
description = "The application version number"
default = "0.1.1"
default = "0.1.3"
}

variable "aws_region" {
Expand Down

0 comments on commit 4b00116

Please sign in to comment.