https://pulumi.com logo
b

bulky-insurance-47809

04/08/2022, 7:23 PM
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,
    });