https://pulumi.com logo
#general
Title
# general
b

brash-plastic-65797

10/24/2019, 9:15 PM
Is it convention to export the VPC object when you have a multi-stack Pulumi setup? Or will that pretty much cause everything inside the VPC to be exported?
b

broad-dog-22463

10/24/2019, 9:15 PM
It will export the entire object
b

brash-plastic-65797

10/24/2019, 9:16 PM
so doing something like… “export const vpc = new awsx.ec2.Vpc(…);” could cause a very large export?
b

broad-dog-22463

10/24/2019, 9:16 PM
Not huge
b

brash-plastic-65797

10/24/2019, 9:17 PM
say you create a database, and the database is within the VPC, will the database object also be exported too since the VPC is?
b

broad-dog-22463

10/24/2019, 9:17 PM
No
that won't
b

brash-plastic-65797

10/24/2019, 9:23 PM
ok thanks, just trying to do some debugging for https://github.com/pulumi/pulumi/issues/3279
b

broad-dog-22463

10/24/2019, 9:24 PM
👍