Skip to content

Commit

Permalink
fix: Remove the GuStackParameter construct
Browse files Browse the repository at this point in the history
A CFN parameter for the stack name is not necessary when defining a stack with GuCDK.

Indeed since #243, `GuStack` takes a mandatory string for `stack` in it's constructor.
Due to the changes in #243, it follows that `GuStackParameter` is never used and is dead code.
  • Loading branch information
akash1810 committed Jun 29, 2021
1 parent 2e19a94 commit a0cb2c7
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/constructs/core/parameters/identity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,3 @@ export class GuStageParameter extends GuStringParameter {
});
}
}

export class GuStackParameter extends GuStringParameter {
constructor(scope: GuStack) {
super(scope, "Stack", {
description: "Name of this stack",
default: "deploy",
});
}
}

0 comments on commit a0cb2c7

Please sign in to comment.