Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/stackset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -658,6 +658,10 @@ export class StackSet extends Resource implements IStackSet {
stackInstancesGroup: Lazy.any({ produce: () => { return this.stackInstances; } }),
});

if (this._role) {
stackSet.node.addDependency(this._role);
}

// the file asset bucket deployment needs to complete before the stackset can deploy
for (const fileAssetResourceName of fileAssetResourceNames) {
const fileAssetResource = scope.node.tryFindChild(fileAssetResourceName);
Expand Down