Skip to content

Commit

Permalink
Fix init templates
Browse files Browse the repository at this point in the history
  • Loading branch information
ericzbeard committed Oct 26, 2020
1 parent 0deff7e commit 656ba50
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

class %name.PascalCased%Stack(core.Stack):

def __init__(self, scope: core.Construct, construct_id: str, **kwargs) -> None:
super().__init__(scope, construct_id, **kwargs)
def __init__(self, scope: core.Construct, id: str, **kwargs) -> None:
super().__init__(scope, id, **kwargs)

# The code that defines your stack goes here
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@

class %name.PascalCased%Stack(core.Stack):

def __init__(self, scope: core.Construct, construct_id: str, **kwargs) -> None:
super().__init__(scope, construct_id, **kwargs)
def __init__(self, scope: core.Construct, id: str, **kwargs) -> None:
super().__init__(scope, id, **kwargs)

queue = sqs.Queue(
self, "%name.PascalCased%Queue",
Expand Down

0 comments on commit 656ba50

Please sign in to comment.