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
I'm preparing changes and deploying them across dev/stage/prod.
I already deploy dev and staging, to be safe I want to do a diff against prod before deployment.
However, the diff will show outdated output (from the stage deployment) rather than production
sls diff --stage prod --region us-east-1
ApiGatewayRestApi: { Properties: { - Name: "App1 (Serverless prod)" + Name: "App1 (Serverless stage)" } } } Outputs: { ApiGatewayRestApiId: { Export: { - Name: "app1-gateway-prod-ExtApiGatewayRestApiId" + Name: "app1-gateway-stage-ExtApiGatewayRestApiId" } } ApiGatewayRestApiRootResourceId: { Export: { - Name: "app1-gateway-prod-ExtApiGatewayRestApiRootResourceId" + Name: "app1-gateway-stage-ExtApiGatewayRestApiRootResourceId" } } } }
(these changes are not expected, I'm deploying stage: prod, and the name should stay the same)
Related to #14 I guess
I'd suggest
deploy --noDeploy
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm preparing changes and deploying them across dev/stage/prod.
I already deploy dev and staging, to be safe I want to do a diff against prod before deployment.
However, the diff will show outdated output (from the stage deployment) rather than production
sls diff --stage prod --region us-east-1
(these changes are not expected, I'm deploying stage: prod, and the name should stay the same)
Related to #14 I guess
I'd suggest
deploy --noDeploy
prior to the diff command, solves the issue, by updating the local cloudformation template), and/orThe text was updated successfully, but these errors were encountered: