We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi there,
I just found that the retainDeployments in the API CDK construct doesn't work.
retainDeployments
The stack for a demo is below:
import { ApiGatewayV1Api } from 'sst/constructs' const api = new ApiGatewayV1Api(stack, 'Api', { cdk: { restApi: { restApiName: 'demo-api', description: 'Demo API', retainDeployments: true, }, }, }) api.addRoutes(stack, { ... })
Then jump to the AWS console, I can see only one deployment is there, no matter how many new deployments/changes have been made.
Can someone please look into it? Keeping the old deployment resources is extremely important for the production environment.
Thanks,
The text was updated successfully, but these errors were encountered:
Where did you find the retainDeployments prop btw? Can I see a link to it?
Sorry, something went wrong.
https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_apigateway.RestApiProps.html#retaindeployments
Ah I see. Let me ask the team to take a look.
No branches or pull requests
Hi there,
I just found that the
retainDeployments
in the API CDK construct doesn't work.The stack for a demo is below:
Then jump to the AWS console, I can see only one deployment is there, no matter how many new deployments/changes have been made.
Can someone please look into it? Keeping the old deployment resources is extremely important for the production environment.
Thanks,
The text was updated successfully, but these errors were encountered: