I have tried this, but not work ``` const example1...
# general
b
I have tried this, but not work
Copy code
const example1 = new aws.ec2.VpcEndpointSubnetAssociation("example", {
        subnetId: pulumi.output(vpc.publicSubnetIds)[0].apply(x => x.toString()),
        vpcEndpointId: vpcEndpoint.id,
    });