if I create a `new aws.resource.Thing()` but don’t...
# getting-started
i
if I create a
new aws.resource.Thing()
but don’t use it anywhere else, does it still get created? I’m wondering if I need to comment out the
new
call, or if I can just comment out the place where it’s used (lambda layer)
m
The
new
call declares it, yes. When you run
pulumi up
, the new call will result in the resource being created. If you comment it and run
pulumi up
, that particular resource will be destroyed.
🙌 1
i
Thanks 🙂
👍 1