Skip to content

Commit d05c501

Browse files
author
Olivier Andrade
committed
fix(auto-cancel): rename API Gateway deployment to force redeploy
1 parent 223dc6d commit d05c501

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

handlers/zuora-callout-apis/cfn.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,11 +256,13 @@ Resources:
256256
Properties:
257257
Description: Stage for zuora-auto-cancel-api
258258
RestApiId: !Ref ZuoraAutoCancelAPI
259-
DeploymentId: !Ref ZuoraAutoCancelAPIDeployment
259+
DeploymentId: !Ref ZuoraAutoCancelAPIDeploymentV2
260260
StageName: !Sub ${Stage}
261261
DependsOn: ZuoraAutoCancelMethod
262262

263-
ZuoraAutoCancelAPIDeployment:
263+
# Note: Rename this resource (change the suffix) to force a new API Gateway deployment
264+
# when changing the Lambda integration. CloudFormation doesn't automatically redeploy.
265+
ZuoraAutoCancelAPIDeploymentV2:
264266
Type: AWS::ApiGateway::Deployment
265267
Properties:
266268
Description: Deploys zuora-auto-cancel-api into an environment/stage

0 commit comments

Comments
 (0)