1 個回答
- 最新
- 最多得票
- 最多評論
-1
The reason that a deployment doesn't happen is because the Deployment in the template hasn't changed. CloudFormation changes resources based on modifications to the template and because the AWS::ApiGateway::Deployment
isn't updated it doesn't trigger a new deployment is triggered in APi Gateway.
You can create a new deployment or you might try updating the Description
or StageDescription
- I haven't tried those last two but changing them might work.
相關內容
- AWS 官方已更新 2 年前
- AWS 官方已更新 10 個月前
- AWS 官方已更新 9 個月前
Tried everything but not working.
Did creating a new deployment in CloudFormation not work as well?
That's very unusable, since that requires editing the template for each deployment. Very bad, if you are deploying your API GW per CI/CD, as would be recommended.