Trying to understand this: I'm trying to get all s...
# general
d
Trying to understand this: I'm trying to get all subnet Ids given a VPC id like this:
Copy code
const subnetIds = pulumi.output(aws.ec2.getSubnetIds({
  vpcId: vpcId,
}));
I thought you could get
subnetIds.ids
directly but doesn't seem to be working..What am I doing wrong ?
Resolved it..I can get it directly but when I do a console.log of the subnetIds.ids it does not actually print it