Skip to content

Upgrade AWS Batch compute environment#64

Open
victorlin wants to merge 2 commits into
mainfrom
victorlin/upgrade-aws-batch
Open

Upgrade AWS Batch compute environment#64
victorlin wants to merge 2 commits into
mainfrom
victorlin/upgrade-aws-batch

Conversation

@victorlin
Copy link
Copy Markdown
Member

@victorlin victorlin commented May 8, 2026

This PR imports the actively used job queue and its compute environment into Terraform, and creates a new compute environment to address deprecation of the old environment.

Closes #62

Checklist

  • Checks pass
  • Update changelog
  • Post-merge: terraform apply plan, check AWS console, create separate PR to remove the old environment

@victorlin victorlin self-assigned this May 8, 2026
@victorlin victorlin force-pushed the victorlin/upgrade-aws-provider branch from 7d3b485 to 5e31941 Compare May 11, 2026 23:45
Base automatically changed from victorlin/upgrade-aws-provider to main May 12, 2026 17:03
victorlin added 2 commits May 12, 2026 10:09
Import the actively used job queue and its compute environment into
Terraform.

The new plan says "2 to import", consistent with the changes.
The old compute environment is using the deprecated Amazon Linux 2.

The new plan says "1 to add, 1 to change", consistent with the changes.
@victorlin victorlin force-pushed the victorlin/upgrade-aws-batch branch from 9fccd46 to 05f1aa7 Compare May 12, 2026 17:18
@victorlin victorlin marked this pull request as ready for review May 12, 2026 17:21
compute_environment_order {
order = 1
compute_environment = aws_batch_compute_environment.c5_instances_2023_01_17.arn
compute_environment = aws_batch_compute_environment.c5_instances_2026_05_12.arn
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are there changes we need to be wary of from AL2 to AL2023? Is this a relative safe upgrade or should we create a new job queue to test run first before switching the default job queue to the new compute environment?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Review AWS Batch resources

2 participants