We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd420c6 commit 6644699Copy full SHA for 6644699
src/modules/scf/index.js
@@ -477,7 +477,8 @@ class Scf {
477
inputs.lastVersion = FunctionVersion;
478
outputs.LastVersion = FunctionVersion;
479
}
480
- inputs.needSetTraffic = inputs.traffic !== undefined && inputs.lastVersion;
+ inputs.needSetTraffic =
481
+ inputs.traffic !== undefined && inputs.lastVersion && inputs.lastVersion !== '$LATEST';
482
if (inputs.needSetTraffic) {
483
await this.updateAliasTraffic({
484
functionName: funcInfo.FunctionName,
0 commit comments