diff --git a/terraform/deploy.sh b/terraform/deploy.sh index 74cb4e6..8681784 100755 --- a/terraform/deploy.sh +++ b/terraform/deploy.sh @@ -16,7 +16,7 @@ echo $aws_tfstate cd $CALCLOUD_BUILD_DIR/ami_rotation ami_json=$(echo $(awsudo $ADMIN_ARN aws ec2 describe-images --region us-east-1 --executable-users self)) ci_ami=`python3 parse_image_json.py "${ami_json}" STSCI-AWS-Linux-2` -ecs_ami=`python3 parse_image_json.py "${ami_json}" STSCI-HST-REPRO-ECS` +ecs_ami=`python3 parse_image_json.py "${ami_json}" STSCI-ECS-AL2023` if [[ "$ci_ami" =~ ^ami-[a-z0-9]+$ ]]; then echo $ci_ami diff --git a/terraform/deploy_ami_rotate.sh b/terraform/deploy_ami_rotate.sh index 3320ef1..66cbf47 100755 --- a/terraform/deploy_ami_rotate.sh +++ b/terraform/deploy_ami_rotate.sh @@ -77,7 +77,7 @@ echo $aws_tfstate cd $CALCLOUD_BUILD_DIR/ami_rotation ami_json=$(echo $(awsudo $ADMIN_ARN aws ec2 describe-images --region us-east-1 --executable-users self)) ci_ami=`python3 parse_image_json.py "${ami_json}" STSCI-AWS-Linux-2` -ecs_ami=`python3 parse_image_json.py "${ami_json}" STSCI-HST-REPRO-ECS` +ecs_ami=`python3 parse_image_json.py "${ami_json}" STSCI-ECS-AL2023` if [[ "$ci_ami" =~ ^ami-[a-z0-9]+$ ]]; then echo $ci_ami diff --git a/terraform/deploy_ami_rotate_codebuild_script.sh b/terraform/deploy_ami_rotate_codebuild_script.sh index 3bc62ea..7685d63 100755 --- a/terraform/deploy_ami_rotate_codebuild_script.sh +++ b/terraform/deploy_ami_rotate_codebuild_script.sh @@ -78,7 +78,7 @@ echo $aws_tfstate cd $CALCLOUD_BUILD_DIR/ami_rotation ami_json=$(echo $(aws ec2 describe-images --region us-east-1 --executable-users self)) ci_ami=`python3 parse_image_json.py "${ami_json}" STSCI-AWS-Linux-2` -ecs_ami=`python3 parse_image_json.py "${ami_json}" STSCI-HST-REPRO-ECS` +ecs_ami=`python3 parse_image_json.py "${ami_json}" STSCI-ECS-AL2023` if [[ "$ci_ami" =~ ^ami-[a-z0-9]+$ ]]; then echo $ci_ami