Upgrade
Overview
Upwind publishes new versions of the aws-ecs-runtime module with bug fixes, security enhancements, and new components. To see what changed in each version, read the release notes.
Upgrade the module
-
Go to the directory of your Terraform project.
cd /path/to/my-terraform-project -
Find the module block that uses
aws-ecs-runtimeand change the version in thesourceURL. The current version is1.5.1.module "upwind_ecs_runtime" {
source = "https://get.upwind.io/terraform/modules/aws-ecs-runtime/aws-ecs-runtime-[OLD].tar.gz"
source = "https://get.upwind.io/terraform/modules/aws-ecs-runtime/aws-ecs-runtime-[NEW].tar.gz"
}If you use the
iamsubmodule for pre-created IAM roles, change the version in itssourceURL too. Use the same version for both. -
Download the new module version.
terraform init -upgrade -
Review the planned changes.
terraform plan -
Apply the changes.
terraform apply
Terraform updates the cluster manager, the sensor, and the other module resources in place. ECS replaces the running tasks with the new versions.
Test connectivity
Run the checks in Test connectivity to confirm the cluster manager is healthy.
Troubleshooting
If the upgrade fails or tasks do not start, see Troubleshooting.