aws / aws-proton-public-roadmap

This is the public roadmap for AWS Proton
https://aws.amazon.com/proton
Other
198 stars 13 forks source link

[BUG] Service instance update fails if a template version is deleted #79

Open davidebonavita opened 8 months ago

davidebonavita commented 8 months ago

I have a Service Template whose last version is 5.28. The latest version of the previous major release is currently 4.23. The releases from 4.24 up to 4.28 were deleted as they were not needed anymore.

image

I want to update a Service Instance, currently on version 4.9, to the latest version.

Update to latest major version I'm able to fill the service instance input fields, but clicking on the Update button I get a 400 Bad Request Request:

{
    "clientToken": "REDACTED",
    "deploymentType": "MAJOR_VERSION",
    "name": "checkout",
    "serviceName": "REDACTED",
    "spec": "REDACTED",
    "templateMajorVersion": "5",
    "templateMinorVersion": "28"
}

Response:

{
    "__type": "com.amazonaws.proton.v20200720#ResourceNotFoundException",
    "message": "The requested service template version does not exist: arn:aws:proton:us-east-1:REDACTED:service-template/load-balanced-fargate-svc:4.28"
}

Update to latest minor version Clicking on the "Next" button after the Service instance summary I get an empty page instead of the input fields and a 400 Bad Request Request:

{
    "majorVersion": "4",
    "minorVersion": "28",
    "templateName": "load-balanced-fargate-svc"
}

Response:

{
    "__type": "com.amazonaws.proton.v20200720#ResourceNotFoundException",
    "message": "Template version arn:aws:proton:us-east-1:REDACTED:service-template/load-balanced-fargate-svc:4.28 could not be found"
}