diff --git a/terraform/deploy.sh b/terraform/deploy.sh index 8681784..5d50b6d 100755 --- a/terraform/deploy.sh +++ b/terraform/deploy.sh @@ -15,7 +15,7 @@ echo $aws_tfstate # get AMI id(s) 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` +ci_ami=`python3 parse_image_json.py "${ami_json}" STSCI-AMAZON-LINUX2023` ecs_ami=`python3 parse_image_json.py "${ami_json}" STSCI-ECS-AL2023` if [[ "$ci_ami" =~ ^ami-[a-z0-9]+$ ]]; then diff --git a/terraform/deploy_ami_rotate.sh b/terraform/deploy_ami_rotate.sh index 66cbf47..ec07fa7 100755 --- a/terraform/deploy_ami_rotate.sh +++ b/terraform/deploy_ami_rotate.sh @@ -76,7 +76,7 @@ echo $aws_tfstate # get AMI id 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` +ci_ami=`python3 parse_image_json.py "${ami_json}" STSCI-AMAZON-LINUX2023` ecs_ami=`python3 parse_image_json.py "${ami_json}" STSCI-ECS-AL2023` if [[ "$ci_ami" =~ ^ami-[a-z0-9]+$ ]]; then diff --git a/terraform/deploy_ami_rotate_codebuild_script.sh b/terraform/deploy_ami_rotate_codebuild_script.sh index 7685d63..56c5760 100755 --- a/terraform/deploy_ami_rotate_codebuild_script.sh +++ b/terraform/deploy_ami_rotate_codebuild_script.sh @@ -77,7 +77,7 @@ echo $aws_tfstate # get AMI id 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` +ci_ami=`python3 parse_image_json.py "${ami_json}" STSCI-AMAZON-LINUX2023` ecs_ami=`python3 parse_image_json.py "${ami_json}" STSCI-ECS-AL2023` if [[ "$ci_ami" =~ ^ami-[a-z0-9]+$ ]]; then