3 Risposte
- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
0
Hi
Thank you for you answer!
So I modified my 'AWS::ApiGateway::Deployment' to this:
ApiDeployment:
Type: AWS::ApiGateway::Deployment
Properties:
RestApiId: !Ref Api
StageName: prod
But now during the update I get this error when CloudFormation tries to update the Deployment:
Resource handler returned message: "null" (RequestToken: <TOKEN>, HandlerErrorCode: InternalFailure)
As it was not too descriptive I tried to recreate the whole stack, there I got this more verbose error message when it tries to create the Deployment:
Resource handler returned message: "Stage already exists (Service: ApiGateway, Status Code: 409, Request ID: <REQUEST_ID>, Extended Request ID: null)" (RequestToken: <TOKEN>, HandlerErrorCode: AlreadyExists)
I tried to remove the 'StageName: prod' from the AWS::ApiGateway::Stage definition, but the simple update was failing that way too, so I recreated the whole stack again. This resulted that now I have two stages (I kinda expected that) but on update none of the two will be updated with the new enpoint
con risposta 2 anni fa
0
Do anyone has any idea how to solve this?
Or maybe this is something that is not supported by the API Gateway?
con risposta 2 anni fa
Contenuto pertinente
- AWS UFFICIALEAggiornata 2 anni fa
- AWS UFFICIALEAggiornata 3 anni fa