sst 2.17.1 → 2.17.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/sst.mjs +4 -1
- package/stacks/deploy.js +3 -0
package/package.json
CHANGED
package/sst.mjs
CHANGED
|
@@ -3367,6 +3367,7 @@ async function deployMany(stacks) {
|
|
|
3367
3367
|
}
|
|
3368
3368
|
async function deploy(stack) {
|
|
3369
3369
|
const bus = useBus();
|
|
3370
|
+
const { cdk } = useProject().config;
|
|
3370
3371
|
Logger.debug("Deploying stack", stack.id);
|
|
3371
3372
|
const provider = await useAWSProvider();
|
|
3372
3373
|
const { Deployments: Deployments2 } = await Promise.resolve().then(() => (init_deployments(), deployments_exports));
|
|
@@ -3383,7 +3384,8 @@ async function deploy(stack) {
|
|
|
3383
3384
|
tags: stackTags,
|
|
3384
3385
|
deploymentMethod: {
|
|
3385
3386
|
method: "direct"
|
|
3386
|
-
}
|
|
3387
|
+
},
|
|
3388
|
+
toolkitStackName: cdk?.toolkitStackName
|
|
3387
3389
|
});
|
|
3388
3390
|
if (result?.noOp) {
|
|
3389
3391
|
bus.publish("stack.status", {
|
|
@@ -3501,6 +3503,7 @@ var init_deploy = __esm({
|
|
|
3501
3503
|
"src/stacks/deploy.ts"() {
|
|
3502
3504
|
"use strict";
|
|
3503
3505
|
init_bus();
|
|
3506
|
+
init_project();
|
|
3504
3507
|
init_credentials();
|
|
3505
3508
|
init_logger();
|
|
3506
3509
|
init_monitor();
|
package/stacks/deploy.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { useBus } from "../bus.js";
|
|
2
|
+
import { useProject } from "../project.js";
|
|
2
3
|
import { useAWSClient, useAWSProvider } from "../credentials.js";
|
|
3
4
|
import { Logger } from "../logger.js";
|
|
4
5
|
import { filterOutputs, isFailed, monitor, } from "./monitor.js";
|
|
@@ -72,6 +73,7 @@ export async function deployMany(stacks) {
|
|
|
72
73
|
}
|
|
73
74
|
export async function deploy(stack) {
|
|
74
75
|
const bus = useBus();
|
|
76
|
+
const { cdk } = useProject().config;
|
|
75
77
|
Logger.debug("Deploying stack", stack.id);
|
|
76
78
|
const provider = await useAWSProvider();
|
|
77
79
|
const { Deployments } = await import("../cdk/deployments.js");
|
|
@@ -89,6 +91,7 @@ export async function deploy(stack) {
|
|
|
89
91
|
deploymentMethod: {
|
|
90
92
|
method: "direct",
|
|
91
93
|
},
|
|
94
|
+
toolkitStackName: cdk?.toolkitStackName,
|
|
92
95
|
});
|
|
93
96
|
if (result?.noOp) {
|
|
94
97
|
bus.publish("stack.status", {
|