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

tall-monitor-77779

10/23/2018, 4:38 PM
I’m trying to do something like this:
Copy code
let service = new cloud.Service(name, {
    containers: {
        nginx: {
            image: "nginx",
            memory: 2048,
            ports: [
                { port: 80 },

            ],
        },
    },
    replicas: 1
});

let disco = new aws.servicediscovery.PrivateDnsNamespace("test", {
     description: "test",
     name: "test",
     vpc: service.cluster.network.vpcId.apply(v => v);
})