This message was deleted.
# typescript
s
This message was deleted.
l
You're missing the mandatory args argument, and optionally the opts argument.
That example is missing them too.
I smell a PR coming...
The constructor's formal parameters are:
constructor(name: string, args: VpcArgs | ExistingVpcArgs | ExistingVpcIdArgs, opts?: pulumi.ComponentResourceOptions);
So you must have the args parameter (no
?
after
args
). It looks like you can give it an empty args parameter though: haven't tried it, since the cidrBlock argument is essential for my use cases.
r
Thank you so much - very helpful. I think they need to polish up that guide - especially that its aimed at people "Getting Started" 😞
It seemed from the guide that if you left all those blank, it would fill in some best-practice defaults or something 🤷‍♂️ Anyways, thank you so much!